Re: Failed to use the source address for outgoing connections

2013-04-23 Thread Godbach
Hi, (it's strange I didn't get the original e-mail). On Tue, Apr 23, 2013 at 6:27 AM, Godbach nylzhao...@gmail.com wrote: Hi, all I have tested 'source' config in haproxy-1.5-dev18, but it didn't work with the following line in default section: source 0.0.0.0 usesrc clientip Other

Re: Implementing a simplest load balancer for socket based servers

2013-04-23 Thread Willy Tarreau
On Tue, Apr 23, 2013 at 10:31:52AM +0400, Md Mahbubul Islam wrote: Hi Willy, Thank you very much for your reply. Your assumption is correct . I am using TCP. The load-balancer and all other servers are Java socket servers. From your mail I got the idea that if I could pass the client's file

Re: Failed to use the source address for outgoing connections

2013-04-23 Thread Willy Tarreau
On Tue, Apr 23, 2013 at 02:44:17PM +0800, Godbach wrote: Hi, (it's strange I didn't get the original e-mail). On Tue, Apr 23, 2013 at 6:27 AM, Godbach nylzhao...@gmail.com wrote: Hi, all I have tested 'source' config in haproxy-1.5-dev18, but it didn't work with the following line in

Re: To detect when TCP connection goes down

2013-04-23 Thread Jose María Zaragoza
Hi, Baptiste Hi, 1. you can use a client timeout (and a server timeout too) 2. You can use the observe feature for this purpose. Read the doc, it points to a few other keyword which may help as well. Baptiste Thanks for your answer If a client ( socket ) tries to connect to HA Proxy

Re: Failed to use the source address for outgoing connections

2013-04-23 Thread Godbach
On Tue, Apr 23, 2013 at 02:44:17PM +0800, Godbach wrote: Hi, (it's strange I didn't get the original e-mail). On Tue, Apr 23, 2013 at 6:27 AM, Godbach nylzhao...@gmail.com wrote: Hi, all I have tested 'source' config in haproxy-1.5-dev18, but it didn't work with the following line in

SV: VS: Haparoxy hangs in one minute on config reload

2013-04-23 Thread Borgen, Terje
Hi Willy. I am sorry it took so long. We got another problem that got my full attention for months. Firewall issues with database connections. This is now solved and today this HAProxy reload problem occurred again. We have checked the logs and it's not the first time after we added option

fullconn

2013-04-23 Thread Jose María Zaragoza
Hello: I'm reading about fullconn parameter in https://code.google.com/p/haproxy-docs/wiki/fullconn and I don't get the example # The servers will accept between 100 and 1000 concurrent connections each # and the maximum of 1000 will be reached when the backend reaches 1 # connections.

Re: SV: VS: Haparoxy hangs in one minute on config reload

2013-04-23 Thread Willy Tarreau
Hi Terje, On Tue, Apr 23, 2013 at 11:17:13AM +0200, Borgen, Terje wrote: Hi Willy. I am sorry it took so long. We got another problem that got my full attention for months. Firewall issues with database connections. This is now solved and today this HAProxy reload problem occurred again. We

SV: SV: VS: Haparoxy hangs in one minute on config reload

2013-04-23 Thread Borgen, Terje
Hi Willy, Thanks, we will try this ASAP. Regards Terje -Opprinnelig melding- Fra: Willy Tarreau [mailto:w...@1wt.eu] Sendt: tirsdag, april 23, 2013 11:26 Til: Borgen, Terje Kopi: 'haproxy@formilux.org' Emne: Re: SV: VS: Haparoxy hangs in one minute on config reload Hi Terje, On Tue,

appsession not sticking?

2013-04-23 Thread Matthew Wild
Hi, I'm setting up a new haproxy deployment, and am having some problems trying to get sessions correctly sticking to backend servers. Since it's new, it's worth firstly checking that I haven't made any configuration mistakes, I'm currently testing with this:

