HaProxy Sends 502 Bad Gateway with 'SH' in the Log

2021-07-14 Thread Buddhi DeSilva
considerable time to complete (less than 5 min) and returns an empty response (204). When I execute above endpoint (which goes through the HAProxy) it returns 502 Bad Gateway response and I can see following log message in HAProxy logs. RESTFul Endpoint: GET /abc/service

Re: 502 Bad Gateway

2018-05-15 Thread Aleksandar Lazic
27; schema mentioned, I'm not sure if https > should work. > https://urldefense.proofpoint.com/v2/url?u=https-3A__cbonte.github.io_haproxy-2Ddconv_1.8_configuration.html-234-2Doption-2520http-5Fproxy&d=DwICaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=V0kSKiLhQKpOQLIjj3-g9Q&m=p29xLcYDASs3x4Jull7

RE: 502 Bad Gateway

2018-05-15 Thread UPPALAPATI, PRAVEEN
, 2018 6:38 AM To: UPPALAPATI, PRAVEEN Cc: haproxy@formilux.org; SIVANANDHAM, THANIGAIVEL Subject: Re: 502 Bad Gateway Hi Praveen. Am 09-05-2018 00:25, schrieb UPPALAPATI, PRAVEEN: > Hi Aleks, > > Thanks for the info. > > Some of the default config we corrected in the prod. >

Re: 502 Bad Gateway

2018-05-09 Thread Aleksandar Lazic
VEEN ; haproxy@formilux.org Subject: 502 Bad Gateway Hi. Looks like there is some confusion about your question. Let me try to summarize what I think that you could mean. Am 08.05.2018 um 16:22 schrieb UPPALAPATI, PRAVEEN: Hi Aleks, Sorry

RE: 502 Bad Gateway

2018-05-08 Thread UPPALAPATI, PRAVEEN
helps. Thanks, Praveen. -Original Message- From: Aleksandar Lazic [mailto:al-hapr...@none.at] Sent: Tuesday, May 08, 2018 4:55 PM To: UPPALAPATI, PRAVEEN ; haproxy@formilux.org Subject: 502 Bad Gateway Hi. Looks like there is some confusion about your question. Let me try to summarize w

502 Bad Gateway

