Topic: 502 Bad Gateway with SOGo
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8 MARIADB edition.
- Linux/BSD distribution name and version: Ubuntu 18.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- 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,
Fresh installation on Ubuntu 18.04, iredadmin and roundcube works fine, but when I'm trying to access SOGo at https://mydomain.net/SOGo I'm getting "502 Bad Gateway" error.
This is in /var/log/nginx/error.log nginx log file(real addresses obfuscated):
2018/05/19 18:45:22 [error] 16416#16416: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 12.34.56.789, server: _, request: "GET /SOGo HTTP/1.1", upstream: "http://127.0.0.1:20000/SOGo", host: "mydomain.net"
Thanks for help!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.