Hello,
does it make sense to connect to a WebSocked Enpoint via HTTP GET Request? What exactly should this do?
I use websocket instead of BOSH to connect from Jitsi Web Page too prosody XMPP Server.
The only thing I get is an error 500 on Apache and in the logfile:
SourceCode: XmppConnection.js#L328
ApacheLogfile with Error 500
"GET /xmpp-websocket?room=test500 HTTP/2.0" **500** 618 "https://meet.example.de/test500" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/80.0.3987.163 Chrome/80.0.3987.163 Safari/537.36"
My Apache conf for this URL
## XMPP via WebSocket
ProxyPass "/xmpp-websocket" "ws://localhost:5280/xmpp-websocket"
ProxyPassReverse "/xmpp-websocket" "ws://localhost:5280/xmpp-websocket"
And on Chrome Console:
XmppConnection.js:330 GET https://meet.gymnasiumsteglitz.de/xmpp-websocket?room=test500 500
Logger.js:154 2020-04-26T17:17:46.003Z [modules/xmpp/XmppConnection.js] <d._maybeStartWSKeepAlive>: Scheduling next WebSocket keep-alive in 133734.4168300808ms
XmppConnection.js:330 GET https://meet.gymnasiumsteglitz.de/xmpp-websocket?room=test500 500
Logger.js:154 2020-04-26T17:20:00.551Z [modules/xmpp/XmppConnection.js] <d._maybeStartWSKeepAlive>: Scheduling next WebSocket keep-alive in 178128.69091464055ms
Prosody accept this request, but for what?
curl -v -H "Host: meet.example.de" "http://localhost:5280/xmpp-websocket/"
<!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>