7 July 2016, 22:16
I appear to have a problem with Hiawatha, SSL (Let's Encrypt) and a reverse proxy that connects to a Node.JS socket.io server. For some reason when using SSL it just doesn't seem to work on Hiawatha. Tried it on nginx, and no problem there. On hiawatha on the client side using WSS it does connect, but there is a huge delay in receiving messages for clients from the server side. And sometimes they just seem to go lost in the void. Sometimes, very rarely a client does receive data from the socket.io server, but that's rare. I tried connecting directly to the socket.io server without Hiawatha and then it just works.
I also read the manual and saw something about a WebSocket setting in the config. Tried that like WebSocket = ws://127.0.0.1:3000 / 120, not really sure what it is supposed to do? Perhaps somebody can elaborate.
This topic has been closed.