2018-05-08 Thread Aleksandar Lazic
0 ubuntu@app001:~$ fg sudo tail -f /var/log/haproxy.log May 8 23:37:54 app001 haproxy[8804]: Proxy http_proxy-1000 started. May 8 23:37:58 app001 haproxy[8804]: 127.0.0.1:35988 [08/May/2018:23:37:58.074] http_proxy-1000 http_proxy-1000/ -1/-1/-1/-1/0 400 187 - - PR-- 1/1/0/0/3 0/0 {localhost:1

Re: 502 Bad Gateway

2018-05-08 Thread Shawn Heisey
On 5/7/2018 11:25 PM, UPPALAPATI, PRAVEEN wrote: > If I add ssl termination to the config: > > listen http_proxy-1000 > bind *:1000 ssl test.pem > mode http > option httplog > http-request set-uri https://%[url_param(redirHost)]%[capture.req.uri] > option http_proxy > > I get

RE: 502 Bad Gateway

2018-05-08 Thread UPPALAPATI, PRAVEEN
be highly appreciated. Thanks, Praveen. -Original Message- From: UPPALAPATI, PRAVEEN Sent: Tuesday, May 08, 2018 12:25 AM To: 'Aleksandar Lazic' ; Willy Tarreau Cc: Olivier Houchard ; haproxy@formilux.org Subject: 502 Bad Gateway Hi Haproxy-Team, I have the following co

RE: 502 Bad Gateway

2018-05-08 Thread UPPALAPATI, PRAVEEN
azic [mailto:al-hapr...@none.at] Sent: Tuesday, May 08, 2018 7:40 AM To: UPPALAPATI, PRAVEEN ; haproxy@formilux.org Subject: Re: 502 Bad Gateway Hi. Please post only to the mailing list, thanks. Please keep the mailinglist in the mail loop => "Answer all". Am 08.05.2018 um 07:25

Re: 502 Bad Gateway

2018-05-08 Thread Aleksandar Lazic
Hi. Please post only to the mailing list, thanks. Please keep the mailinglist in the mail loop => "Answer all". Am 08.05.2018 um 07:25 schrieb UPPALAPATI, PRAVEEN: > Hi Haproxy-Team, > > I have the following configuration: > > listen http_proxy-1000 > bind *:1000 > mode http > opti

502 Bad Gateway

2018-05-07 Thread UPPALAPATI, PRAVEEN
Hi Haproxy-Team, I have the following configuration: listen http_proxy-1000 bind *:1000 mode http option httplog http-request set-uri https://%[url_param(redirHost)]%[capture.req.uri] option http_proxy If I issue a request to that port : https://:1000 /test/test.txt?Host=:

Re: 502 Bad Gateway: The server returned an invalid or incomplete response

2014-05-09 Thread Jarno Huuskonen
ation when https:///service/index.jsp is > accessed haproxy returns a 502 Bad Gateway error. Per syslogs - > > May 9 06:56:42 localhost haproxy[7860]: 10.x.x.x:62604 > [09/May/2014:06:56:42.936] site~ site/server-2 38/0/1/-1/+40 502 +211 - - > PH-- 0/0/0/0/0 0/0 "GET /service/index.

502 Bad Gateway: The server returned an invalid or incomplete response

2014-05-09 Thread Ram R
/index.jsp is accessed haproxy returns a 502 Bad Gateway error. Per syslogs - May 9 06:56:42 localhost haproxy[7860]: 10.x.x.x:62604 [09/May/2014:06:56:42.936] site~ site/server-2 38/0/1/-1/+40 502 +211 - - PH-- 0/0/0/0/0 0/0 "GET /service/index.jsp HTTP/1.1" However, when I change t

Re: haproxy 502 bad gateway

2013-01-24 Thread Wei Kong
Hi I am using 1.4.22. Turned out there was some network issue from between the haproxy node and one of the servers. That was why I kept getting 502 when that server is included in backend Thanks a lot Wei On Jan 23, 2013, at 23:56, Baptiste wrote: > Hi Wei, > > Which version of HAProxy ar

Re: haproxy 502 bad gateway

2013-01-23 Thread Baptiste
Hi Wei, Which version of HAProxy are you running? In recent 1.5 branch, there were bugs leading to 502 errors on POST. You might be in that case. cheers On Thu, Jan 24, 2013 at 7:03 AM, Wei Kong wrote: > I tested using a script that simply calls a curl to access a url in a > loop. If I have tw

Re: haproxy 502 bad gateway

2013-01-23 Thread Wei Kong
I tested using a script that simply calls a curl to access a url in a loop. If I have two servers in the backend, the script will hang after a while. But if I only have one server in the backend, the script will be able to continue. We are using the most basic haproxy setting, why is it having is

Re: haproxy 502 bad gateway

2013-01-23 Thread Wei Kong
Hi, I found out that if I take out one server from node_admin backend, it works much better. Can someone please help shed some lights on this issue? Is it related to some session/cache issue? Wei On 1/23/13 10:34 AM, "Wei Kong" wrote: >We are getting a lot of 502 errors from haproxy on a serve

haproxy 502 bad gateway

2013-01-23 Thread Wei Kong
We are getting a lot of 502 errors from haproxy on a server that is not too busy The logged message shows Jan 23 18:31:01 preview2-stratus-admin-1 haproxy[28352]: 50.196.128.9:54443 [23/Jan/2013:18:29:01.649] node_frontend node_admin/server1 6/0/2/-1/+120043 502 +204 - - SH-- 2/2/0/0/0 0/0 "POST

Re: Handling errors "502 Bad Gateway"

2011-06-15 Thread Alexey Vlasov
Hi Willy Tarreau! On Thu, Jun 09, 2011 at 10:36:14PM +0200, Willy Tarreau wrote: > > Here, actually, I've found the description of the same problem. At > > Apache falling/restart, haproxy returns to users 502 error. > > > http://www.formilux.org/archives/haproxy/0812/1575.html > > > > Here I give

Re: Handling errors "502 Bad Gateway"

2011-06-09 Thread Willy Tarreau
top Apache: > # /opt/apache_aux2_pool1/current/sbin/apachectl -k stop > I receive an error: > ... > 12:50:21.854037923 OK > 12:50:22.039332296 OK > 12:50:22.244071674 502 Bad Gateway > The server returned an invalid or incomplete response. > > > 12:50

Handling errors "502 Bad Gateway"

2011-06-09 Thread Alexey Vlasov
"; curl -s http://test-nl11-apache-aux2.com/uptime.php; echo; done 12:50:21.294819803 OK 12:50:21.481879293 OK 12:50:21.666777343 OK ... I stop Apache: # /opt/apache_aux2_pool1/current/sbin/apachectl -k stop I receive an error: ... 12:50:21.854037923 OK 12:50:22.039332296 OK 12:50:22.24

FreeBSD HaProxy 502 "bad gateway" errors

2010-03-05 Thread Rudy Kappert
I was getting a lot of 502 bad gateway errors using HaProxy and searched for a solution for a long time. In my log files the following rows appeared: Mar 4 15:23:46 localhost haproxy[13012]: xxx.xxx.xxx.xxx:60541 [04/Mar/2010:15:23:46.696] public dynamic/dynamic_gate2 0/0/0/-1/0 502 204