Questions tagged [websocket]
35 questions
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
- 7
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
- 3
2
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
- 123
- 3
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
- 2,940
- 4
- 29
- 53
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
- 101,729
- 17
- 175
- 229
1
vote
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
- 11
- 1
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
- 2
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
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
- 2
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
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
- 1
- 4
1
vote
0 answers
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 certificate that is generated from Cloudflare. Is it…
Soul Gamer
- 11
- 1
1
vote
0 answers
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 it from laptop2 (loading the web app in Firefox…
Peter Foxworth
- 11
- 1
1
vote
1 answer
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 program listening somewhere else (in this case, the…
styrofoam fly
- 1,836
- 3
- 20
- 22
1
vote
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
- 179
- 3
- 8