1

Topic: Nginx 504 Gateway Time-out

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release)
==> 1.3.2
- Deployed with iRedMail Easy or the downloadable installer?
==>  downloadable installer
- Linux/BSD distribution name and version
==>  Debian Linux 9
- 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.
====

Hi,

we are getting below error in nginx log

###################################

2021/08/03 10:30:32 [error] 31761#31761: *45 upstream timed out (110: Connection timed out) while reading response header from upstream, client: X.X.X.X, server: _, request:"GET /iredadmin/dashboard?checknew HTTP/2.0", upstream: "uwsgi://127.0.0.1:7791", host: "ns1.abc.com", referrer: "https://ns1.abc.com/iredadmin/login"

###################################

Some time we are able to log in to admin portal and some time give 504 Gateway Time-out.

Please revert.

Thanks
Sunil

2

Re: Nginx 504 Gateway Time-out

RajeshM wrote:

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release)
==> 1.3.2
- Deployed with iRedMail Easy or the downloadable installer?
==>  downloadable installer
- Linux/BSD distribution name and version
==>  Debian Linux 9
- 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.
====

Hi,

we are getting below error in nginx log

###################################

2021/08/03 10:30:32 [error] 31761#31761: *45 upstream timed out (110: Connection timed out) while reading response header from upstream, client: X.X.X.X, server: _, request:"GET /iredadmin/dashboard?checknew HTTP/2.0", upstream: "uwsgi://127.0.0.1:7791", host: "ns1.abc.com", referrer: "https://ns1.abc.com/iredadmin/login"

###################################

Some time we are able to log in to admin portal and some time give 504 Gateway Time-out.

Please revert.

Thanks
Sunil


Hi,

You May close this ticket issue resolved.

Thanks
Sunil