Questions tagged [websocket]
38 questions
4
votes
1 answer
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 works fine
When I start the firewall, websocket…
kmiklas
- 249
3
votes
1 answer
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 into using pf (the way I understand it; I'm a…
jorgen
- 133
2
votes
1 answer
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, which then encrypts it to HTTPS and sends it to the…
Rok Povsic
- 141
2
votes
0 answers
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
public void…
jwdomes
- 21
2
votes
0 answers
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 for illustration). This seems to work just fine…
SAlsum
- 21
1
vote
1 answer
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 connection to http://*.web.whatsapp.com
This site works…
hanxue
- 3,134
1
vote
0 answers
How to send files over WebSocket with websocat tool?
I bought up a wss:// server using websocat
websocat -E -t -v --pkcs12-der=q.pkcs12 wss-listen:0.0.0.0:8443 mirror:
And on the client I am running this command to establish a secure WebSocket connection:
websocat wss://:8443
I can send…
1
vote
0 answers
Is there a way to make WebSockets work in Chrome when proxy is used?
I'm running a socks5 proxy:
--proxy-server="socks5://127.0.0.1:1083" --host-resolver-rules="MAP * ~NOTFOUND, EXCLUDE 127.0.0.1"
but any attempt to use Discord VC fails because it uses wss:// protocol.
Civ01
- 21
1
vote
0 answers
noVNC takes long time to connect to x11vnc in docker
I have x11vnc running inside a docker container with alpine as base image. (5900 is exposed and mapped to hosts 5900) I use Xvfb as well. I run x11vnc inside the container using this command
x11vnc -display :0 -forever -nopw -listen 0.0.0.0 -xkb
I…
1
vote
1 answer
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 install the app on the device failed (as if the upload…
Spiff
- 110,156
1
vote
1 answer
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 to that endpoint my data provider offers…
Napal
- 113
1
vote
0 answers
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 connecting to the internet over a modem. One (computer…
Peter K.
- 111
1
vote
0 answers
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 about that).
Is it expected behavior for Squid?…
Wintermute
- 11
1
vote
0 answers
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 proxy the https page but I am having some trouble…
TechBoy232
- 11
1
vote
1 answer
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 outside machine's IP address immediately stop…
Mobius
- 111