Re: HAProxy "http-request auth" vs Safari WebSockets -- can this marriage be saved?

2018-10-11 Thread Jeremy Friesner
Hi Lukas, Thanks for the patch — I tried it and I think it does help, but now Safari barfs with a different error instead: [Error] WebSocket connection to 'wss://myusername:mypassword@localhost:8080/' failed: Unexpected response code: 401 I suspect this next issue may lie more within

Re: HAProxy "http-request auth" vs Safari WebSockets -- can this marriage be saved?

2018-10-11 Thread Lukas Tribus
Hello Jeremy, On Thu, 11 Oct 2018 at 03:04, Jeremy Friesner wrote: > > [Error] WebSocket connection to 'wss://localhost:8080/' failed: > Invalid HTTP version string: HTTP/1.0 Sounds like it doesn't like the 401 response in HTTP/1.0. Can you try the attached patch (which upgrades 401

HAProxy "http-request auth" vs Safari WebSockets -- can this marriage be saved?

2018-10-10 Thread Jeremy Friesner
Hi all, First, a little background (and my apologies if my questions are very basic, I’m new to HAProxy) — I’ve got an embedded device with a built-in web server that allows the device to be controlled via HTTP requests and/or (more interactively) via WebSockets connections. This all works