Open k0fi opened 6 years ago
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