Open chrfin opened 2 years ago
Looks causing by https://github.com/dotnet/aspnetcore/issues/32307 that in 6.0 ConnectionContext this IFeatureCollection Features
is considered to be in assembly Microsoft.Extension.Features
However WebSocketConnectionContext
implements Features
in assembly Microsoft.AspNetCore.Http.Features
As a result, it believes get_features
is not implemented.
Hi David @davidfowl, do you have insights on how to handle such breaking changes?
There is an on-going effort to fix this issue as tracked in https://github.com/dotnet/aspnetcore/issues/38699
Update, as I just hit the same error again trying to update some dependencies:
The following three packages are required to be kept below v6.*:
* Microsoft.AspNetCore.Connections.Abstractions
* Microsoft.AspNetCore.Http.Connections.Common
* Microsoft.AspNetCore.Http.Connections.Client
The newest v5.* as to date is 5.0.17 and does still work.
@vicancy / @davidfowl Any update on this? v5.0.17 is now deprecated and v8.0.2 still does not work...
@vicancy / @davidfowl Any update on this? v5.0.17 is now deprecated and v8.0.2 still does not work...
Did you get the latest assemblies to work?
@vicancy / @davidfowl Any update on this? v5.0.17 is now deprecated and v8.0.2 still does not work...
Did you get the latest assemblies to work?
I just tried with those 3 packages versions 8.0.2 and 8.0.5 (latest), they DO NOT work 5.0.17 (deprecated) works issue still present
The following three packages are required to be kept below v6.*:
- Microsoft.AspNetCore.Connections.Abstractions
- Microsoft.AspNetCore.Http.Connections.Common
- Microsoft.AspNetCore.Http.Connections.Client
The newest v5.* as to date is 5.0.17 and does still work.
This is still an issue. I updated our nugets and it broke the client-side signalR negotiation. I had to roll these 3 back to 5.0.17 to get it to work.
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 upgradeMicrosoft.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
: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: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 🤓.