The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
33 views

Using nginx to proxy multiple instances of sockets.io

I have two separate node.js applications running behind nginx. Both the apps use socket.io and express. One is served on port 5000 and the other on port 5001. But we need them both accessed through ...
0
votes
1answer
37 views

IIS Reverse proxy and websockets, failed websocket handshake

I am running a little website using IIS 7.5 on Windows Server 2008 R2. I've got a node.js application too running on port 3000. Http calls from the website (client browser) are reverse proxied from ...
4
votes
2answers
143 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. ...
0
votes
0answers
55 views

novnc apache2 reverse proxy code 1006

I just installed webvirtmgr but the noVNC console is not working (code 1006). The detailed error of the google chrome console is: [blocked] The page at ...
0
votes
1answer
99 views

nginx reverse proxy for websockets with SSL

I am trying to configure nginx (installed via macports) on my osx development machine. I am trying to reverse proxy localhost:12346/trade to a websocket connection which is available on port 12346 at ...
1
vote
1answer
128 views

NGINX: How to proxy http(s) traffic to one server and ws(s) traffic to another?

I'm new to nginx and how it handles locatoins, and was hoping to get help for a problem I'm having: On the same server I have an Apache web server and a websocket server. Apache works on port 8080 ...
0
votes
2answers
352 views

Configuring port in iptables for websockets

I'm implementing Ratchet's push example in my server (websockets) on port 9090. These are current iptables policies: [root@myserver ~]# iptables -L -n -v Chain INPUT (policy ACCEPT 309 packets, 22420 ...
1
vote
0answers
53 views

Can nginx set 'Origin' header when proxing websocket?

We know nginx can proxy WebSocket since version 1.3.13, and we also know some times WebSocket server will valid the 'Origin' header, so someone said you can do something like: proxy_set_header Origin ...
0
votes
1answer
163 views

Can HAProxy reconnect a websocket to another backend server transparently?

I'm new to HAProxy so this might have an obvious answer but I wasn't able to find it. Consider this setup: two backend web applications; one HAProxy in front of the web applications; many clients ...
0
votes
2answers
243 views

Apache load balancer for mod_proxy_wstunnel?

We are in the process of developing a JavaEE 7 application to be deployed on JBoss/Wildfly that will make extensive use of Web Sockets. We're using mod_proxy_wstunnel for web socket support, and ...
3
votes
1answer
1k views

Configuring Apache 2.4 mod_proxy_wstunnel for Socket.IO 1.0

I'm trying to configure Apache 2.4 for proxying the websocket connection for socket.io to a node.js websocket server, using mod_proxy_wstunnel. We had this working fine with socket.io 0.9, but with ...
0
votes
0answers
122 views

Get list of clients connected to the tornado websocket server

I have a tornado instance serving websockets. I would like to get a list of the currently connected clients. Ideally, I would like to get the following information: <IP> <PORT> ...
0
votes
1answer
437 views

Fixing WebSocket 404 Error With Dynamic WebSocket URL's Under Reverse Proxy

I am running Ubuntu, Apache, mod_proxy_wstunnel(Enabled), Shiny-Server, and R. I have setup shiny-server to listen locally, and Apache to Proxy requests for the shiny-server. I have also setup a basic ...
0
votes
2answers
661 views

Websocket & HTTP proxy with server between two firewalls

I have a server ("A") running behind a firewall, which serves HTTP and websockets. I have no control over the firewall, but do have an external server ("B") to which the internal server can connect ...
0
votes
0answers
171 views

Traffic shaping of nodejs socket.io not based on IP or Port

I have an architecture based on multiple stateless webservices loadbalanced with haproxy. Theses webservices host a cloud storage system that allow users to upload files at a predefined bandwidth ...
0
votes
0answers
2k views

Nginx websocket 502 bad gateway

I'm trying to use nginx as proxy for websocket nodejs server, but I'm always getting 502 bad gateway. my domain config: upstream server { server 127.0.0.1:8090; } server { listen 8085; ...
1
vote
1answer
2k views

WebSocket Connection closed before receiving a handshake response

Due to WebSocket connections I am facing issue and due to this other response to stop receiving. I have configured BIMServer to response back to my application and render 3D view loading individual ...
0
votes
1answer
202 views

Servicing ws:// in Node.js via Tomcat and Apache

I've Googled various combinations of keywords but I cannot find a suitable description of what to do to get this to work. Currently, I have a web site running Apache 2 with everything except ports 80 ...
1
vote
1answer
384 views

Cannot get Web Sockets to work with virtual IP redirection

I can't get Web Sockets to work on my site when I access it via its virtual IP. If I use it's real (intranet) IP, everything works perfectly. If I use the virtual IP, I get this on Google Chrome ...
2
votes
0answers
162 views

How to deploy a WebSocket application without downtime?

Deploying HTTP applications without downtime isn't that hard: HTTP is stateless, so with a load balancer in front of 2 HTTP applications solves the problem. If both applications use a common backend ...
0
votes
1answer
231 views

Use stunnel for Socket.io SSL support

I am trying to add SSL support to my node.js app, while connecting via socket.io. The traffic to socket.io is going to port 80. I would like stunnel to grab encrypted traffic from port 443, unencrypt ...
-4
votes
2answers
821 views

Running a websocket server and a http server on the same server

I am using nginx to to serve an instance of PHP application, and also at the same time running a Ratchet app to listen to a websocket connection. Problem is, both of these instance are using the same ...
1
vote
1answer
578 views

F5 Big-IP and WSS WebSockets

We have a F5 Big-IP load balancer that handles the SSL, so the servers behind it get HTTPS rather than HTTP (SSL off loading). I don't have version handy, but in the login page I can see "Copyright ...
0
votes
1answer
167 views

Does the IIS 7.5 has any anti-dos or anti-flood mechanism built in and enabled by default?

Inside my windows 2008 R2 I am running a secure websocket server (XSockets.NET). When there are too many connections to the server, the server just stops responding at all. The developers claim, that ...
2
votes
1answer
242 views

How to open a port below 1024 in Cent OS for socket.io?

I'm trying to open port 843 in my Cent OS 5.2, I added following line to etc\sysconfig\iptables : -A INPUT -p tcp --dport 843 -j ACCEPT and then updated my iptables service. I need to listen to ...
1
vote
1answer
1k views

nginx proxying websockets, must be missing something

I have a basic chat app written in node.js using express and socket.io; it works fine when connecting directly to node on port 3000 But doesn't work when I try to use nginx v1.4.2 as a proxy. I ...
-1
votes
1answer
264 views

Encrypt connection to Spice console in browser using HTML5 Spice client

At the moment i'm testing a way to connect to my VMs running on kvm-servers using spice and a browser html5 spice client I found. It was easy to set up, following this guide: ...
0
votes
1answer
415 views

nginx node.js & socket.io 504 timeout

Nginx config server { listen *:80; server_name live.domain.com; server_tokens off; charset utf-8; error_log /var/log/nginx/live-error.log info; ...
0
votes
0answers
209 views

Proxy Server for my Tomcat7 Websocket Application?

I have a Java Servlet application running on a Tomcat server. My app uses Websockets. I want to use a proxy server which should root to my Tomcat running on pert 8080. What proxy should I use for ...
1
vote
1answer
412 views

Nginx proxying websockets, connections not closed

I'm confused about where the problem is located, but basically I have nginx proxying websocket connections to a backend ruby thin server, which services the connections with the websocket-rails module ...
0
votes
1answer
415 views

WebSocket not Working on Apache Tomcat 7 on AWS ElasticBeanstalk

I just set up me web app on top of ElasticBeanstalk. Everything seemed to work fine, until I discovered that my instance couldn't use WebSocket, every time I tried to connect internal server error ...
0
votes
1answer
1k views

Apache Proxy Pass and Web Sockets

I'm using Apache with the mod_proxy module to reverse proxy my Node.js application through to port 80, so that we can access it as an internal application. I have a file in sites-enabled which ...
1
vote
1answer
2k views

Apache server : Reverse proxy and websockets via mod_proxy_wstunnel

I have a little problem with the web sockets and my reverse proxy apache, i have upgraded in latest release 2.4.5 and loaded the module mod_proxy_wstunnel. The httpd.conf : <VirtualHost ...
0
votes
1answer
666 views

How do I get sticky session to work on varnish?

Here is my current config file. Some time it works sometime it doesn't. Note that my website doesn't have a session so I can't use that. backend gw001 { .host = "127.0.0.1"; .port = "9001"; ...
1
vote
1answer
490 views

high traffic websocket/haproxy tuning

i have a pubsub application (mostly chat but some other goodies being pub-ed and sub-ed too) running on node & socket.io. i'm load testing this app by spinning up some other, real large, boxes ...
0
votes
0answers
216 views

Configuring Nginx reverse proxy with SSL and websocket

I'm running a web app that is using websockets and have nginx as a reverse proxy for that and that works fine. I've also been able to get SSL to work without the socket. Now we're nearing the official ...
-1
votes
1answer
282 views

I want to install pysockect or any other websocket in centOs 64 bits

I have get a tutorial to install pywebsocket in linux. http://www.travisglines.com/web-coding/how-to-set-up-apache-to-serve-html5-websocket-applications-with-pywebsocket But I am using centOs for my ...
0
votes
1answer
472 views

Load balance https and websockets wth sticky sessions and NGINX

I'm using NGINX to do sticky session load balancing in front of a node.js app that will support http, ssl, and websockets. If I want the load balancer to simply forward requests to the node.js server ...
2
votes
1answer
1k views

How to debug Node + Socket.io CPU Issues

We are running a Node Socket.io server with Express 3. The server is monitored using Forever. The service is running well, but the CPU grows throughout the day, until it reaches 90%+ and then suddenly ...
1
vote
1answer
91 views

How to determine which direction to scale a web application

I am currently developing a web application and am trying to figure out the best way to host it. I've looked around, used dozens of different phrasings, read hundreds of posts and comments. but none ...
1
vote
1answer
612 views

NGINX 1.3.14 proxy Websockets

Websocket support is built in to Nginx as of 1.3.13, so I should have it. Can someone please provide me the simplest example of a config that will allow my nginx (on Centos 6) proxy to accept an HTTP ...
0
votes
1answer
502 views

http connect tunnel to proxy in front of a websockets server?

I am having a hard time with this one. We have a websocket server listening on port 80 at myserver.com/wsDemo?ID=12. We need to test a client program by connecting it to this server through a proxy. ...
2
votes
1answer
1k views

Nginx not proxying websockets properly

Using the development version of nginx (1.3.12). In my relevant file under sites-enabled: upstream twisted { server 127.0.0.1:8088; } server { listen 80; ## listen for ipv4 ...
5
votes
2answers
5k 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 harproxy ect (not much luck though). What i want ...
1
vote
2answers
342 views

Websockets and Firewall

I asked this question on Stack Overflow first, but then I thought Server Fault could be a better place to post it. I have two WebSocket servers both running on different ports than 80 and 443. ...
1
vote
1answer
429 views

Websockets not working (ssl acceleration?)

Testing a socket.io application in the PROD environment for the first time, we found that while the xhr-polling transport (Ajax long polling) works, the websocket transport does not. Looking at the ...
-2
votes
1answer
447 views

Unable to do telnet on websocket server

My websocket server is running on port 9000 on an ec2 instance. It's working perfectly when accessed through a browser. But I am unable to do telnet to it. I did telnet ec2.x.y.z.com 9000 and the ...
0
votes
1answer
136 views

Web socket regular disconnections on OS X

We have a SPA that runs SockJs both client and server (NodeJs) side. For Windows workstations we have no problems maintaining web socket connections to servers deployed in Windows Azure. But for some ...
1
vote
1answer
823 views

socket.io session ends with HAproxy

i'm still with dealing with the configuration of HAproxy to make it work with socket.io. my last question was this: HAProxy is caching the forwarding? and i got it working, but for some reason, after ...
1
vote
1answer
302 views

HAProxy is caching the forwarding?

i'm trying to set up a server structure for an application i'm building in Node.js with socket.io. My setup is: HAProxy frontend forward to -> apache2 as default backend (or nginx, is ...