Re: HA Proxy FTP Load Balancing Timeout

2013-04-23 Thread Alok Kumar
Hi Ben, Is there any suggestion, that I can try in our HA Proxy config.   Regards, Alok From: Ben Timby bti...@gmail.com To: Alok Kumar a_sa...@yahoo.com Cc: haproxy@formilux.org haproxy@formilux.org Sent: Thursday, April 18, 2013 3:46 PM Subject: Re: HA

Re: Haproxy support for passing HTTP CONNECT requests directly to the backend

2013-04-23 Thread Pasi Kärkkäinen
On Tue, Apr 23, 2013 at 07:50:56AM +0200, Willy Tarreau wrote: Hi, On Tue, Apr 23, 2013 at 05:29:26AM +0300, Pasi Kärkkäinen wrote: Hello, Is it currently possible to pass HTTP CONNECT requests directly to the backend server? So haproxy itself shouldn't try to connect anywhere,

Unable to load SSL private key from PEM file

2013-04-23 Thread Tim Verhoeven
Hi, I'm trying to get haproxy 1.5 dev18 to load my production certificate (it is working fine with a self-signed one). And I'm getting this error: [ALERT] 112/151354 (11224) : parsing [/etc/haproxy/haproxy.cfg:69] : 'bind ip:443' : unable to load SSL private key from PEM file

Re: Haproxy support for passing HTTP CONNECT requests directly to the backend

2013-04-23 Thread Willy Tarreau
On Tue, Apr 23, 2013 at 04:30:12PM +0300, Pasi Kärkkäinen wrote: On Tue, Apr 23, 2013 at 07:50:56AM +0200, Willy Tarreau wrote: Hi, On Tue, Apr 23, 2013 at 05:29:26AM +0300, Pasi Kärkkäinen wrote: Hello, Is it currently possible to pass HTTP CONNECT requests directly to the

Re: Haproxy support for passing HTTP CONNECT requests directly to the backend

2013-04-23 Thread Pasi Kärkkäinen
On Tue, Apr 23, 2013 at 04:10:55PM +0200, Willy Tarreau wrote: On Tue, Apr 23, 2013 at 04:30:12PM +0300, Pasi Kärkkäinen wrote: On Tue, Apr 23, 2013 at 07:50:56AM +0200, Willy Tarreau wrote: Hi, On Tue, Apr 23, 2013 at 05:29:26AM +0300, Pasi Kärkkäinen wrote: Hello, Is it

Re: Unable to load SSL private key from PEM file

2013-04-23 Thread Ian Scott
On 04/23/2013 06:31 AM, Tim Verhoeven wrote: Hi, I'm trying to get haproxy 1.5 dev18 to load my production certificate (it is working fine with a self-signed one). And I'm getting this error: [ALERT] 112/151354 (11224) : parsing [/etc/haproxy/haproxy.cfg:69] : 'bind ip:443' : unable to load

Re: tcp loadbalancing

2013-04-23 Thread Baptiste
Hi, Could you take a capture of this check from the server? In TCP mode, HAProxy manages buffers and just forward them in both ways (client to server and vice-versa). Baptiste On Wed, Apr 24, 2013 at 4:59 AM, ZeN z...@pix.co.id wrote: Hello please bear with because i'm new with haproxy.

Re: fullconn

2013-04-23 Thread Baptiste
Hi, Long time nobody asked for fullconn information :) fullconn allows HAProxy to manage connections on your server. It means that HAProxy will increase connection opened on the server, from minconn to maxconn. And maxconn will be reached when the number of connection on the backend is equal to

Re: appsession not sticking?

2013-04-23 Thread Baptiste
Hi Mattew, You can first send us your configuration :) Browser are supposed to send cookies over 2 different connections for the same domain. So maybe you could log the Host header and the Set-Cookie header as well. Baptiste On Tue, Apr 23, 2013 at 11:54 AM, Matthew Wild mwi...@gmail.com