Re: SD-termination cause

2019-05-22 Thread Willy Tarreau
Hi Maksim, On Tue, May 21, 2019 at 01:47:30PM +0300, ?? ? wrote: > Hi! > > I've run into some weird problem of many connections failed with SD status > in log. And I have no idea how to discover the source of the problem. > > >From the point of client it looks like this: > * Client

Re: do we consider using patchwork ?

2019-05-22 Thread Willy Tarreau
Hi Ilya, On Thu, May 23, 2019 at 01:29:53AM +0500, ??? wrote: > Hello, > > if we do not like using github PR and Willy receives 2k emails a day... > do we consider using something like that > https://patchwork.openvpn.net/project/openvpn2/list/ ? At least not now, please let's slow

do we consider using patchwork ?

2019-05-22 Thread Илья Шипицин
Hello, if we do not like using github PR and Willy receives 2k emails a day... do we consider using something like that https://patchwork.openvpn.net/project/openvpn2/list/ ? cheers, Ilya Shipitsin

[ANNOUNCE] haproxy-2.0-dev4

2019-05-22 Thread Willy Tarreau
Hi, HAProxy 2.0-dev4 was released on 2019/05/22. It added 83 new commits after version 2.0-dev3. This release completes the integration of a few pending features and the ongoing necessary cleanups before 2.0. A few bugs were addressed in the way to deal with certain connection errors, but

Re: Sticky-table persistence in a Kubernetes environment

2019-05-22 Thread Aleksandar Lazic
Hi Eduardo. That's a pretty interesting question, at least for me. First why do you restart all haproxies at the same time and don't use rolling updates ? https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/ Maybe you can add a init container to update the peers in the

Re: cirrus-ci is red

2019-05-22 Thread Willy Tarreau
On Wed, May 22, 2019 at 03:24:25PM +0500, ??? wrote: > Hello, > > someone is reviewing this https://github.com/haproxy/haproxy/runs/133866993 > ? So apparently we don't have _POSIX_C_SOURCE >= 199309L there, which contradicts the promise in my linux man pages :-/ The docs on opengroup

Re: MEDIUM: Adding upstream socks4 proxy support

2019-05-22 Thread Alec Liu
Hi Willy, Finally got sometime to have the patch revised. I am reusing the "send_proxy_ofs" right now. Due to it was used as some kind of flag for send Proxy Protocol in some places. I have to replace those usage to check the srv->pp_opts. Please help to have a look into it, thank you!

Re: [PATCH v2] BUILD: add sanitizers to travis-ci builds

2019-05-22 Thread Willy Tarreau
On Wed, May 22, 2019 at 08:14:11PM +0500, ??? wrote: > done thank you :-) By the way I was thinking that we should probably start to use the "ci" tag on patch subject lines to cover travis and cirrus. This way even if you perform cross-ci changes (build options etc) you can put them in

Re: [PATCH v2] BUILD: add sanitizers to travis-ci builds

2019-05-22 Thread Илья Шипицин
done ср, 22 мая 2019 г. в 19:18, Willy Tarreau : > Hi Ilya, > > On Wed, May 22, 2019 at 06:37:58PM +0500, ??? wrote: > > build is green now, we can apply this patch (I skipped "linux-ppc64le" > for > > a while) > > It's really easier for me if you attach it again. I'm getting about 2k >

Re: [PATCH v2] BUILD: add sanitizers to travis-ci builds

2019-05-22 Thread Илья Шипицин
ср, 22 мая 2019 г. в 19:18, Willy Tarreau : > Hi Ilya, > > On Wed, May 22, 2019 at 06:37:58PM +0500, ??? wrote: > > build is green now, we can apply this patch (I skipped "linux-ppc64le" > for > > a while) > > It's really easier for me if you attach it again. I'm getting about 2k >

Re: [PATCH v2] BUILD: add sanitizers to travis-ci builds

2019-05-22 Thread Willy Tarreau
Hi Ilya, On Wed, May 22, 2019 at 06:37:58PM +0500, ??? wrote: > build is green now, we can apply this patch (I skipped "linux-ppc64le" for > a while) It's really easier for me if you attach it again. I'm getting about 2k emails a day and having to do dig through archives to pick one

HAProxyConf 2019

2019-05-22 Thread Willy Tarreau
Hi all! As a few of you may remember, we had a small-group HAProxy workshop 3 years ago to see if it would be useful to meet from time to time and it was a great success that we've been impatient to re-edit but much wider, and not limited to developers. Well, time flies, I'm a terrible organizer

Re: [PATCH v2] BUILD: add sanitizers to travis-ci builds

2019-05-22 Thread Илья Шипицин
build is green now, we can apply this patch (I skipped "linux-ppc64le" for a while) ср, 22 мая 2019 г. в 18:37, : > From: Ilya Shipitsin > > full list of changes: > > use TARGET=osx instead of generic for osx builds, > add USE_PCRE_JIT=1, USE_GETADDRINFO=1 to build matrix, > enable address

[PATCH v2] BUILD: add sanitizers to travis-ci builds

2019-05-22 Thread chipitsine
From: Ilya Shipitsin full list of changes: use TARGET=osx instead of generic for osx builds, add USE_PCRE_JIT=1, USE_GETADDRINFO=1 to build matrix, enable address sanitizer for clang --- v2 skip sanitizer on linux-ppc64le .travis.yml | 21 +++-- 1 file changed, 11

Sticky-table persistence in a Kubernetes environment

2019-05-22 Thread Eduardo Doria Lima
Hi, I'm using HAProxy to support a system that was initially developed for Apache (AJP) and JBoss. Now we are migrating it's infrastructure to a Kubernetes cluster with HAProxy as ingress (load balancer). The big problem is this system depends strict to JSESSIONID. Some internal requests made in

