1

Topic: Problem Iredadmin....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?
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I have a problem with the iredadmin: I have recently installed the version 0,9,9, the rouncubemail it works and good in the voyager, perocuandointento turns on accessing iredadmin https://10.0.0.2/iredadmin this appears to 502 Bad Gateway of the NGIX in the NGINX's log and with error put salt in the sigiuente error:

exit for /var/log/nginx/error.log

2019/02/06 10:34:58 [error] 723#0: *19 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:35:37 [error] 723#0: *19 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:35:43 [error] 723#0: *24 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:36:12 [error] 1347#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:36:13 [error] 1347#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:36:13 [error] 1347#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:36:13 [error] 1347#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:36:14 [error] 1347#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:36:15 [error] 1347#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:36:16 [error] 1347#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:36:17 [error] 1347#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:36:17 [error] 1347#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:36:17 [error] 1347#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:36:22 [error] 1347#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:36:24 [error] 1347#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:36:24 [error] 1347#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:38:38 [error] 1347#0: *66 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:42:04 [error] 1347#0: *137 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:42:05 [error] 1347#0: *137 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:42:05 [error] 1347#0: *137 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:42:06 [error] 1347#0: *137 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:47:29 [error] 1539#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:47:30 [error] 1539#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:48:39 [error] 455#0: *26 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:48:44 [error] 455#0: *26 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:52:31 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:52:34 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:52:37 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:52:40 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:52:43 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:52:53 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:53:02 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:53:11 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:53:20 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:53:29 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:53:46 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:54:04 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:54:22 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:54:40 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:54:58 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:55:23 [error] 1371#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: _, request: "GET /status?full&json HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "localhost"
2019/02/06 10:55:48 [error] 1616#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:55:51 [error] 1616#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"
2019/02/06 10:56:07 [error] 1616#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 192.168.0.1, server: _, request: "GET /iredadmin/ HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "10.0.0.2"

I eat to correct the same in order that the console come out of the iredadmin

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Problem Iredadmin....502 Bad Gateway

Does restarting "iredadmin" service fix this issue?

3

Re: Problem Iredadmin....502 Bad Gateway

i have the same problem when i make de update to iredamin i just download de previous version and run the upgrade procedure whit that file and iredadmin just work again