Questions tagged [websocket]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
220 views

WebSocket connections originating from local network all use same client-side port (instead of ephemeral) when connecting to local webserver - Why?

I set up a webserver on a virtual machine on my home desktop. I have my router forward several ports (80, 443, etc) to my desktop, when then forwards them via NAT to the virtual machine (see diagram ...
0
votes
0answers
23 views

Terminal unresponsive; prompt disappears after connecting to WebSocket

First off, I'm extremely new to all of this, so forgive me if I use the wrong phrasing/terminology! I'm trying to connect (via WebSocket?) to an API that'll provide me with streaming stock market data....
1
vote
1answer
36 views

Proxy a websocket through nginx

There's data providers that offer you X ammount of websockets connections to get realtime data from them, I wanted to know if somehow there's a way to use nginx as a reverse-proxy in order to suscribe ...
1
vote
0answers
21 views

Issue with Computer Clock (or perhaps LAN)?

I am experiencing a very strange behavior for which I struggle to identify the source, but assume it's the computer clock. Here is the setup and synopsis: I have two computers on my home network ...
2
votes
1answer
143 views

How to simulate WebSocket failure on a macOS browser?

I often deal with WebSocket failures, and debugging fixes is hard because I have not found a good way to simulate them. A lot of Linux tools are no longer available because macOS has now transitioned ...
0
votes
0answers
1k views

How to run a socket.io app on apache?

I have a websocket service running on an Apache server. I read that you need to active two modules proxy_fcgi and proxy_wstunnel and reload Apache. (Done) This is my virtualhost file <...
0
votes
1answer
215 views

AWS: WebSockets API as VPC Endpoint

I have a Lambda in a private subnet in a VPC (Lambda needs ElastiCache). My Lambda doesn't need Internet access (therefore no NAT). Can I setup a VPC endpoint for my WebSockets API? Whenever try to ...
0
votes
1answer
605 views

Microsoft Edge 44.18362.387.0 - SCRIPT12017: WebSocket Error connecting to wss://localhost:8990/ws

I have run the CheckNetIsolation commands suggested. CheckNetIsolation LoopbackExempt -a -n="Microsoft.MicrosoftEdge_8wekyb3d8bbwe" CheckNetIsolation LoopbackExempt -a -n=Microsoft.Windows....
0
votes
2answers
794 views

How to check whether a port is opened on server or not?

I have been using Shared hosting to host my website. I want to deploy a PHP WebSocket application built using Ratchet PHP. So I want it to listen on port 9000. When I ran command php server.php in my ...
1
vote
0answers
203 views

Logging websocket connections in Squid

I'm monitoring Squid access.log, expecting to see when an application opens some websocket connections. But new records seem to appear only when the connections are closed (although I'm not 100% sure ...
1
vote
0answers
97 views

Apache2 reverse proxy HTTP + WWS page

As a freelancer I offend come in offices where the network blocks the web whatsapp page and I am trying to setup my own private reverse proxy for those situations. So far I have been able to reverse ...
1
vote
1answer
3k views

Will Windows Firewall block open websockets

If I have Windows Firewall turned off and open some websockets to an outside machine (wss), if I then turn on Windows Firewall, would custom inbound and outbound rules blocking TCP on all ports to the ...
0
votes
1answer
625 views

LetsEncrypt cert works for HTTPS but not WSS

I installed a letsencrypt cert on CentOS 7 and get no errors when connecting with any browser with https://www.example.com. But trying web sockets wss://www.example.com:4445 produces ...
1
vote
0answers
98 views

Can I use Cloudflare's SSL certificate with Mosquitto MQTT websocket?

I use Mosquitto MQTT on my linux VPS. In order to use it within my https enabled website I must have a valid SSL certificate. I am currently using Certbot to generate it, but I want to use a ...
0
votes
1answer
303 views

Starting nodejs server on 2 different ports with websocket giving EADDRINUSE 9856 on CentOS

I am using 2 different node servers for testing and production on the same computer. When I start the first server it is running perfectly but when I start the second server it is giving the following ...
0
votes
0answers
52 views

Several machines randomly hang with Ubuntu 14.04

At work, I bought 40 panel-PC's (these: http://www.advantech.com/products/5a93b96b-91d6-4a66-b738-db5c65a85a38/utc-510d/mod_121eb06c-38fb-406a-9da3-9433caefd38f), and had someone to build a wooden ...
1
vote
0answers
722 views

Websocket connection timeout problems over wifi routers

I have a HTTP and Websocket server running on laptop1 (on ports 8070 and 8080 respectively, serving a web app via HTTP which then connects to the WS server to get state updates) and I’m connecting to ...
0
votes
1answer
10k views

(Errno 10048) Only one usage of each socket address (protocol/network address/port) is normally permitted

I'm trying to use MkDocs and when I run: mkdocs serve I get the following output: INFO - Building documentation... INFO - Cleaning site directory [I 180130 17:24:42 server:283] Serving on ...
1
vote
1answer
406 views

Websockify does not pass information further, connection is dropped prematurely

I need to use websockify as a proxy. The final setup will be: a websocket on a webpage connects to websockify server on the same machine websockify server initiates connection with a TCP socket ...
0
votes
1answer
93 views

How does the Wifi router know which PC to forward a request to, when some PC is running a server program like Apache/IIS?

I was studying about socket programming. What I understood is that it is a combination of an IP Address and a Port number. Now suppose I have a listener running on my PC, which is connected to Wifi. ...
1
vote
1answer
4k views

How to open a UDP port in the Centos 7 firewall, firewalld, using firewall-cmd?

Centos 7 server. Trying to open port 3000 for UDP, nodejs ws websockets. Any ideas? I'm stuck! I've checked a few other SO posts to no avail. Thx, Keith =) If is stop the firewall, the udp unicast ...
0
votes
1answer
37 views

Opening above 1MLN connections stucks at 469K

I need to configure server to handle more than one million opened websocket connections(Ideally 1.5-2.0). I used configuration from this blogpost: sysctl -w fs.file-max=12000500 sysctl -w fs.nr_open=...
0
votes
0answers
219 views

DLNA and Web Sockets no longer work on my PC

I run Windows 10 Home Edition with 4GB Memory. About a week ago my computer started acting up and here are the issues: The text in document folders are larger than normal but the files remain the ...
0
votes
0answers
42 views

Where do I find the VPN and DNS settings on Windows 10

I am trying to setup a VPN as I need one for my work. I have been told I will need a service I have full control over so I can connect from my Denmark computer when I am in the UK and probably vice-...
1
vote
1answer
475 views

Game server on a Raspberry Pi [closed]

I have never set up a game server before, but I was wondering if it would be reasonable to use a raspberry pi to host a websocket server and achieve multiplayer for a simple HTML5 game. I know that is ...
0
votes
1answer
892 views

Meteor websocket connection failed using apache

I deployed a Meteor app to a DO Droplet using MeteorUp. I configured apache's Virtual Hosts for this website like this: <VirtualHost *:80> ServerName filipe-garcia.com ServerAlias www....
-1
votes
1answer
400 views

Does a websocket connection to an external server go through website or direct?

So lets say I have a game [Browser] --------- [Web server] the browser connects to a website and gets the game client displayed in an html page. Lets say the server for the game i want to connect to ...
1
vote
1answer
2k views

WebSocket error for WhatsApp Web on Chrome on OSX

I am using Google Chrome on Mac OS X, and for the past day I cannot connect to WhatsApp Web This is the error that I see in the Chrome Developer Console I do not see anything that is blocking ...