Nginx 502 error on /accounts/register/

I am not able to create new users and get Nginx 502 error after some loading time. I searched for this issue in the forum and found some posts that were leading towards an issue with email setup. I rechecked my settings and tried different things but still getting the same error my email setting. You can check this on my server http://kf.sjnotes.tk
My email settings are as follows:
EMAIL_HOST=mail.mymail.com
EMAIL_PORT=465
EMAIL_HOST_USER=admin@mymail.com
EMAIL_HOST_PASSWORD=myPassword
EMAIL_USE_TLS=True
DEFAULT_FROM_EMAIL=admin@mymail.com
My email settings are working as i checked in another nodejs app.
Please help

Have you checked the logs ?
502 error tells that Nginx has reached the allowed max waiting time.
That said you can tweak the uswgi servers through the front-end docker compose file.

1 Like