Last post Apr 06, 2016 10:03 AM by Fei Han - MSFT
Apr 02, 2016 03:53 AM|Sohel Vali|LINK
While i load my page i get below error in console (some times its working fine), i am using (jquery.signalR-2.0.1.js) as a refernce
getting below error in console :
WebSocket connection to 'ws://extractstaging.doctorevidence.com/signalr/connect?transport=webSockets&connectionToken=75OV4CNjYkkwAQCMiAkVVH64CHiyoktMqk6IeUJ2fQ8sx1ytq3F5KvhfJljpoLuRMeEILSVpizihZ5eAAMyU%2Fpv2a1Iz6xUFaVE%2FrL1ZtHv410tt&connectionData=%5B%7B%22name%22%3A%22messagehub%22%7D%5D&tid=3'
failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET
Apr 03, 2016 03:14 PM|deepalgorithm|LINK
I suspect its because you didn't enable web sockets on IIS. It works sometimes because it falls back to one of the other transports (long polling, server events, forever frame).
I'm not sure what version of IIS you are using, but for Follow these steps to enable web sockets on IIS 8
This is for server 2012.
Apr 04, 2016 12:38 PM|Sohel Vali|LINK
Web Socket is already enabled on server.
Apr 06, 2016 10:03 AM|Fei Han - MSFT|LINK
Hi Sohel Vali,
According to your description, the errors appear accidentally, so it could be difficult for us to reproduce the issue on our sides. You could try to enable tracing in your SignalR application to troubleshoot connection issues.