Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

405 error with fable client #37

Open
EHotwagner opened this issue Jan 24, 2022 · 0 comments
Open

405 error with fable client #37

EHotwagner opened this issue Jan 24, 2022 · 0 comments

Comments

@EHotwagner
Copy link

When following the counter example outlined in the documentation everything works fine with the dotnet client but the fable client throws a 405 error when negotiating the connection. This is because it sends an options request and not a get request. I got it working by disabling the negotiation phase.

This is somewhat unfortunate since the microsoft documentation tells you that you get this error because you dont have cors enabled and sends you down a different rabbit hole: https://docs.microsoft.com/en-us/aspnet/core/signalr/troubleshoot?view=aspnetcore-6.0

Response code 405

Http status code 405 - Method Not Allowed

The app doesn't have CORS enabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant