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
Message invalid protocol Selected 400 - Firefox #390
Comments
That error code means that the client requested a specific WebSocket sub-protocol that we do not know about. The standard code will only proxy clients that don't ask for anything specific. What is the client in this case? It's very odd that it only affects Firefox. All browsers should have the same behaviour for sub-protocols. |
No response |
FYI, I am seeing the same error, with Chrome 85 (macOS) and SSHy over a plain HTTP connection. For me, the problem is that SSHy is asking for "base64" as the websocket protocol, but websockify only supports "binary". Here is the exchange as captured by tcpdump:
|
I've been having major issues serving websockify and for whatever reason I cannot get it working via Firefox.
This works fine in Chrome and IE and edge just not firefox, I keep getting the bellow error, I am using tokens and SSL, I have tried without SSL and can confirm all ports are open. It seems Firefox is having issues.
this is the error I get from a debugged connection:
The text was updated successfully, but these errors were encountered: