I have the same problem and stumbled upon this topic.
@Kato: thanks for the tip! For dev / test, I grabbed faye-websocket and can connect through a proxy.
those. in faye \ websocket \ client.js, I am hard-coded (I know this is bad, but it should be good for dev purposes) below the proxy configuration,
var Client = function(_url, protocols, options) { options = options || {}; options.proxy = { origin: 'http://localhost:8888', headers: {'User-Agent': 'node'}, } ....
Now it connects perfectly :)
jho
source share