Web panel gives 502 bad gateway after install
See original GitHub issueImpacted versions
- Distribution: Centos
- Codename: Centos 7
- Arch: 64 Bits
- Database: PostgreSQL
problems that occured during installation which i had to fix: (probably not related to this issue, just to point it out)
- Instalator continues even when LetsEncrypt cert is not obtained (got cert manually, SSL now valid and working)
- Nginx config was broken by default (Nginx issue, not your, happened even when i installed nginx before Modoboa - had to add
server_names_hash_bucket_size 64;
to main config, otherwise nginx wouldnt start
finally after all, nginx is now running, but when trying to access admin panel, i just get 502 error…
From nginx error log:
2018/04/07 19:19:22 [error] 22551#0: *1 upstream prematurely closed connection while reading response header from upstream$
tried some solutions, but i dont know anymore, tried to reinstall too 😢
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
What is a 502 Bad Gateway and how do you fix it? - IT PRO
An Error 502 Bad Gateway means there is a problem with the website's server, rather than your computer, router, or internet connection. It's...
Read more >How To Fix a 502 Bad Gateway Error - Kinsta
The 502 bad gateway error specifically means that server received an invalid response from an inbound server. Check out these common causes ...
Read more >How to Fix 502 Bad Gateway Error - Hostinger
This article will go over some troubleshooting steps to follow when a 502 Bad Gateway error occurs, both for the server and client-side....
Read more >502 bad gateway: how to solve it (2022) - SupportHost
The 502 bad gateway error is a type of HTTP error that notifies the user that there is some kind of problem in...
Read more >How to Solve 502 Bad Gateway Issues? - KeyCDN Support
Having issues with a 502 Bad Gateway error? This guide gives you practical tips to solve origin not reachable problems.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same issue here
I had to run LetsEncrypt manually also. Got it working with nginx
@wUFr Either try a fresh install (on a clean system) or remove the virtualenv before restarting the installer: