Comment #39 on issue 123862 by
n...@petrovits.net: WebSocket upgrade
I can replicate the same issue on a new project we are developing as an
intranet web application. Our application is configured to use Windows
Authentication with Kerberos. We had to disable NTLM since our application
requires ticket delegation for impersonation and logging into other servers
Windows servers.
When Chrome attempts a WebSocket connection it fails with the following
error:
WebSocket connection
to 'ws://Application.IntranetDomain/signalr/connect?transport=webSockets&clientProtocol=1.4&connectionToken=TokenReplacedWithThisText%3D%3D&connectionData=%5B%7B%22name%22%3A%22signalrhubname%22%7D%5D&tid=7'
failed: Error during WebSocket handshake: Unexpected response code: 401
jquery.signalR-2.1.0.min.js
Using IE10 and IE11 we are able to establish WebSocket connections, but we
would prefer to deploy the application to our user base as a Chrome
Application. (using an icon launching Chrome with the -app parameter.)
Thankfully SignalR falls back to long polling and Chrome works OK with
Kerberos authentication.
Please let me know if I can provide any more data. I am willing to assist
testing a fix once support for authentication is added to Chrome WebSockets.
Thank you,
Nick