Questions tagged [websocket]
The websocket tag has no usage guidance.
35
questions
3
votes
1
answer
546
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 ...
2
votes
1
answer
490
views
Client-side TLS proxy?
Does a client-side proxy exist that would transform my HTTP request into HTTPS before sending it to the server?
Meaning that my software application sends an HTTP request to this client-side proxy, ...
2
votes
0
answers
2k
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 ...
1
vote
1
answer
561
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 ...
1
vote
1
answer
11k
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 ...
1
vote
1
answer
502
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 ...
1
vote
1
answer
118
views
Uploads to AWS failing from Safari 16
When I try to use Safari 16.x to upload iOS .ipa files to Amazon Web Services Device Farm for testing, the upload progress bar disappears before reaching 100% and AWS reports that its attempt to ...
1
vote
1
answer
231
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
1
answer
5k
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 ...
1
vote
0
answers
322
views
Using setAllowedOrigins on WebSocketHandlerRegistration not allowing CORS with localhost
I have setup a websocket server in Spring which uses a WebSocketConfig as follows:
@Configuration
@EnableWebSocket
public class WebSocketConfig implements WebSocketConfigurer {
@Override
...
1
vote
0
answers
39
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 ...
1
vote
0
answers
413
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
0
answers
166
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
0
answers
414
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 ...
1
vote
0
answers
954
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 ...
1
vote
1
answer
3k
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 ...
0
votes
1
answer
12k
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 ...
0
votes
3
answers
2k
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
1
answer
34
views
What protocols do I need to read along to make sure I don't miss any traffic and cover all the communication from the web browser?
For a university project, I need to record all the traffic that a web browser sends to a server. The goal is to find the input that the user made on the website in the resulting traffic. The project ...
0
votes
1
answer
125
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. ...
0
votes
0
answers
248
views
How can I fix this? “XRAY: transport/internet/websocket: failed to serve http for WebSocket > accept tcp [::]:8443: use of closed network connection.”
Recently I bought a Germany based VPS server to create my own VPN using v2ray because I live in Iran and the internet is heavily censored here.
I connected my domain to CloudFlare CDN to avoid my ...
0
votes
0
answers
194
views
In docker-compose, Error adding SSL Certificate to reverse proxy to consume websocket?
Deploying docker in windows 11 and working with docker-composer, I am trying to enable the ssl certificate for my setup where I want to enable nginx as a reverse proxy to allow secure websockets wss://...
0
votes
2
answers
638
views
Automatically proxy WebSockets endpoints with nginx
I am trying to write a Nginx reverse proxy configuration for a web application (specifically JupyterLab, but this question is intended to be generic).
The web application uses multiple WebSockets ...
0
votes
1
answer
582
views
Set maximum payload (message) size for websockets in Postman
In Postman, in Settings, we can set maximum payload size, but that applies to REST payloads. It seems it doesn't affect the WS data size, and it breaks with Error: Max payload size exceeded for big ...
0
votes
0
answers
1k
views
How to sniff websocket traffic with wireshark?
-1
Hi!
My phone has a remote control application that controls my stb. I would like to sniff websocket traffic in between.
My pc is connected by ethernet interface to local network
I know the port ...
0
votes
1
answer
753
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
1
answer
832
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
1
answer
903
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 ...
0
votes
1
answer
530
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
0
answers
62
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 ...
0
votes
1
answer
48
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
0
answers
232
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
0
answers
45
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-...
0
votes
1
answer
1k
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
1
answer
474
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 ...