WebSocket connection failed

Whenever I try to connect to Jitsi using WebSockets via lib-jitsi-meet, I’m getting this error:

I already configured nginx, added smacks and websocket to prosody, set openBridgeChannel to websocket… what am I missing?

Check your nginx logs for errors.

Here’s what it shows.

Your first posted screenshot show an error about websockets. Then your second screenshot shows an error with Bosh. Did you change your config.js between the 2 ? Because Prosody config can’t order the client to connect to Prosody using websockets or Bosh (the 2 only options available). Connection method is configured in config.js (the only config file available for a Javascript application). Can you actually connect using a plain browser instead of your app ?