Skip to content

Getting "Azure SignalR Service is not connected yet, please try again later." when upgrading Microsoft.AspNetCore.Http.Connections.Client to 6.0.0.0 #1503

@chrfin

Description

@chrfin

Describe the bug

I have a classic ASP.NET MVC project targeting .NET 4.7.1 using SignalR and Microsoft.Azure.SignalR.AspNet.
If I upgrade Microsoft.AspNetCore.Http.Connections.Client from 5.0.12.0 to 6.0.0.0 I get the following error with status code 500 when the client calls /negotiate:

Azure SignalR Service is not connected yet, please try again later.

To Reproduce

Create a classic ASP.NET MVC project and use the packages mentioned above.

Exceptions (if any)

I do not get any exceptions, just the mentioned 500 during negotiation.

Further technical details

I'm using 1.13.0 of the Microsoft.Azure.SignalR.AspNet package and when I enable logging like described HERE I get the following log entry:

Microsoft.Azure.SignalR Error: 0 : [Microsoft.Azure.SignalR.AspNet.ServiceConnection]Failed to connect to '(Primary)https://MY-SERVICE.service.signalr.net', will retry after the back off period. Error detail: Method 'get_Features' in type 'Microsoft.Azure.SignalR.WebSocketConnectionContext' from assembly 'Microsoft.Azure.SignalR.Common, Version=1.13.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' does not have an implementation.. Method 'get_Features' in type 'Microsoft.Azure.SignalR.WebSocketConnectionContext' from assembly 'Microsoft.Azure.SignalR.Common, Version=1.13.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' does not have an implementation.. Id: a23d8224-6c1d-4ef7-bbe0-5f150a299275

I guess there was a property changed with v6 of the Microsoft.AspNetCore.Http.* classes.
If you can't reproduce with the given information, please tell me and I will create a repro-repo 🤓.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions