Skip to content

405 error with fable client #37

@EHotwagner

Description

@EHotwagner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions