[SOLVED] HTTP ERROR 502

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
kahfiehudson
Posts: 5
Joined: Mon Mar 06, 2017 4:00 am

[SOLVED] HTTP ERROR 502

Post by kahfiehudson »

Hi,

I installed zimbra 8.7.10 and after the installation zimbra run normally but after I restart my zimbra error server like that :

HTTP ERROR 502

Problem accessing ZCS upstream server. Cannot connect to the ZCS upstream server. Connection is refused.
Possible reasons:

upstream server is unreachable
upstream server is currently being upgraded
upstream server is down
Please contact your ZCS administrator to fix the problem.

How to fix this error?

Thanks a lot.
ssonawane
Posts: 4
Joined: Fri Sep 15, 2017 11:26 am

Re: HTTP ERROR 502

Post by ssonawane »

Is this multi-server or single server installation?

Please send me an output of following commands? (they need to be run via zimbra user)

zmprov gs `zmhostname` zimbraReverseProxyMailMode
zmprov gs `zmhostname` zimbraMailMode

and check to find out any log messages related to this error in nginx.access.log and send to me.
routon
Posts: 3
Joined: Fri Sep 15, 2017 4:38 pm

Re: HTTP ERROR 502

Post by routon »

Hi guys

I have the same problem with zimbra 8.7.1

I cannot reach ZImbra webmail.

I use only HTTPS and proxy mail is redirect, I really would not like to reconfigure my proxy mode because of multiple domains that I use

Can anyone help me ?

Thank you
kahfiehudson
Posts: 5
Joined: Mon Mar 06, 2017 4:00 am

Re: HTTP ERROR 502

Post by kahfiehudson »

ssonawane wrote:Is this multi-server or single server installation?

Please send me an output of following commands? (they need to be run via zimbra user)

zmprov gs `zmhostname` zimbraReverseProxyMailMode
zmprov gs `zmhostname` zimbraMailMode

and check to find out any log messages related to this error in nginx.access.log and send to me.
This is single server and this is a ssd vps.

This is the output of following commands :
root@mail:~# su zimbra
zimbra@mail:/root$ zmprov gs `zmhostname` zimbraReverseProxyMailMode
# name mail.torreskonsultan.co.id
zimbraReverseProxyMailMode: both

zimbra@mail:/root$ zmprov gs `zmhostname` zimbraMailMode
# name mail.torreskonsultan.co.id
zimbraMailMode: https


And this is the output of nginx.access.log

125.161.79.184:50882 - - [16/Sep/2017:00:10:18 +0700] "GET / HTTP/1.1" 502 1332 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" "101.50.1.141:8443"
125.161.79.184:50884 - - [16/Sep/2017:00:10:18 +0700] "GET /favicon.ico HTTP/1.1" 502 1332 "http://mail.torreskonsultan.co.id/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" "101.50.1.141:8443"
125.161.79.184:50886 - - [16/Sep/2017:00:10:18 +0700] "GET / HTTP/1.1" 502 1332 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" "101.50.1.141:8443"
125.161.79.184:3689 - - [16/Sep/2017:00:10:18 +0700] "GET /favicon.ico HTTP/1.1" 502 1332 "http://mail.torreskonsultan.co.id/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" "101.50.1.141:8443"
139.162.78.135:48752 - - [16/Sep/2017:00:17:38 +0700] "GET / HTTP/1.1" 502 1327 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36" "101.50.1.141:8443"
125.161.79.184:3939 - - [16/Sep/2017:00:27:04 +0700] "GET / HTTP/1.1" 502 1332 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" "101.50.1.141:8443"
125.161.79.184:51078 - - [16/Sep/2017:00:27:04 +0700] "GET /favicon.ico HTTP/1.1" 502 1332 "http://mail.torreskonsultan.co.id/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" "101.50.1.141:8443"
125.161.79.184:51082 - - [16/Sep/2017:00:27:17 +0700] "GET / HTTP/1.1" 502 1332 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" "101.50.1.141:8443"
125.161.79.184:51082 - - [16/Sep/2017:00:27:17 +0700] "GET /favicon.ico HTTP/1.1" 502 1332 "https://mail.torreskonsultan.co.id/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" "101.50.1.141:8443"


