Questions tagged [websocket]
The websocket tag has no usage guidance.
32
questions
2
votes
1
answer
242
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, ...
0
votes
0
answers
285
views
nginx or apache2 as https proxy for spring boot application using websockets
I have a number of web applications running on my Ubuntu servers, each on their own port using HTTP. Apache is setup as a reverse proxy to provide HTTPS access with a letsencrypt certificate. The ...
1
vote
1
answer
61
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 ...
0
votes
1
answer
71
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
495
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
0
answers
159
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
617
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
76
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
0
answers
24
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
1
answer
337
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
1
answer
466
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
657
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
2
answers
1k
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
0
answers
299
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
147
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
1
answer
4k
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
1
answer
778
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
0
answers
249
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
1
answer
375
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
57
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
0
answers
846
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
1
answer
11k
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
1
answer
473
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
1
answer
106
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
1
answer
7k
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
1
answer
42
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
221
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
43
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
1
answer
482
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
1
answer
958
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
445
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
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 ...