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

CORS Error #101

Open
davide-sys opened this issue Nov 14, 2024 · 1 comment
Open

CORS Error #101

davide-sys opened this issue Nov 14, 2024 · 1 comment

Comments

@davide-sys
Copy link

I used to authenticate through Authorization header:

HubConnectionBuilder() .withUrl(url, options: HttpConnectionOptions(accessTokenFactory: auth.authorization)) .build()

This works without any problem with version 1.3.9

But when I upgrade to version 1.4.0 the negotiation fails, the browser says "CORS Error"

@davide-sys
Copy link
Author

Enabling logging I get this error:
Failed to start the transport 'HttpTransportType.WebSockets': Unsupported operation: Platform._version

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