Hi all, I'm experiencing a frustrating issue where...
# help
k
Hi all, I'm experiencing a frustrating issue where my local supabase (started with
supbase start
) has really bad latency (order of 20s per request) when my VPN is on. Everything is normal with the VPN off. See for example the following log entries from
kong
where the last one took place with the VPN off. You'll see the 20s delay between the OPTIONS and POST requests. Any ideas?
Copy code
172.18.0.1 - - [07/May/2022:12:50:27 +0000] "OPTIONS /auth/v1/otp HTTP/1.1" 200 0 "http://localhost:3000/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36"
172.18.0.1 - - [07/May/2022:12:50:47 +0000] "POST /auth/v1/otp HTTP/1.1" 200 2 "http://localhost:3000/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36"
172.18.0.1 - - [07/May/2022:13:00:28 +0000] "OPTIONS /auth/v1/otp HTTP/1.1" 200 0 "http://localhost:3000/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36"
172.18.0.1 - - [07/May/2022:13:00:48 +0000] "POST /auth/v1/otp HTTP/1.1" 200 2 "http://localhost:3000/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36"
172.18.0.1 - - [07/May/2022:14:35:52 +0000] "OPTIONS /auth/v1/otp HTTP/1.1" 200 0 "http://localhost:3000/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36"
172.18.0.1 - - [07/May/2022:14:35:52 +0000] "POST /auth/v1/otp HTTP/1.1" 200 2 "http://localhost:3000/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36"
n
Hello @kaaloo! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
g
https://github.com/supabase/cli/issues/14 https://github.com/Kong/kong/issues/3058 Probably something in those. Sounds like with a VPN the "start up" issues occurs on every request.
n
kaaloo (2022-05-07)
k
Thanks @garyaustin ! I'll see if any of that helps. Indeed it happens with every request, not just the auth one I posted. 😢