Could you analyze that?
kahfiehudson
Posts: 5
Joined: Mon Mar 06, 2017 4:00 am

Re: HTTP ERROR 502

Post by kahfiehudson »

Hi all,

Thanks for your help.
This problem is fixed now. The problem is my server port 8443 is used by plesk and conflict with zimbra. I reinstall zimbra and chaged the port 8443 to 8445.
kurkutend
Posts: 1
Joined: Sun Dec 24, 2017 10:38 am

Re: [SOLVED] HTTP ERROR 502

Post by kurkutend »

HTTP ERROR 502

Problem accessing ZCS upstream server. Cannot connect to the ZCS upstream server. Connection is refused.
Possible reasons:

upstream server is unreachable
upstream server is currently being upgraded
upstream server is down
Please contact your ZCS administrator to fix the problem.

Powered by Nginx-Zimbra://


plz solve my problem
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: [SOLVED] HTTP ERROR 502

Post by phoenix »

kurkutend wrote:plz solve my problem
The answer to this problem is in this thread. I''m assuming you either haven't checked that or don't have the same problem - in either case, you should not add your post that's markes as solved and you should have started a new thread. You should also give sufficient inform,atio so people can give you some advice on a solution and you should also search the forums for an answer.

You can start by giving the full version of ZCS that's in use by posting the output of the following command (always post this when asking a question on these forums):

Code: Select all

zmcontrol -v
Is this a single serevr or a multi-server installation, is it a new install or an upgrade, what have you tried so far to fix the problem?
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Hathyelle
Posts: 3
Joined: Tue Aug 07, 2018 6:50 pm

Re: Help - HTTP ERROR 502

Post by Hathyelle »

Hello. We have been through this problem with constancy so far we have not found a concrete solution.

If you can help us I will be immensely grateful.

Thank you very much in advance.


********************

Esta instalação é multi-servidor ou servidor único?
* Servidor único, em uma máquina virtual.

zmprov gs `zmhostname` zimbraReverseProxyMailMode
# name zimbra.ipatinga.mg.gov.br
zimbraReverseProxyMailMode: redirect

zmprov gs` zmhostname` zimbraMailMode
# name zimbra.ipatinga.mg.gov.br
zimbraMailMode: both


nginx.access.log

128.2.0.64:15320 - - [07/Aug/2018:15:00:00 -0300] "POST /service/soap/NoOpRequest HTTP/1.1" 499 0 "https://zimbra.pmi.mg.gov.br/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36" "-"
128.2.0.64:22177 - - [07/Aug/2018:15:00:00 -0300] "POST /service/soap/ZxChatRequest HTTP/1.1" 502 1332 "https://zimbra.pmi.mg.gov.br/" "Mozilla/5.0 (Windows NT 6.1; rv:41.0) Gecko/20100101 Firefox/41.0" "128.2.1.68:8443"
189.76.226.142:12634 - - [07/Aug/2018:15:00:00 -0300] "POST /service/soap/NoOpRequest HTTP/1.1" 499 0 "https://correio.ipatinga.mg.gov.br/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0" "-"
189.76.226.142:19811 - - [07/Aug/2018:15:00:00 -0300] "POST /service/soap/NoOpRequest HTTP/1.1" 502 1332 "https://correio.ipatinga.mg.gov.br/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36" ""
128.2.0.64:29113 - - [07/Aug/2018:15:00:00 -0300] "POST /service/soap/ZxChatRequest HTTP/1.1" 502 1332 "https://zimbra.pmi.mg.gov.br/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36" ""
daniele.antolini
Posts: 36
Joined: Fri Jul 08, 2016 7:41 am

Re: Help - HTTP ERROR 502

Post by daniele.antolini »

You should provide also mailbox.log and mailboxd.out
Hathyelle
Posts: 3
Joined: Tue Aug 07, 2018 6:50 pm

Re: [SOLVED] HTTP ERROR 502

Post by Hathyelle »

Good afternoon. My mailbox.log file is too large. Can I send you straight to your email box?
Attachments
zmmailboxd.out.rar
(366.35 KiB) Downloaded 304 times
Post Reply