-
Notifications
You must be signed in to change notification settings - Fork 370
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
failed: Error during WebSocket handshake: Unexpected response code: 404 #513
Comments
I stumbled upon this issue while searching for another one that's unrelated. But while I'm here I want to comment on this. You have enabled BOSH in your prosody and the endpoint /http-bind is correct. But BOSH is not Websocket, these are two completely different things that just have the same goal in this case. You can't connect a websocket at a BOSH endpoint. Either you enable Websocket in your prosody which will enable the endpoint /xmpp-websocket by default, or you keep your prosody configuration as-is and configure your client to use BOSH at the /http-bind endpoint. |
Hi,
I have prosody server with nginx set up on my localhost, which run fine together with other xmpp web clients like converse.js. But I'm banging my head to make Candy chat working, as I get this error, whatever configs that choose:
WebSocket connection to 'ws://127.0.0.1:5280/http-bind' failed: Error during WebSocket handshake: Unexpected response code: 404
Here is my config index.html:
And
/etc/nginx/sites-available/default
:And
/etc/prosody/prosody.cfg.lua
:Browser console error log:
This problems bugs me for sooo long. So appreciate your hints to resolve it.
Thanks
The text was updated successfully, but these errors were encountered: