Questions tagged [socket.io]

The tag has no usage guidance.

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

Apache with SSL and socket.io (python) is not working

I am trying to run a socket.io (python) server on a different port of my Apache web server, than the usual 443 https traffic. I realize there are many discussion about this subject already available, ...
0
votes
0answers
19 views

Exactly what is the “Tunnel” that Nginx sets up to connect to a back-end server when using WebSockets?

I am a beginner to the world of web development and currently I'm trying to build a socket.io flask application with Nginx serving as the front end server to handle, among other things, the load ...
0
votes
0answers
777 views

Why is my Nginx-Socket.io-Express-Setup not working over HTTPS?

Locally it is working perfectly but as soon as I put it behind the Nginx reverse-proxy I get this in the Chrome Developer Console: GET https://127.0.0.1:8443/socket.io/?EIO=3&transport=polling&...
0
votes
0answers
60 views

How to distribute socket.io servers globally?

We have a Socket.io service that needs constant communication with Mongodb. We currently have a load balancer server, 16 containers in a server (due to nodejs being single threaded, we split processes ...
1
vote
0answers
176 views

Socket.io proxy through Apache and its performance

I am trying to setup a server for a Socket.IO game, but we will also have a little landing page in php served through Apache. I managed to make the server work by doing a proxy from Apache to the ...
0
votes
1answer
279 views

Openlitespeed as a WebSocket Proxy

I am building web applications related to the socket. And my application runs well without https, if it has https, it will not connect. And as guidance on nginx must configure additional proxy. But ...
0
votes
1answer
457 views

Nginx + Socket.io + Proxy

After reading several articles, I'm still unable to get my socket.io communication working via a nginx proxy. Below is my nginx configuration: map $http_upgrade $connection_upgrade { default ...
1
vote
1answer
1k views

socket.io handshake fails on Google https load balancer

We have the following setup for Google HTTPS load balancer. Two Frontends: 1. HTTP traffic to static IP 2. HTTPS traffic to the same static IP(DNS configured to a domain name) Host and Path rules ...
1
vote
0answers
313 views

PM2 running but socket.io stops responding at times

I am using a hostgator vps with apache, for backend, I am using node.js and socket.io, it works fine but at times it just stops working. Pm2 is showing it online but it just stops responding. Can ...
2
votes
1answer
855 views

Is it safe to pass my ssl key and cert files to socket.io? [closed]

I'm building a web chat using socket.io In order to communicate on port 3000 through https I need to pass my ssl key and cert files. Socket.io is an open source and I don't know how trustworthy it ...
1
vote
1answer
2k views

Socket.io with Sails.js/Node.js and NGINX on SSL: bad gateway

I just started venturing in NGINX and SSL. Using Ubuntu 16.04. I am running a Sails server on the standard 1337 port and just set up NGINX with SSL (using letsencrypt). Port 80 is redirected to 443 ...
3
votes
0answers
1k views

Nginx and Apache are very slow as reverse proxy for NodeJs app with socket.io [closed]

I installed Nginx on an Ubuntu server 14.04 as a reverse proxy to redirect traffic coming to a single IP address to multiple NodeJs running on different ports. It also redirects HTTP to HTTPS. Here's ...
0
votes
1answer
1k views

Deployment of node js app listening on two separate ports under nginx

I have a simple node.js app that listens to two ports: on 8001 it sets up a simple webserver by doing var express = require('express'); var gHttpApp = express(); gHttpApp.use(express.static('public'))...
0
votes
0answers
298 views

Socket.io w/ node.js + nginx +mysql + php5-fpm Memory Leak?

I have a Debian VPS running node.js socket.io server + nginx + mysql +php5-fpm and the socket server seems to freeze with no messages and no errors. I noticed that the memory usage grows over time but ...
0
votes
1answer
126 views

nginx + php5-fpm + mysql too many queries per second?

I have a VPS Debian running a nginx webserver and 2 node.js servers, one with socket.io for suplying data for my website and another one for a bot. The socket server runs a lot of queries but I try to ...