Open erkyrath opened 11 years ago
Re the above: I think Mac Safari 6.0 is required. 5.x uses the "draft76" websocket protocol which is deprecated.
Switching to socket.io would work around this.
Various notes around the web confirm that Privoxy users should expect the websocket connection to fail.
At a minimum, have a better error message for the case of off-spec browsers.
User notes that he can reach http://www.websocket.org/echo.html only with "TLS mode" enabled. This makes sense; HTTPS requests bypass web proxies, right? Can we accept TLS connections?
socket.io 0.9 has no Tornado support? Maybe use https://github.com/sockjs/sockjs-client , http://github.com/mrjoes/sockjs-tornado/ instead?
Maybe I just need to provide an option for a wss: websocket URL. I think this requires SSL certs in the Tornado app:
ssl_options={
"certfile": os.path.join(data_dir, "mydomain.crt"),
"keyfile": os.path.join(data_dir, "mydomain.key"),
}
I have set up SSL access. Try this address: https://seltani.net/
The SSL certificate causes Firefox to cough up a warning about "unknown issuer". I'm using a free cert service, and I guess Firefox isn't entirely happy about that. It works if you accept the cert (add an exception about it in the warning dialog). Chrome and Safari don't complain.