mod-proxy-wstunnel

socket.io https proxy config for apache2

Deadly 提交于 2020-03-25 12:30:26
问题 I have a working socket.io setup with a JavaScript-client and a python-server. The client is basically just one line: Error during WebSocket handshake: Unexpected response code: 404 socket = io.connect(''); The server script can be found at https://github.com/miguelgrinberg/python-socketio/blob/master/examples/server/wsgi/app.py - I'm running the server on port 5000. All you probably have to know about client and server is that they work great on my localhost apache installation and that

Apache websocket redirection to Tomcat: mod_proxy and mod_proxy_wstunnel

我只是一个虾纸丫 提交于 2019-12-10 10:44:37
问题 I am trying to redirect traffic from Apache to Tomcat by using mod_proxy and mod_proxy_wstunnel modules. HTTP traffic is redirected without problems but I am not able to successfully redirect websocket traffic with any configuration I tried so far. I am using Apache 2.4.28 and Tomcat 8.5.13 I must say when I use Tomcat without Apache, websockets works perfectly fine: The Tomcat connector that works for this configuration is next: <Connector URIEncoding="UTF-8" compressableMimeType="text/html

Apache websocket redirection to Tomcat: mod_proxy and mod_proxy_wstunnel

风流意气都作罢 提交于 2019-12-06 12:27:40
I am trying to redirect traffic from Apache to Tomcat by using mod_proxy and mod_proxy_wstunnel modules. HTTP traffic is redirected without problems but I am not able to successfully redirect websocket traffic with any configuration I tried so far. I am using Apache 2.4.28 and Tomcat 8.5.13 I must say when I use Tomcat without Apache, websockets works perfectly fine: The Tomcat connector that works for this configuration is next: <Connector URIEncoding="UTF-8" compressableMimeType="text/html,text/xml,text/plain,text/css,text/javascript,application/javascript" compression="on"