Re: Random 502's and instant 504's after upgrading

2019-07-22 Thread Sander Klein
On 2019-07-22 13:05, Sander Klein wrote: On 2019-07-22 10:59, Christopher Faulet wrote: Le 20/07/2019 à 19:50, Sander Klein a écrit : Sorry, I forgot to mention, I pushed another patch that may help you. In HAProxy 2.0, it is the commit 0bf28f856 ("BUG/MINOR: mux-h1: Close server connection if

Re: Random 502's and instant 504's after upgrading

2019-07-22 Thread Sander Klein
On 2019-07-22 10:59, Christopher Faulet wrote: Le 20/07/2019 à 19:50, Sander Klein a écrit : Sorry, I forgot to mention, I pushed another patch that may help you. In HAProxy 2.0, it is the commit 0bf28f856 ("BUG/MINOR: mux-h1: Close server connection if input data remains in h1_detach()"). I

Re: Random 502's and instant 504's after upgrading

2019-07-22 Thread Christopher Faulet
Le 20/07/2019 à 19:50, Sander Klein a écrit : I just pathed up 2.0.2 and tested it. I still get 502's but a lot less. I'm not sure if this is because I do less request/s or I hit something else. The show errors show: --- [20/Jul/2019:19:34:45.629] backend cluster1-xx (#11): invalid response

Re: Random 502's and instant 504's after upgrading

2019-07-20 Thread Sander Klein
On 2019-07-19 14:05, Christopher Faulet wrote: Le 19/07/2019 à 09:36, Sander Klein a écrit : --- HTTP/1.1 200 OK Server: nginx Date: Fri, 19 Jul 2019 07:32:03 GMT Content-Type: application/json; charset=UTF-8 Transfer-Encoding: chunked Vary: Accept-Encoding Vary:

Re: Random 502's and instant 504's after upgrading

2019-07-19 Thread Christopher Faulet
Le 19/07/2019 à 09:36, Sander Klein a écrit : The show errors: --- Total events captured on [19/Jul/2019:08:34:25.093] : 31 [19/Jul/2019:08:34:23.405] backend cluster1-xx (#11): invalid response frontend webservices (#18), server xxx (#2), event #30, src x.x.x.x:63290 buffer starts at

Re: Random 502's and instant 504's after upgrading

2019-07-19 Thread Sander Klein
Hi Lukas and Christopher, I've combined the answer of your 2 mails. On 2019-07-18 17:17, Lukas Tribus wrote: Could be related to: https://github.com/haproxy/haproxy/issues/176 Probably, but I'm not doing HTTP/1 and I have not found a request to reproduce it with. It happens at random.

Re: Random 502's and instant 504's after upgrading

2019-07-18 Thread Christopher Faulet
Le 18/07/2019 à 16:50, Sander Klein a écrit : On 2019-07-18 09:15, Sander Klein wrote: Hi, Last night I tried upgrading from haproxy 1.9.8 to 2.0.2. After upgrading I get random 502's and random instant 504's when visiting pages. Just tested with 'no option http-use-htx' in the defaults

Re: Random 502's and instant 504's after upgrading

2019-07-18 Thread Lukas Tribus
Hello, On Thu, 18 Jul 2019 at 16:51, Sander Klein wrote: > > On 2019-07-18 09:15, Sander Klein wrote: > > Hi, > > > > Last night I tried upgrading from haproxy 1.9.8 to 2.0.2. After > > upgrading I get random 502's and random instant 504's when visiting > > pages. > > > Just tested with 'no

Re: Random 502's and instant 504's after upgrading

2019-07-18 Thread Sander Klein
On 2019-07-18 09:15, Sander Klein wrote: Hi, Last night I tried upgrading from haproxy 1.9.8 to 2.0.2. After upgrading I get random 502's and random instant 504's when visiting pages. Just tested with 'no option http-use-htx' in the defaults section and then my problems went away. Seems

Random 502's and instant 504's after upgrading

2019-07-18 Thread Sander Klein
Hi, Last night I tried upgrading from haproxy 1.9.8 to 2.0.2. After upgrading I get random 502's and random instant 504's when visiting pages. For the 502's I see the following in the log: Jul 18 08:14:09 HOST haproxy[2003]: xxx:xxx:xxx:xxx:xxx::xxx [18/Jul/2019:08:14:09.133] cluster1-in~