Tons of connection issues

Getting random connection issues when working with the CLI, mostly happens when pulling the db. Retry (3/8): failed to connect as temp role: failed to connect to host=XXXXXXXXXXXXXXXXXXXX=cli_login_postgres.XXXXXXXXXXXXXXXX database=postgres: dial error (dial tcp 3.97.240.24:6543: connect: connection refused) what is going on?
28 Replies
silentworks
silentworks4w ago
We have no other reports of this on here or on GitHub. Have you tried using a VPN to see if it's an ISP connection issue.
Åskkuken
ÅskkukenOP4w ago
im not the only one reporting this: https://www.answeroverflow.com/m/1415406324350713957
lots of connection issues lately - Supabase
failed to connect as temp role: failed to connect to host=aws-1-us-east-2.pooler.supabase.com user=cli_login_postgres.XXXXXXXX database=postgres: dial error (dial tcp 3.131.201.192:6543: connect: connection refused) it is intermittent. it stops working randomly then starts again when I am doing supabase db push commands from CLI
silentworks
silentworks4w ago
Yes but it's random for a few users. You should try using a VPN to see if it's an ISP issue. This will help to isolate the problem.
garyaustin
garyaustin4w ago
Note that one was from 2 weeks ago.
silentworks
silentworks4w ago
The user on that one also didn't get back to me on if the VPN helped or not.
garyaustin
garyaustin4w ago
Also what region is your instance in?
Åskkuken
ÅskkukenOP4w ago
ca-central was in the middle of a db pull, then "aws-1-ca-central-1.pooler.supabase.com" (3.98.197.182), port 5432 failed: SSL connection has been closed unexpectedly now failed to connect, again: dial error (dial tcp 3.98.197.182:6543: connect: connection refused) started working again with no issue for about 10 mins, now getting connection refused, again
garyaustin
garyaustin4w ago
Do you have a support request in?
Åskkuken
ÅskkukenOP4w ago
i do not
garyaustin
garyaustin4w ago
You should. This is a user helping user site mainly. Still no other similar reports. Did you ever try a VPN?
davecancode
davecancode4w ago
@Åskkuken I'm getting a "failed to connect to postgres" error from the cli using supabase db push - worked about 15 mins ago for a different migration. Not sure if intermittent or a bigger issue. Don't see anything related (I think) on status.supabase.com currently. 🙁
Åskkuken
ÅskkukenOP4w ago
okay so its not just me
garyaustin
garyaustin4w ago
What region is your instance? It only makes it to status if enough users report the issue to support or the infra teams gets internal alerts.
davecancode
davecancode4w ago
aws-0-us-east-1.pooler.supabase.com for me.
garyaustin
garyaustin4w ago
@Åskkuken are you using the pooler or direct port? Also if you both check the status of your projects on the home page upper right is all green? My us-east-1 pooler connection is working for a 3rd party DB tool I use. BUT if there was a mass outage we would be flooded with reports. After you have support tickets in you should post your tickets here in case this can be bumped with more info or similar cases. Are either of you Pro?
Åskkuken
ÅskkukenOP4w ago
i am ok now db commands work again lol
garyaustin
garyaustin4w ago
Check your usage (setting page) and see if any high CPU, Memory, Disk I/O. Disk I/O is known to be a throttling type situation where it can burst for awhile before slowing back down. But then you are not getting timouts...
davecancode
davecancode4w ago
@garyaustin project is green, support ticket filed, Pro account. usage looks fine. application on top of db is working so that's good. will try again in an hour to see if it resolves. thanks.
garyaustin
garyaustin4w ago
Drop your ticket # here in case this blows up more and can be elevated.
davecancode
davecancode4w ago
just checked. working now! 😛
silentworks
silentworks4w ago
Can either of you confirm if it works when using a VPN or not please?
Åskkuken
ÅskkukenOP4w ago
i am genuinely not trying to be rude, but what difference would a VPN make?
silentworks
silentworks4w ago
It would rule out your ISP dropping connection after a while to the supabase url. There were some issues a few weeks back where some ISPs in the UAE were blocking Supabase URL. It would also rule out if your ISP DNS resolver is an issue.
Åskkuken
ÅskkukenOP3w ago
i would try, but i don't have access to/use any vpn, unfortunately connection issues starting again. seems to be whenever im doing many db commands seconds apart from each other i basically have to sit in timeout waiting for the issue to fix itself
Åskkuken
ÅskkukenOP3w ago
10 mins of connection issues
No description
Åskkuken
ÅskkukenOP3w ago
10 mins later, started again this is genuinely infuriating
silentworks
silentworks3w ago
Supabase support is going to be your best bet with this one as they will be the only ones with access to your instance to be able to look into the issue.
garyaustin
garyaustin3w ago
Just a heads up you posted on Supabase github discussions, that is only monitored by Supabase staff a bit more than here. It does get a few different users viewing.
Just want to make sure you did not think that was support.

Did you find this page helpful?