I’m trying to set up jitsi on my server, https://meet.brightlight.today/FoolsDropIn. I see the following in the console
WebSocket connection to ‘wss://meet.brightlight.today/xmpp-websocket?room=foolsdropin’ failed:
The four jitsi docker containers are running behind an Apache HTTPD reverse proxy. The HTTPD configuration looks like this:
<VirtualHost *:443>
ServerName meet.brightlight.today
ProxyPass "/" "http://jitsi-web/"
ProxyPreserveHost On
SSLEngine on
SSLCertificateFile "/certs/brightlight.today/fullchain.cer"
SSLCertificateKeyFile "/certs/brightlight.today/brightlight.today.key"
<Location "/xmpp-websocket/">
ProxyPass "ws://jitsi-jvb:4443/xmpp-websocket"
</Location>
<Location "/colibri-ws/">
ProxyPass "ws://jitsi-jvb:4443/colibri-ws/"
</Location>
RewriteEngine On
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteRule ^/?(.*)/ ws://jitsi-jvb:4443/$1 [P,L]
</VirtualHost>
That should be forwarding any WSS requests to WS:jitsi-jvb:4443
I think. The HTTPD error log shows
Connection refused: AH00957: WS: attempt to connect to 10.0.90.67:4443 (*) failed
AH02452: failed to make connection to backend: jitsi-jvb
I was following instructions I found here and there to put this together, but several things might be wrong. First, I’m forwarding to WS:
… rather than WSS:
because SSL termination is done at the reverse proxy, so jvb shouldn’t be doing any SSL communication, right? Port 4443 sure seems like a port that should be https/wss…
Further, when I ss -antl;
I see listening on :9090 and :8080, no :4443. The reason I thought it should be listening on port 4443 is because in my environment configuration I have JVB_TCP_PORT=4443
and JVB_TCP_MAPPED_PORT=4443
.
Are there any other debugging procedures I should be aware of?