On Thu, Mar 02, 2023 at 02:39:25PM +0100, Jack Bauer wrote: > Hi, > [...] > Therefore it might be necessary to understand how haproxy chooses the > client-ip-port when creating new tcp connections to backend servers. > Especially how haproxy behaves when a connection attempt fails and a retry > is triggered because this retry might change the backend server. > Will the retry use the same client port? If yes, is this intended? >
It seems you do not use 'option redispatch' in your configuration so a retry will never be conducted on another server. Therefore, your problem is probably not related to haproxy retries. -- Amaury Denoyelle