You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
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
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.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: