S
Supabase2mo ago
t0dd

Supabase timing out

Hello, roughly 16 minutes ago our Next.js app's all supabase calls started timing out with no code changes or redeployments. Is this an issue with Supabase?
32 Replies
garyaustin
garyaustin2mo ago
Hard to say. Any specific errors? Anything in the API Gateway logs? Any status issues in your main project page?
t0dd
t0ddOP2mo ago
lots of 504s, no issues in status page
garyaustin
garyaustin2mo ago
Are requests getting to the API Gateway logs? What region? Although not seeing anything today other 2 reports with status like this that resolved quickly.
No description
t0dd
t0ddOP2mo ago
yeah they are, logs look like this though
No description
t0dd
t0ddOP2mo ago
No description
t0dd
t0ddOP2mo ago
surely if it was an issue on my side the errors wouldnt be 504?
garyaustin
garyaustin2mo ago
So just auth?
t0dd
t0ddOP2mo ago
looks like it
garyaustin
garyaustin2mo ago
Try restarting the instance. Any change to your configuration like going to new API keys or asymmetric JWTs. See if auth log has any info. Do you have a support request in?
t0dd
t0ddOP2mo ago
Any change to your configuration like going to new API keys or asymmetric JWTs.
no
See if auth log has any info.
context deadline exceeded
Do you have a support request in?
no
No description
t0dd
t0ddOP2mo ago
do you guys even have live chat? i dont see it
garyaustin
garyaustin2mo ago
Do you have any trigger functions on auth tables or using an auth hook? Not sure what that is. This is a user helping user forum and not monitored by Supabase.
t0dd
t0ddOP2mo ago
yep but theyve never been an issue before yea bet
garyaustin
garyaustin2mo ago
What do they do? Do they make external calls? Like to an API or logging platform? Seems like something in the auth process is timing out. So not the Gateway to your project, but something about the actual auth requests.
t0dd
t0ddOP2mo ago
no they just call some sql functions support replies in 1 business day too apparently lol nice support considering the platform breaks every other month
garyaustin
garyaustin2mo ago
Are you pro?
t0dd
t0ddOP2mo ago
yep
t0dd
t0ddOP2mo ago
No description
garyaustin
garyaustin2mo ago
Did you try a restart? Any postgres log errors from your auth SQL logic?
car
car2mo ago
restart didn't work out of desperation we upgraded the instance seeing if that does anything
t0dd
t0ddOP2mo ago
Any postgres log errors from your auth SQL logic?
no and it just creates a row in another table shouldnt cause anything
car
car2mo ago
our platform is down for 2000+ users so we're willing to go for nuclear option
garyaustin
garyaustin2mo ago
Your other Database calls seem to be working so not a database timeout in general.
car
car2mo ago
we just realized our CPU is pinned to 100%
car
car2mo ago
No description
car
car2mo ago
all of a sudden
garyaustin
garyaustin2mo ago
A restart would normally clear that if it was something locked up.
t0dd
t0ddOP2mo ago
ya exactly CPU was pinned before and after
garyaustin
garyaustin2mo ago
When you say you upgraded what did you upgrade from and to.
t0dd
t0ddOP2mo ago
nvm issue was on our side bug in other rogue process which caused insane amount of requests thanks for the help 🙏
garyaustin
garyaustin2mo ago
Glad you found it!
car
car2mo ago
L -> XL Thank you for the help 🙌

Did you find this page helpful?