Questions tagged [mod-proxy-wstunnel]
14 questions
9
votes
2 answers
How to run socket.io on port 443 where apache is running?
I need to run socket.io on port 443 (where apache run https site with Let's Encrypt)
The idea is to use a apache proxy that will redirect the traffic to the socket.io port.
I found that solution:
ServerName mysite.com
…

yarek
- 11,278
- 30
- 120
- 219
5
votes
0 answers
Simple secure websocket (wss) chat using Node.js server and Jquery client
I have added voice to this chat, so it is now a combined voice/text chat. You can find my contribution up on github at the following URL:
https://github.com/HowardRichman/simple-text-voice-chat-in-node-and-javascript
Here is a working example of a…

Howard Richman
- 51
- 1
- 1
- 3
2
votes
1 answer
Apache keeps an active worker for each WebSocket connection
Having Apache (2.4.29) configured as reverse proxy for WebSocket requests with mod-proxy-wstunnel:
ProxyPass "/myapp/ws" "ws://localhost:8080/myapp/ws"
For each active WebSocket client, I see an Apache worker that remains active (in "Sending Reply"…

alostale
- 770
- 1
- 11
- 21
2
votes
1 answer
Webpack 3 devserver hot module replacement through apache mod_proxy
I have a project where we use webpack's devserver for local development. We also have the hot module replacemet for live reload: hot module replacement
We have our front end running in docker. With that front end, we have also apache's mod_proxy.…

Ville Miekk-oja
- 18,749
- 32
- 70
- 106
2
votes
2 answers
Apache websocket redirection to Tomcat: mod_proxy and mod_proxy_wstunnel
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…

rocotocloc
- 418
- 6
- 19
2
votes
0 answers
Enable Logging for opened & closed Connection in Apache/mod_proxy_wstunnel
I'm using an Apache server with a Websocket Reverse Proxy (proxy_wstunnel).
Is there an opportunity to create a log entry for opening and closing a websocket connection?

powerpete
- 2,663
- 2
- 23
- 49
1
vote
1 answer
Streaming video data to and from uberspace via nodejs and jsmpeg
I am trying to stream video data to and from uberspace via nodejs and jsmpeg.
My problem is that I'm getting a 404 when trying to access the url:
The requested URL /receive was not found on this server.
The url I am accessing is like…

GiftZwergrapper
- 2,602
- 2
- 20
- 40
1
vote
0 answers
Socket.io acess from port 80 with apache reverse proxy on port 5000 from aws application load balancer
I have one EC2 instance running behind AWS application load balancer. On Ec2 instance socket.io running on port 5000. Now I want to redirect domain/socket.io port 80 request to port 5000 from AWS application load balancer. domain I have mapped with…

VIJAY THAKUR
- 2,205
- 3
- 11
- 7
1
vote
1 answer
How can I configure Apache to correctly forward websockets?
I have already looked at this question and various others on both SO and related sites, but none of the solutions suggested so far have worked.
I am running tty.js on localhost:8080 and verified that websockets work correctly when hitting that port…

merlin2011
- 71,677
- 44
- 195
- 329
0
votes
0 answers
Concept of reverse proxy with web socket connection
I had a Apache server as a reverse proxy in front of some web server. One of the web server is an NOVNC which required wstunnel connection.
I can access via https://a.example.com/, everything works fine.
However, I want to know the connection…

FawkesMeteor
- 1
- 1
0
votes
0 answers
Getting response 301 when trying to connect to a websocket via proxy on SSL apache
I'm trying to set up a websocket server using node.js on an existing apache server. Since the server is SSL I need a websocket to also be secured. For that I'm trying to implement the proxy solution. I'm redirecting any websocket request via vhost…

user1617735
- 451
- 5
- 16
0
votes
1 answer
How to proxy HTTP and Websockets from Apache to Gunicorn over unix sockets?
My Setup already works over TCP with these two lines in my virtualhost:
ProxyPassMatch ^/ws/.*$ ws://localhost:8000/
ProxyPass / http://localhost:8000/
Now I want to use unix sockets. So I prepended unix:$SOCKETPATH| and removed the…

Thomas Koch
- 2,833
- 2
- 28
- 36
0
votes
1 answer
Apache websocket works with ProxyPass but not RewriteRule
I'm trying to enable websockets on an AWS ElasticBeanstalk Tomcat 8.5 web app. I have a custom apache config (abbreviated):
RewriteEngine On
RewriteOptions Inherit
ProxyRequests Off
ProxyPreserveHost on
# send websocket requests to tomcat with the…

Matt
- 828
- 8
- 25
0
votes
1 answer
socket.io https proxy config for apache2
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…

Florian Metzger-Noel
- 782
- 10
- 29