Questions tagged [websocket]
WebSocket is an API built on top of TCP sockets and a protocol for bi-directional, full-duplex communication between client and server without the overhead of http.
214
questions
4
votes
1
answer
2k
views
Application layer firewall for WebSockets?
My team has built an intranet portal in Amazon AWS for a client, and on it, we have used WebSockets to do things like notifications and other minor stuff. We mostly send events from the server, but we ...
0
votes
2
answers
257
views
How can I secure an insecure Meteor by using Nginx?
I have an insecure Meteor running on AWS. For those not familiar with Meteor, that means I am using the "insecure" package, which trades security for rapid prototyping.
I only need our development ...
1
vote
0
answers
437
views
Scaling AngularJS + NodeJS app on Linode
I have developed an application using AngularJS + NodeJS (together with MariaDB, Redis and Socket.io for realtime notifications) and I have deployed it on a single Linode node. Now I would like to ...
0
votes
1
answer
2k
views
docker container port forwarding behavior for `run` command (for websockets)
I am running an ipython notebook server inside a docker container. Running code inside the notebook from the browser works over websockets, which have to connect from outside the container (a browser) ...
2
votes
0
answers
2k
views
Sticky sessions with Apache load balancer for Socket.io 1.0
I've been messing around with Apache as a load balancer for my Socket.io server. I went through the following topic and now everything seems to be fine.
Configuring Apache 2.4 mod_proxy_wstunnel for ...
0
votes
0
answers
340
views
mod_proxy_wstunnel Status line does not end with CRLF
I'm using Apache 2.4.9 with mod_proxy_wstunnel and Proxy balancer to load balance between two websocket servers.
I have a Spring Websocket Server to which my client is able to connect without any ...
4
votes
0
answers
590
views
Heroku and socket.io out of memory
I have a setup with websockets on heroku and every now and then i get a flurry of messages like this:
06:24.591694+00:00 heroku router - - at=error code=H15 desc="Idle connection" method=GET path="/...
4
votes
0
answers
3k
views
Is websocket reverse proxy possible with IIS 8.5 & URL rewrite 2.0?
I installed Tomcat as a java app server behind IIS. Using the following rules I can rewrite static pages just fine, but alas, websocket connections are never established:
<?xml version="1.0" ...
0
votes
1
answer
2k
views
Nginx does not stop with websocket connection
I have nginx 1.6.2 wih configuration to upgrade connection to websocket.
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
When no websocket connection is opened, "...
9
votes
2
answers
2k
views
Scale HAProxy for more than 64k websockets
We are trying to design an architecture that will be able to handle more than 64k websockets.
We first tried with Amazon ELB, but its design doesn't allow unexpected spike of traffic nor websocket. (...
6
votes
2
answers
12k
views
Proxying websocket traffic from nginx 1.3.13 to socket.io (without SSL)
As of 2 days ago, nginx started to support websocket connections, therefore I was trying to get my nginx-nodejs-socket.io application to work without HAproxy ect (not much luck though).
What I want ...
45
votes
6
answers
83k
views
Configuring Apache2 to proxy WebSocket?
The WebSocket protocol is an extension of the HTTP protocol. However, the proxy module of Apache2 does not seem to know about it, and throws away crucial headers, converting the call to a standard ...
2
votes
2
answers
1k
views
WebSocket Connection vs. Repeated GETs
I am prototyping an application using nodejs. But this question refers to hypothetical large scale roll out. What is more demanding on a server and/or bandwidth: WebSocket stay alive connections or ...
1
vote
3
answers
9k
views
How would I configure a websocket server to run alongside a webserver?
I currently have a Apache2 listening on port 80, and a homemade game server running on higher unregistered port (50214). I an rewriting the game in Javascript and planning on sending the network ...