WebSocket connection to 'ws://localhost:52090/sockjs-node/819/yjalqx53/websocket' failed #151

Closed
opened 2025-08-09 17:15:11 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @dergroncki on 2/26/2018

I am using "Microsoft.DotNet.Web.Spa.ProjectTemplates 2.0.0" and I have created the project with "dotnet new react" (no other modification). I use Visual Studio 2017:

image

Now I am getting the following error if I start the application:
WebSocket connection to 'ws://localhost:52090/sockjs-node/819/yjalqx53/websocket' failed: Error during WebSocket handshake: Unexpected response code: 400

The following image is showing the console output of Chrome but the same error is shown with Firefox and Internet Explorer 11 as well:

image

Thanks for helping!

Best regards,
Michael

*Originally created by @dergroncki on 2/26/2018* I am using "Microsoft.DotNet.Web.Spa.ProjectTemplates 2.0.0" and I have created the project with "dotnet new react" (no other modification). I use Visual Studio 2017: ![image](https://user-images.githubusercontent.com/2815398/36667281-a2d3dc60-1aed-11e8-8eca-e1912d7c0611.png) Now I am getting the following error if I start the application: WebSocket connection to 'ws://localhost:52090/sockjs-node/819/yjalqx53/websocket' failed: Error during WebSocket handshake: Unexpected response code: 400 The following image is showing the console output of Chrome but the same error is shown with Firefox and Internet Explorer 11 as well: ![image](https://user-images.githubusercontent.com/2815398/36667039-dac03516-1aec-11e8-86bb-3904a5b289f9.png) Thanks for helping! Best regards, Michael
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#151
No description provided.