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

