Questions tagged [websocket]

The tag has no usage guidance.

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

Secure Websocket Proxy through NGINX Works in NodeJS but not in browser

So I have this NGINX config map $http_upgrade $connection_upgrade { default upgrade; '' close; } # Websocket Server server { server_name ws.###.###; listen 8443 ssl; include ...
2
votes
1answer
23 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
12 views

Why does the test pass in go1.12 but fails in g1.13 due to “bad handshake?”

I am working with/on an open-source project (https://github.com/taskcluster/websocktunnel). After running go get -u github.com/taskcluster/websocktunnel and cding into the directory and running go ...
0
votes
0answers
400 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
0answers
51 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 ...
-1
votes
1answer
396 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
123 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 ...
0
votes
0answers
29 views

How to develop native service for windows 10 tablet?

I am looking for any possible way to develop a long-running background service (like windows service on PC) that can both run on Windows 10 tablets and PCs. This windows service will have access to ...
1
vote
0answers
140 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
57 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 ...
0
votes
0answers
84 views

Not able to test assertion in artillery.io with websocket apis using artillery-plugin-expect

I am evaluating artillery.io for websocket api testing, we want to do load testing as well as functional testing. Load testing is pretty straight forward and documentationgives lot of information. ...
1
vote
1answer
1k 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
0answers
448 views

python websockets exception handling

Question 1 I have a simple python websockets server that process some clients connection very 30 secs. However every now and then randomly the server will complain about some error in connection ! ...
0
votes
0answers
17 views

How to get SSL on a websocket?

I am struggling with finding a way to make my websocket secure (from ws to wss) for https support. Anyone knows how to get the SSL for it on ubuntu server? Thanks
0
votes
1answer
324 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
37 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
203 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
1k views

Websocket installation on IIS10, Windows 10 pro

I want to play around with websockets. I'm using IIS 10 on Windows 10 pro. I have used the Web Platform installer 5.0 to install "Websockets Protocol". This seems to look fine, it says "Installed". ...
0
votes
0answers
50 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
485 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
8k 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
331 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
64 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
2k 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
34 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
218 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
40 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
451 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
827 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
386 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
1k 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 ...