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
502 error while setting up SSL, and configuring listmonk on subdomain using nginx (on Docker) #1829
Comments
listmonk should never restart automatically unless you restart it, or you change any settings on the admin UI. Please examine the Docker logs for the listmonk container to figure out why it's restarting, which is causing the 502. |
You should post your configs. You probably have an error in your configs that's causing listmonk to restart. I think my 502 error was due to a firewall, but yours may be the restart issue. I never had a 502 error with EC2 + docker. That setup should be pretty straightforward. |
docker-compose.yml
nginx.conf
|
Looks like there are a bunch of clues there. You can do a web search for those errors. I think it's better to post the raw code rather than screenshots, so it can be found in searches by other people, and it's easier to copy-paste. Change Your IP is exposed in the screenshot, which is a security vulnerability. You should set a hostname to mask it. |
Thanks for pointing out. I reinitiated the installation from scratch this time, releasing the previous IP and associating a new one. This query is resolved. Thanks for the help. |
I am trying to setup listmonk on subdomain (DNS managed by cloudflare, Proxy off), Hosted on EC2 ( Open port 9000 to public)
However I am constantly getting 502 error from NGINX.
Followed tutorial : https://gist.github.com/MaximilianKohler/e5158fcfe6de80a9069926a67afcae11
I tried searching the similar problem in issues, I know that there were multiple issues that possibly solves the problem, However I am failing to fix this even after trying almost all the solutions listed (including changing the port to 9003). (Been trying from last 3-4 days)
Listmonk worked fine while opening with IP pre SSL configuration and proxy.
Problem starts post configuration of subdomain and SSL.
One thing that I noticed is that "app" and "db" docker containers are restarting every few seconds.
The text was updated successfully, but these errors were encountered: