I’m testing using proxy servers behind HA Proxy load balancers. The proxy servers on the back end are Symantec’s CSPs (basically Squid running on Windows). Before you ask, no, running Squid on Linux is not supported by Symantec and it does not pass the username through to the cloud service.
With NTLM authentication, most applications work properly. There are a few apps, such as Evernote and Cortana which seem to prompt for credentials endlessly. When going direct to the proxy servers, bypassing the LB, these prompts do not come up.
I’ve set keep alives and persistence in the HA Proxy config but not sure if i’m missing something else. Config below.
Theoretically haproxy should detect this and handle it appropriately.
Which release are you running exactly?
Try adding option prefer-last-server and if that doesn’t help, you can try option http-tunnel instead of http-keep-alive - but do make sure to understand its limitations and disadvantages.
The fact that tunnel-mode makes things worse is troubling …
Not sure what upgrade procedure you used. It depends on OS and process handler. If this is systemd, make sure you update the systemd unit file when switching between 1.7 and 1.8 and consider that 1.7 uses an additional executable (haproxy-systemd-wrapper) while 1.8 does not.
No, all those options are for HTTP mode. I overlooked that you are already in TCP mode. When you are in TCP mode and still have troubles with NTLM, then the problem is not haproxy, there is simply no way for haproxy to intervene.