Hi to all, i have a question about errors in nginx log about ws sessions, like this:
2022/01/25 10:18:31 [error] 1123#1123: *59790 recv() failed (104: Connection reset by peer) while proxying upgraded connection, client: 83.216.185.228, server: meet.er.cgil.it, request: "GET /xmpp-websocket?room=mo-primaesp22-286-incontro-in-videoconferenza-21-gennaio-2022 HTTP/1.1", upstream: "http://127.0.0.1:5280/xmpp-websocket?prefix=&room=mo-primaesp22-286-incontro-in-videoconferenza-21-gennaio-2022", host: "meet.er.cgil.it"```
my installation versions:
ii jitsi-meet-prosody 1.0.5675-1 all Prosody configuration for Jitsi Meet
ii prosody 0.11.11-1~focal1 amd64 Lightweight Jabber/XMPP server
and jitsi
ii jitsi-meet 2.0.6726-1 all WebRTC JavaScript video conferences
ii jitsi-meet-prosody 1.0.5675-1 all Prosody configuration for Jitsi Meet
ii jitsi-meet-turnserver 1.0.5675-1 all Configures coturn to be used with Jitsi Meet
ii jitsi-meet-web 1.0.5675-1 all WebRTC JavaScript video conferences
ii jitsi-meet-web-config 1.0.5675-1 all Configuration for web serving of Jitsi Meet
ii jitsi-videobridge2 2.1-595-g3637fda4-1 all WebRTC compatible Selective Forwarding Unit (SFU)
I dont know why this problem happens i asked to some users and apparently all goes smoothly without problem in conferences.
Thanks in advance for helping me.
clients have 2 ways of connecting to Prosody: bosh and xmpp-websockets (to not be confused with jvb websockets). Bosh works ‘out of the box’, while xmpp-websockets require an additional configuration. You have probably enabled the websockets in your config.js without having completed the xmpp websockets configuration, so clients attempt to use xmpp-websockets, then after having failed, use bosh and succeed.
You can comment out the xmpp websocket instruction in the config.js and the error message will go away. Or you try to configure xmpp-websockets,
Hi @gpatel-fr i rechecked to day with my colleagues; i tested the url with curl like this
curl GET http://127.0.0.1:5280/xmpp-websocket
and i receive this output
<!DOCTYPE html><html><head><title>Websocket</title></head><body>
<p>It works! Now point your WebSocket client to this URL to connect to Prosody.</p>
</body></html>
I dont know if this is a good method to check that xmpp-websocket works but anyway…
In nginx error.log i can see xmpp-websocket error but not for all requests