[SOLVED] HTTP ERROR 502

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

[SOLVED] HTTP ERROR 502

Postby kahfiehudson » Fri Sep 15, 2017 10:58 am

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: 3
Joined: Fri Sep 15, 2017 11:26 am

Re: HTTP ERROR 502

Postby ssonawane » Fri Sep 15, 2017 11:36 am

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

Postby routon » Fri Sep 15, 2017 4:44 pm

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: 3
Joined: Mon Mar 06, 2017 4:00 am

Re: HTTP ERROR 502

Postby kahfiehudson » Fri Sep 15, 2017 5:17 pm

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: 3
Joined: Mon Mar 06, 2017 4:00 am

Re: HTTP ERROR 502

Postby kahfiehudson » Mon Sep 18, 2017 5:22 am

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

Postby kurkutend » Mon Dec 25, 2017 1:22 pm

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: 25600
Joined: Fri Sep 12, 2014 9:56 pm

Re: [SOLVED] HTTP ERROR 502

Postby phoenix » Mon Dec 25, 2017 2:55 pm

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

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
Hathyelle
Posts: 2
Joined: Tue Aug 07, 2018 6:50 pm

Re: Help - HTTP ERROR 502

Postby Hathyelle » Tue Aug 07, 2018 7:21 pm

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: 32
Joined: Fri Jul 08, 2016 7:41 am

Re: Help - HTTP ERROR 502

Postby daniele.antolini » Wed Aug 08, 2018 8:47 am

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

Re: [SOLVED] HTTP ERROR 502

Postby Hathyelle » Wed Aug 08, 2018 8:15 pm

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 11 times

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 31 guests