Hello,
I saw that 9.15 adds websockets support. Currently I am experimenting with websockets on node.js. More specific the sails.js framework. Now I want to run the sails.js application behind a reverse proxy on Hiawatha. Problem is however that I keep receiving the following error in the browser:
GET http://www.blablabla.nl/socket.io/?__sails_io_sdk_version=0.11.0&__sails_io_s…ascript&EIO=3&transport=polling&t=1445868133749-5&sid=hUs--Ny9U1tEEpGdAAAn 504 (Gateway Timeout)
Failed to connect socket (probably due to failed authorization on server) Error: Error: xhr poll error(…)
====================================
Socket was disconnected from Sails.
Usually, this is due to one of the following reasons:
-> the server was taken down
-> your browser lost internet connectivity
====================================
Socket is trying to reconnect to Sails...
_-|>_- (attempt #1)
|> Socket reconnected successfully after
\___/ being offline for ~1.044 seconds.
WebSocket connection to 'ws://www.blablabla.nl/socket.io/?__sails_io_sdk_version=0.11.0&__sails_io_sdk_plat…sdk_language=javascript&EIO=3&transport=websocket&sid=hUs--Ny9U1tEEpGdAAAn' failed: WebSocket is closed before the connection is established.
POST http://www.blablabla.nl/socket.io/?__sails_io_sdk_version=0.11.0&__sails_io_s…ascript&EIO=3&transport=polling&t=1445868139868-6&sid=hUs--Ny9U1tEEpGdAAAn 400 (Bad Request)
Am currently running Hiawatha on latest Arch Linux through openstack.
Thank you.