Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Compiling out of the box ASP Core 2.0 app w/angular on Win 7. Errors out .. "Websocket protocol not supported ..."

$
0
0

I am running..

  • Win 7
  • ASP Core 2.0
  • Angular 5 - Project Template
  • Node.js - v10.0.1

basic out of the box app, no mods made.

The build goes good. When I go to run the app, I see "Loading..." in the browser and nothing happens after. In the debug window I see:

System.PlatformNotSupportedException: The WebSocket protocol is not supported on this platform.

I searched around the web and it seems a known issue that Win 7 doesn't support WebSockets. I don't know if there is a way at all to get this thing working? Any third party tools I can install, make some mods to config files, etc? ... Any help / direction would be appreciated. Below is the trace:

System.PlatformNotSupportedException: The WebSocket protocol is not supported on this platform.
at System.Net.WebSockets.WebSocketValidate.ThrowPlatformNotSupportedException()
at System.Net.WebSockets.WebSocketHandle.CheckPlatformSupport()
at System.Net.WebSockets.ClientWebSocket..ctor()
at Microsoft.AspNetCore.SpaServices.Extensions.Proxy.SpaProxy.<AcceptProxyWebSocketRequest>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.SpaServices.Extensions.Proxy.SpaProxy.<PerformProxyRequest>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Builder.SpaProxyingExtensions.<>c__DisplayClass2_0.<<UseProxyToSpaDevelopmentServer>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__7.MoveNext()


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>