Re: RE: haproxy configuration issue

2019-05-22 Thread Aleksandar Lazic
Wed May 22 13:00:58 GMT+02:00 2019 Mortada, Mahmoud : > Haproxy in the debug mode and I tried to access the 3 link https and http:80 > and http:8080 and it doesn’t report anything on the console of the haproxy. > > [root@ies-esd-jiradc-loadb-stage haproxy]# haproxy -f >

Re: Chained HA proxy with proxy protocol not working

2019-05-22 Thread Aleksandar Lazic
You need to add `accept-proxy` keyword in receiving haproxy bind line. https://cbonte.github.io/haproxy-dconv/1.9/configuration.html#5.1-accept-proxy Hth Aleks Wed May 22 14:03:26 GMT+02:00 2019 praveen kumar : > > have a haproxy setup as follow: > > Client --> Haproxy (LOCATION A)-->

Re: [PATCH] wurfl device detection fixes

2019-05-22 Thread Willy Tarreau
Hi Massimiliano, On Tue, May 21, 2019 at 05:23:16PM +0200, Massimiliano Bellomi wrote: > Hi All. > > Here attached you may find a new set of patches related to WURFL module > that should address Christopher and Willy suggestion. Thank you, I've applied them. I tried to add some info to the

Chained HA proxy with proxy protocol not working

2019-05-22 Thread praveen kumar
have a haproxy setup as follow: Client --> Haproxy (LOCATION A)--> HAProxy(LOCATION B)> Server Both HA Proxy are running in TCP mode in both frontend and backend. My server wants to see actual client ip connecting to it, so I have enabled *send-proxy* on location A haproxy and sending it

Haproxy infront of exim cluster - SMTP protocol synchronization error

2019-05-22 Thread Brent Clark
Good day Guys I am busy building a mail gateway for the corp I work for, but with haproxy in front of the MTAs (TLS). The problem we are experiencing is, we are getting the following error message: 2019-05-22 12:23:15 SMTP protocol synchronization error (input sent without waiting for

RE: haproxy configuration issue

2019-05-22 Thread Mortada, Mahmoud
Haproxy in the debug mode and I tried to access the 3 link https and http:80 and http:8080 and it doesn’t report anything on the console of the haproxy. [root@ies-esd-jiradc-loadb-stage haproxy]# haproxy -f /etc/haproxy/haproxy.cfg [WARNING] 141/115311 (1114) : parsing

cirrus-ci is red

2019-05-22 Thread Илья Шипицин
Hello, someone is reviewing this https://github.com/haproxy/haproxy/runs/133866993 ? thanks, Ilya Shipitcin

Re: haproxy configuration issue

2019-05-22 Thread Aleksandar Lazic
Am 22.05.2019 um 11:24 schrieb Mortada, Mahmoud: > Sorry there was a space missing in the if statement after adding the space > service become up normally > > Redirection happened as before with port :8080 in the link can you run haproxy in debug mode and see what's returned by jira. >

Re: [PATCH v2 1/1] BUG/MINOR: mworker: Fix memory leak of mworker_proc members

2019-05-22 Thread Илья Шипицин
more findings https://travis-ci.org/chipitsine/haproxy-1/jobs/535709949#L1938-L1948 ср, 22 мая 2019 г. в 15:12, Илья Шипицин : > here's build with patch applied > > https://travis-ci.org/chipitsine/haproxy-1/jobs/535709947#L604-L608 > > ср, 22 мая 2019 г. в 14:43, William Lallemand : > >> Hi

Re: [PATCH v2 1/1] BUG/MINOR: mworker: Fix memory leak of mworker_proc members

2019-05-22 Thread Илья Шипицин
here's build with patch applied https://travis-ci.org/chipitsine/haproxy-1/jobs/535709947#L604-L608 ср, 22 мая 2019 г. в 14:43, William Lallemand : > Hi Tim, > > Sorry for the delay. > > I added 2 new lines in your patch: > > On Thu, May 16, 2019 at 08:23:22PM +0200, Tim Duesterhus wrote: > >

Re: [PATCH v2 1/1] BUG/MINOR: mworker: Fix memory leak of mworker_proc members

2019-05-22 Thread William Lallemand
Hi Tim, Sorry for the delay. I added 2 new lines in your patch: On Thu, May 16, 2019 at 08:23:22PM +0200, Tim Duesterhus wrote: > +void mworker_free_child(struct mworker_proc *child) { > + if (child == NULL) return; > + Which became: > +void mworker_free_child(struct mworker_proc *child)

RE: haproxy configuration issue

2019-05-22 Thread Mortada, Mahmoud
Sorry there was a space missing in the if statement after adding the space service become up normally Redirection happened as before with port :8080 in the link [cid:image001.png@01D51090.F99DC8A0] Regards, Mahmoud Mortada -Original Message- From: Mortada, Mahmoud Sent:

RE: haproxy configuration issue

2019-05-22 Thread Mortada, Mahmoud
Hi Aleksandar, Yes I do Jira redirection configuration. After adding the below line haproxy service not able to start. http-response set-header location %[res.hdr(location),regsub(:8080/,/)] if { res.hdr(location) -m found } May 22 10:06:59 ies-esd-jiradc-loadb-stage

Re: haproxy configuration issue

2019-05-22 Thread Aleksandar Lazic
Hi Mahmoud. Am 21.05.2019 um 14:57 schrieb Mortada, Mahmoud: > Hi Aleksandar, > > Thanks for your reply. > > My main issue when I tried to access > http://ies-esd-jiradc-loadb-stage.ies.mentorg.com:8080  it works but redirect > me > to https://ies-esd-jiradc-loadb-stage.ies.mentorg.com:8080 >