Base solution for your next web application
Open Closed

Error: Failed to start the connection: Error: Unable to initialize any of the available transports. #6827


User avatar
0
BobIngham created

angular, dotnetcore, 6.8.0, .net 4.6.1 After a problematical release, the problems all of my own making, I am getting two annoying errors in the console. The deplyment is to Azure, the errors do not appear when I run the solution locally.

Error: Failed to start the connection: Error: Unable to initialize any of the available transports.

Any pointers gratefully received. I have searched the angular project but cannot find any reference to these two errors. I believe it's a SignalR issue but, as the image shows, connection is eventually made.


2 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Duplicate of aspnetzero/aspnet-zero-core#1426 Duplicate of aspnetzero/documents#108

    Enabling WebSockets on Azure App Service Web Apps: https://docs.microsoft.com/en-us/aspnet/signalr/overview/deployment/using-signalr-with-azure-web-sites#enabling-websockets-on-azure-app-service-web-apps

  • User Avatar
    0
    BobIngham created

    Thanks, Aaron. Again.