Error 504 when trying to send password reset email - JS Client
I have a website hosted by DailyRazor that connects to Supabase. While the website is in the development, I am running it on my own PC for testing. I've looked at the docs, asked AI, scanned the console output, and verified the database logs. I found nothing strange or helpful. My guess is the issue is incorrect SMTP settings.
I opened a ticket with DailyRazor to get their SMTP settings. I'll put their response in a comment below.
My Supabase SMTP settings are in a comment below.
The JS that gets the email address to send the link to is:
The JS code that tells Supabase to send the email is:
The HTML code for the body of the page that gets the email address:
7 Replies
DailyRazor's response:
My Supabase SMTP settings:
Check your Supabase auth logs to see if there are any errors. https://supabase.com/dashboard/project/_/logs/auth-logs
Yeah, I've gone through them I don't see anything helpful. Whenever I get the 504 error, two events appear in the logs:
/recover | request completed and /recover | 504: Processing this request timed out, please retry after a moment.
the 504 event message:
Pastebin
Pastebin.com - Locked Paste
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
If this is sensitive information, it should not be posted here. Also I don't visit third party links for code or logs snippets, they can be inlined here.
It's too long.
I censored sensitive info.
I was able to send an email through DailyRazor using the terminal, so the problem is definitely related to Supabase.
Don't know what DailyRazor is, but the issue is likely authentication with your email provider. I would suggest using tried and tested providers like Resend or Brevo.