/_blazor/negotiate?negotiateVersion=1:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)

Gábor Fábián 1 Reputation point
2021-05-27T20:08:23.827+00:00

Dear Microsoft!

I want to ask for help with the following error:

I have a Blazor Web Application in Azure. Its worked fine, and suddenly the Azure Signal IR service discinnected, and i cant to reconnect. The only error message i got:

/_blazor/negotiate?negotiateVersion=1:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Azure SignalR Service is not connected yet, please try again later.

What can i do?
I read this post, but i cant find a sollution
https://github.com/Azure/azure-signalr/blob/c764ee716b0b6079d4085c1c68d02c29be3c8aea/docs/tsg.md#troubleshooting-guide-1

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,595 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
146 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Henry Zaragoza 1 Reputation point
    2022-04-03T17:01:58.473+00:00

    I experience this issue in .net 5 SignalR

    [Message]: Method not found: 'Microsoft.AspNetCore.Http.Features.IFeatureCollection Microsoft.AspNetCore.Connections.BaseConnectionContext.get_Features()'.
    [Exception Message]: Method not found: 'Microsoft.AspNetCore.Http.Features.IFeatureCollection Microsoft.AspNetCore.Connections.BaseConnectionContext.get_Features()'.
    [Stack Trace]: at Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionContext..ctor(String connectionId, String connectionToken, ILogger logger)
    at Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionManager.CreateConnection(PipeOptions transportPipeOptions, PipeOptions appPipeOptions, Int32 negotiateVersion)
    at Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionDispatcher.CreateConnection(HttpConnectionDispatcherOptions options, Int32 clientProtocolVersion)
    at Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionDispatcher.ProcessNegotiate(HttpContext context, HttpConnectionDispatcherOptions options, ConnectionLogScope logScope)
    at Microsoft.AspNetCore.Http.Connections.Internal.HttpConnectionDispatcher.ExecuteNegotiateAsync(HttpContext context, HttpConnectionDispatcherOptions options)
    at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.Invoke(HttpContext context)

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.