Last post Aug 06, 2015 10:01 AM by raghav-puri
Jul 31, 2015 12:09 PM|jceddy|LINK
I'm running SignalR built against .NET 4.5.1. On Windows Server 2008 R2 it runs without a hitch, but when I set it up on Windows Server 2012 R2 (running IIS 8.5), I get the following error when the webSocket connection is attempted:
WebSocket connection to 'wss://.../webVision/0.2.0.0/signalr/connect?transport=webSo…NC9BK4aN6cDWcF&connectionData=%5B%7B%22name%22%3A%22basehub%22%7D%5D&tid=7' failed: Error during WebSocket handshake: Unexpected response code: 500
I have the framework specified in Web.Config:
<compilation debug="true" targetFramework="4.5.1" />
<httpRuntime targetFramework="4.5.1" />
The posts I can find regarding similar circumstances all reference framework version 4.5.
Will this just not work with framework version 4.5.1?
Aug 03, 2015 05:42 PM|raghav-puri|LINK
Please install the WebSocket Protocol feature using below steps:
1. Open Server Manager and select "Add Roles and Features"
2. Select WebSocket under Web Server (IIS) - Web Server - Application Development
Aug 05, 2015 09:25 AM|jceddy|LINK
This is already enabled:
Aug 06, 2015 10:01 AM|raghav-puri|LINK
Based on error message, it seems we are getting 500 error. can you please enable Failed Event tracing for 500 status code on IIS server and share the logs.
Here is the instructions for enabling Failed Event Tracing -