Topic: 504 Gateway Timeout / uwsgi: IOError
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Woke up today to learn that iredadmin interface is now returning an /'504 Bad Gateway' error.
Digging thru logs, I find in syslog:
Aug 28 10:23:41 mail-cluster-1 uwsgi: Wed Aug 28 10:23:41 2019 - uwsgi_response_write_body_do(): Broken pipe [core/writer.c line 331] during GET /iredadmin/dashboard?checknew (x.x.x.x)
Aug 28 10:23:41 mail-cluster-1 uwsgi: IOError
Aug 28 10:23:41 mail-cluster-1 uwsgi: :
Aug 28 10:23:41 mail-cluster-1 uwsgi: write error
Aug 28 10:23:41 mail-cluster-1 uwsgi:
Aug 28 10:23:41 mail-cluster-1 uwsgi: my.server [pid: 2134|app: 1|req: 7/15] x.x.x.x () {62 vars in 1164 bytes} [Wed Aug 28 10:22:34 2019] GET /iredadmin/dashboard?checknew => generated 21742 bytes in 66790 msecs (HTTP/1.1 200) 2 headers in 146 bytes (0 switches on core 0)
In other forum posts it was suggested to kill/restart uwsgi... did that, no change. I also have restarted this entire server instance, and the problem persists. I fail to see what it could possibly be hanging on. Any suggestions?
Mike-
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.