Error during WebSocket handshake
-
@julian said in Error during WebSocket handshake:
@Yokokoyo Not 100% sure if CloudFlare proxy or rocket loader works with NodeBB. Please disable it (grey clouds) and try to see if this issue is resolved?
I can stand for it that the cloudflare websocket proxy works fine with NodeBB. I'm using the free plan and it states that the volume of concurrent connections is low, but it didn't run in troubles.
However, disabling cloudflare protection by enabling the grey cloud is a great way to troubleshoot
-
In that case, I would suspect something in between causing interruptions with the websocket connection (e.g. ISP, firewall, etc). Sometimes setting up SSL helps, but no guarantees.
Without websockets, NodeBB will drop down to xhr-polling, which is fine functionality-wise, if a little slower.
-
You said you use Apache2 as a proxy. When setting it up: did you follow the documentation from here? I suspect that Websocket upgrade-requests are not correctly handled. In that case, no websocket-connection could be set up and thus the handshake will fail.