question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WebSocket connection to xmpp-websocket failed

See original GitHub issue

I have a standard Jitsi Meet Docker stable-6433 setup. I have problem with WebSocket connection. I do not have error in Jist web container.

I’d greatly appreciate any pointers to help fix the issue.

Jitsi Web Logs:

"GET /xmpp-websocket?room=test HTTP/1.1" 403 284 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"

Chrome screenshot image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
saghulcommented, Jan 14, 2022

Right. This setup is designed to work by default, as is, in a single host compose setup. Anything that deviates from that may require tweaking. I don’t think there is a way to have a default configuration that works for every possible environment.

0reactions
vkruosocommented, Jan 14, 2022

Hi @saghul ! It was the nginx container that were responding with 403.

I’ve solved this but I’m not sure why. The cluster was on GCP when this happened, so there could be something with the network there, or it might just be some variable I’ve missed before. I’ve moved to AWS and things worked without much change. Also, the colibri websocket was a challenge: I was having issues with low quality streams and it turns out the colibri-ws is essential for the negotiation of those stream qualities, so my mistake was the JVB_WS_SERVER_ID, that needed to be a hostname / ip internally accessible of the JVB.

Thanks for your pointers!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jitsi Meet in Docker Container: Websocket error
WebSocket connection to 'wss://jitsi.example.com/xmpp-websocket?room=strangeshopsincorporateagain' failed: Error during WebSocket handshake: ...
Read more >
Websocket - Error detected; session - Openfire
I changed the BOSH protocol to websocket and the error below is frequently occurring ... XmppWebSocket@3983bad6],behavior=SERVER,connection= ...
Read more >
ejabberd connection failed with webclient(websocket.js)
This was just problem with web-socket client, it was using old web-socket protocol version, that was available before xmpp over web-socket ...
Read more >
RFC 7395: An Extensible Messaging and Presence Protocol ...
RFC 7395 XMPP over WebSocket October 2014 If a client receives a handshake ... Sec-WebSocket-Protocol: xmpp [WebSocket connection established] C: <open ...
Read more >
Jitsi Meet in Docker Container: Websocket error - Server Fault
WebSocket connection to 'wss://jitsi.example.com/xmpp-websocket?room=strangeshopsincorporateagain' failed: Error during WebSocket handshake: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found