-
Notifications
You must be signed in to change notification settings - Fork 115
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
WebSocketException: Connection to #server failed because the connection was not upgraded to websocket #95
Comments
I had the same problem when I upgraded to 1.4.0 without changing any settings. So I went back to 1.3.9. |
@autocar is it working after downgrading to 1.3.9? |
any update for this problem :( |
@hoaq139 use 1.3.9 it's working |
So instead of adding 'Bearer' string with the token. Just send the token in accessTokenFactory and it will work. |
In version 1.4.0, the connection is not established whether or not "Bearer" is added as a header to the accessTokenFactory parameter. |
Hi,
Since the transition from 1.3.9 to 1.4.0 I can no longer establish a connection with the SignalR server, the error states:
WebSocket connection to #server failed: WebSocketException: Connection to #server was not upgraded to websocket
No settings have been changed, and when I go back to 1.3.9, no more problems.
About settings :
I noticed since 1.4.0 there is a "0" port, which for me is not normal, namely that I don't specify the connection port in my configuration because it's the default SSL port: 443
But even specifying port 443, I have the same error :
But it is no longer specified "0" before the hashtag :
I think my problem comes from the modification of how the "access_token" went in 1.4.0 :
Indeed, in my project I have a double authentication, via an application token (valid for 1 year), and via the user's token (short duration).
The text was updated successfully, but these errors were encountered: