Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email 504 Gateway Time-out #10

Open
autumnwalker opened this issue May 3, 2023 · 7 comments
Open

Email 504 Gateway Time-out #10

autumnwalker opened this issue May 3, 2023 · 7 comments

Comments

@autumnwalker
Copy link

When I try and configure SMTP / email I get a 504 Gateway Time-out error.

I don't see anything in the Docker logs.

I have configured SMTP according to environment variables. If I set something to knowingly wrong (e.g. wrong password) I get a 500 error instead.

@hydazz
Copy link
Member

hydazz commented May 4, 2023

Setting the email variables causes the webui to stop working?

@autumnwalker
Copy link
Author

webui works fine until I try to send a test email, then I get 504.

@hydazz
Copy link
Member

hydazz commented Jun 8, 2023

try updating, see if error persists

@autumnwalker
Copy link
Author

Still getting a 504 - takes awhile now to get it.

@hydazz
Copy link
Member

hydazz commented Jun 13, 2023

can you share your docker-compose/template/run command

@autumnwalker
Copy link
Author

Not sure of a more elegant way to share this: https://imgur.com/a/qm2ST6h

@hydazz
Copy link
Member

hydazz commented Jul 30, 2023

I have configured SMTP, sending a test email works
image

I am using the following config (exclusively, i have not specified anything else):

EMAIL_HOST=mail....
EMAIL_HOST_USER=no-reply@...
EMAIL_HOST_PASSWORD=...
EMAIL_PORT=587
EMAIL_USE_TLS=True
DEFAULT_FROM_EMAIL=no-reply@...

https://www.obico.io/docs/server-guides/advanced/email_guide/#troubleshooting-with-the-test-email
I can only assume that something is configured incorrectly

If you get a Server Error (500) it is likely that something is wrong with the configuration such as incorrect credentials, port, etc. Check the logs on your web container to see what may have been rejected.

perhaps try setting DEBUG=True in another variable, and see if theres anything in the logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants