Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [socket.io]

The tag has no usage guidance.

0
votes
1answer
24 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 ...
-1
votes
0answers
13 views

How to config https for socket.io? [duplicate]

Please help me, thank so much!!!! In my localhost did walk perfectly but now I got all on my server to see how it works online and it has an problem. GET https://mydomain.io:8890/socket.io/?userid=...
-1
votes
0answers
146 views

Got error 104 when setting nginx.conf setting in socket.io

I got error *1 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 182.253.8.10, server: whizkids.id, request: "GET / HTTP/1.1", upstream: "http://127.0....
0
votes
1answer
194 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 ...
0
votes
0answers
67 views

How to forward web-socket request to microservice using nginx

I wanted to forward web-socket request to microservice using nginx. I am hitting https://some-host/download-zip-service/downloadFile By this the calls are landing on download-zip-service and ...
0
votes
0answers
105 views

Nginx convert from apache rewrite to websocket

I have apache rewrite code for websocket, please help me to convert this to nginx <VirtualHost *80 (or can be another port)>   .....   RewriteEngine on   RewriteCond %{HTTP:UPGRADE} ^WebSocket$ ...
1
vote
0answers
514 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
132 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 ...
0
votes
0answers
871 views

connect() failed (111: Connection refused) while connecting upstream

[error] 7697#7697: *100335 connect() failed (111: Connection refused) while connecting to upstream, client: XXX.XXX.XXX.XXX, server: v4.domain.com, request: "GET /socket.io/?__sails_io_sdk_version=0....
2
votes
1answer
609 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
1k 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
847 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
879 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
234 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
122 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 ...