It works on localhost (Dummy, Sendgrid and SMTP), I create an account and get the token link. But when trying to create an account after deploying on Fly.io
wasp deploy fly launch <name> iad
wasp deploy fly launch <name> iad
it doesn't work.
Here are the browser console and network. The network returned 200 for the auth/email/signup and 204 for the preflight. The console only show unauthorized (401) on /auth/me, I think this was expected since I'm not logged in yet. The server logs returned
ECONNREFUSED
ECONNREFUSED
and
__node_internal_exceptionWithHostPort
__node_internal_exceptionWithHostPort
on the port 587. That's not the port I configured in the .env.server file