V1.8 balance source only 1 backend server gets traffic

seems like Haproxy v1.8 does not distribute load to more than 1 backend server with “balance source” and default map-based hash-type.
Consistent hash-type works ok however…

I’m having the same issue using URL or static-rr

Could it be your HAProxy is behind another server, not directly exposed to the internet? In that case the source is always the same.

It was a bug in the code which is now fixed: http://git.haproxy.org/?p=haproxy-1.8.git;a=commit;h=22ca440f0ab444336deadc992059e2b5510b8c1d

1 Like