-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
net::ERR_ABORTED 502 (Bad Gateway) #1004
Comments
Looks like listmonk binary isn't running. |
Is there Nginx or another reverse proxy in between? The URLs in your original screenshot are throwing a 502, which means the requests aren't reaching listmonk. Whatever is trying to proxy the requests doesn't see that listmonk is running, thus is returning 502. |
There is
Any other nginx conf doesn't work tried a lot based on other issues i saw. |
I don't think trying to force listmonk to run on a sub-path ( |
Im running listmonk as standalone on an ubuntu server to test its capabilities. Im not using any docker. I tried without sub-path it doesn't work. Beside a have others services using sub-paths that works perfectly on the same server. |
listmonk itself cannot produce 502s. The 502s are coming from Nginx, so there has to be something off with the Nginx config that's preventing it from reaching listmonk. |
Having the same issue since a couple of days on my CentOS 7 machine. This is my nginx config file using a reverse proxy setup. I changed the port 9000 to 9080 in de listmonk setup (Docker compose). The login screen looks fine, no errors. After I login, these errors popping up in my browser console (Brave and also in Firefox):
I replaced my current subdomain with
Checked my nginx error log and found some permission issues:
After checking the permissions on
Maybe this info can help you out, or others in the future. |
@Sebastix I'm also on Centos 7 and having a 502 bad gateway error, but when loading the webpage -- not after logging into it. I also had to change the port because it conflicted with php-fpm, but even after doing that, I'm still getting the 502 error. I posted my steps and config here: #1573 (comment) I checked my nginx error log
I added these lines that you used (then restarted nginx) but it didn't make a difference:
I do not have a Oh, I see you also changed
I did that, and also tried port 9080 instead of the random 3870 I picked, and I still get the 502 error. I did a search for the error in the log https://www.ecosia.org/search?q=104%253A%20Connection%20reset%20by%20peer)%20while%20reading%20response%20header%20from%20upstream and it sounds like there's still a conflict with php fpm. EDIT: It was a firewall issue. I disabled my firewall and it works. |
|
Version:
Description of the bug and steps to reproduce:
I manage to download & run listmonk as a service on my server but somehow i got issues when trying to access admin page.
ScreenShot:
![Screenshot 2022-10-28 at 01 02 08](https://user-images.githubusercontent.com/20244800/198419377-e6d9ce6d-d725-470c-8562-032f3c207f85.png)
The text was updated successfully, but these errors were encountered: