aspnet / SignalR

[Archived] Incredibly simple real-time web for ASP.NET Core. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
2.38k stars 446 forks source link

405 Method Not Allowed in Chrome #3191

Closed tomchavakis closed 6 years ago

tomchavakis commented 6 years ago

Configuration dotnet core Chrome Version : 70.0.3538.67 (Official Build) (64-bit) Nuget : Microsoft.AspNetCore.App --> 2.1.5 Angular signalR version -->@aspnet/signalr 1.0.4 OS : Linux - Ubuntu

There is a random generated issue about singalR in Google Chrome at the negotiate phase. This behavior occurred only at GET Method and the error message is 405 (Method Not Allowed).

Failed to complete negotiation with the server: Error: Method Not Allowed.

The POST negotiate call doesn't appear any issue. Moreover when I run the application at Google incognito mode the error doesn't appear.

BrennanConroy commented 6 years ago

The only time we send a GET request is when using the LongPolling transport which would be after negotiate is done.

Could you collect a fiddler or network trace showing the issue please?

tomchavakis commented 6 years ago

Attached you will find the .har of the negotiation process.

signalr.zip

Thank's

tomchavakis commented 6 years ago

Issue occurred due to a security software which is installed to my computer, after uninstall it, the issue resolved. Thank's for the support !!!