Hi Willy, I have kept F5 pressed for number of seconds. Then I checked the status page and saw which node was active in the traffic. The first one only had something in the rest had zeroes. I tried that from different browsers even different PCs and it has always gone to the first node on the list :/.
As soon as I fired up haproxy 1.5 with the same config keeping F5 pressed for number of second result in the load being spread across the backend as every single one had some bytes transferred in and out and also status page which tells which node you're connected to was displaying different results every time I refreshed the page so... it's not the connection open. Thank you. On 29 January 2014 11:33, Willy Tarreau <[email protected]> wrote: > Hi Thorvald, > > On Wed, Jan 29, 2014 at 11:08:26AM +0000, Thorvald Hallvardsson wrote: > > Hi guys, > > > > I have set up a TCP load balancer in haproxy and set the balance to round > > robin. Looking at the stats page and the test pages I have got it doesn't > > seem to work and it always goes to the first node from the list. > > > > When I switched that to haproxy 1.5 for a test with the same config it > did > > work without any problems. > > > > Any ideas ? Maybe I'm missing something ? > > I don't even see how it could not work, it's the most basic setup. In order > to see if there was any error in your config, I loaded it here and it > worked > as expected. > > How are you doing your tests ? Are you using your browser ? If so, I > suspect > that it's simply because your browser keeps the connection open during all > your > browsing session. The fact that it worked with 1.5 is totally random and > probably results in the browser more agressively renewing the connections > after some errors encountered during the set up. > > Regards, > Willy > >

