Topic: New install: 502 Bad Gateway
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? YES
- Linux/BSD distribution name and version: Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I have not even logged into the iredadmin page yet, but I am seeing this after trying for the first time.
Logs show:
2019/02/28 22:48:09 [error] 21818#21818: *13 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xx.xx, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "xxx.xxx.xx.x"
I have tried restarting the uwsgi service, and can confirm it is running.
Nothing in /var/log/uwsgi/app
Any other logs to look at? iRedMail.tips is not helpful with this.
Edit: Since I had it on a virtual machine, I just went ahead and reinstalled it, and it is running without issue.
I guess this discussion should still continue in case another has this problem.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.