Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
316 views

Forward local generated Secure Websocket traffic (wss) through an HTTP/HTTPS proxy to reach internet

I have a python webex_bot application (https://github.com/fbradyirl/webex_bot) which uses websockets for webex cloud communication. The problem is that the server in which the bot is being hosted on, ...
panchis's user avatar
0 votes
0 answers
83 views

haproxy between http-only client and websockets only backend

odd request maybe, but I have a need to proxy between a HTTP-only client and a WebSocket-only server. these are not long-lived connections; the client does a POST with some binary data that needs to ...
Marvin's user avatar
  • 1
0 votes
1 answer
1k views

Loadbalancing websockets with nginx behind haproxy

I have an Nginx instance which serves requests proxied to it from an haproxy. This instance should balance load between several websocket server. To get better performance the load balancing should be ...
mhk's user avatar
  • 101
1 vote
0 answers
845 views

Websocket from one HAProxy backend to another backend fails

I have two backends (b1, b2) sitting behind the same frontend (f1) in HAProxy, routing based on host name. I can establish websocket to both b1 and b2 from my laptop, however if I try to establish ...
Ryan's user avatar
  • 197
3 votes
1 answer
3k views

WSS Load Balancing with SSL Termination at layer 4

Should it be possible to terminate SSL for wss (secure websockets) at a layer 4 load balancer? Seems to me that wss (and ws) in general would require TCP routing since an HTTP reverse proxy wouldn't ...
rbinion's user avatar
  • 31
3 votes
1 answer
9k views

Increase client timeout for WebSocket connections to certain URL

On CentOS 7 Linux I successfully use HAProxy 1.5.14 in front of Jetty 9 serving a Wordpress site via FastCGI. It works really well, but for a HTML5/WebSocket game at the same website much higher ...
Alexander Farber's user avatar
1 vote
0 answers
572 views

Configure a websocket server in front of HAProxy

I have a small python server script which creates a websocket connection and accepts base64 encoded IP packets (very similar to this). As of now my script decodes the IP packet and sends it out into ...
Dan Ramos's user avatar
  • 111
7 votes
1 answer
14k views

How to handle 1M websocket connections (Nginx/HAProxy/Amazon/Google) [duplicate]

What nginx or haproxy setup is suggested for target 100K concurrent websocket connections? What I think, a single nginx will not be able to take such traffic as well as concurrent connections. How ...
Ravi Kumar's user avatar
6 votes
1 answer
9k views

HA Proxy and Websockets

I'm setting up my first HAProxy reverse proxy server. It's going to be a proxy for an HTML5 app running on tomcat from a different server. I was able to get it to proxy out via HTTP, redirect all ...
JoeInVT's user avatar
  • 95
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. (...
Bastien974's user avatar
  • 1,916