Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
2 answers
7k views

HTTP and websocket on the same port and domain behind reverse proxy

I wanted to try Node-Red and have installed it on my Ubuntu server. This server runs an apache reverse proxy but I can't get it to work right. If I create a virtualhost for the HTTP connection I can ...
screendoor's user avatar
0 votes
1 answer
838 views

SIP Websocket to UDP proxy server

There is an ATS provider with SIP phones. It provides phones via UDP, as I understand, giving sip server, login and password for each internal call-line. I want to write a site with browser calls ...
Ngdgvcb's user avatar
0 votes
1 answer
3k views

"Bad Request" when sending request to Socket.IO app via Apache

What I have I have Socket.IO app letteraly from template const express = require('express'); const app = express(); const http = require('http'); const server = http.createServer(app); const { Server }...
RoyalGoose's user avatar
1 vote
1 answer
2k views

Replicate nginx reverse proxy config using apache

nginx config: server { listen 443 ssl http2; listen [::]:443 ssl http2; ssl_certificate /path/to/tls/tls.crt; ssl_certificate_key /path/to/tls/tls.key; server_name the.domain....
TREX's user avatar
  • 21
-1 votes
2 answers
7k views

Why AWS classic ELB with HTTP protocol doesn't work with websockets? [closed]

I know that there is an ALB and NLB option that works with websockets. I can't understand why classic ELB with HTTP protocol doesn't work with websocket connections, although at the instance there is ...
ogbofjnr's user avatar
  • 193
0 votes
0 answers
52 views

How to connect to 4 websockets, 1 of them through my own proxy?

I have an EC2 instance. I need to receive data from 4 separate websockets located in different regions around the world. Three of the websockets are working fine, but one of the websockets is being ...
JacksonCounty's user avatar
1 vote
1 answer
4k views

Apache error "ProxyPass unknown Worker parameter" when using "upgrade=WebSocket"?

I am trying to relay the WebSocket connection of V2Ray with Apache according to This post, and the snippet below worked before. <LocationMatch "/{ws_path}}/"> ProxyPass ws://127.0.0.1:{...
whc2001's user avatar
  • 25
1 vote
0 answers
1k views

TLS websocket proxy with deep packet inspection/traffic logging

I have a very specific scenario in which maschines (IoT) are communicating with a central server over websockets. I need to inspect the websockets traffic (wss/tls) for audit and monitoring reasons (...
Kitano's user avatar
  • 11
2 votes
2 answers
3k views

NGINX Proxy pass to WebSocket and PHP not working with SSL

I'm trying to route requests in Nginx in the following way: Requests made to / should go to a PHP script (proxy.php, which itself is a proxy) Requests made to /websocket should be proxied to http://...
Rico Leuthold's user avatar
2 votes
0 answers
3k views

websocket cannot connect via apache reverse proxy

I am using the terminado and i am running the unique.py inside the demo folder on port 9090 from inside a docker container with a ip of 172.17.0.2 So i have set up a reverse proxy using apache2: <...
Satnam Sandhu's user avatar
0 votes
0 answers
613 views

TCP Reconnect to Unknown Address with Websocket when there is no Internet

I have used ProcMon.exe to see what happens to my application when there is no internet. My application is an electron application that makes use of websocket to connect to backend service resides in ...
vincent911001's user avatar
2 votes
0 answers
921 views

WebSocket In SYN_SENT State

Redirected from NE, I have a problem in establishing a connection with using websocket. netstat console output FYI, the target that we wish to connect to is 10.121.244.17:45678 which is an instance ...
vincent911001's user avatar
0 votes
1 answer
2k views

In Apache how do I configure a sub-url redirection to socket.io?

I got a simple node.js websocket server: var io = require('socket.io')(12345); io.on('connection', function(socket){ console.log('a user connected'); socket.on('disconnect', function(){ ...
Nelson Teixeira's user avatar
2 votes
0 answers
2k views

proxy_pass to websocket behind nginx

I got websocket servers and there are behind nginx. I need to configure second nginx as proxy to this first nginx. But when I make a request, there is an error 400 or 404 (with different configs). ...
Grzonu's user avatar
  • 21
4 votes
1 answer
4k views

Unable to get websockets to work through apache HTTPS proxy (302 error)

I'm unable to make websockets work on a node backend using an apache proxy through HTTPS to connect to the node instance. Websockets are working properly if no (apache) http(s) proxy is used. My ...
Digital Leaves's user avatar
3 votes
1 answer
16k views

NGINX Proxy Setup for ws:// protocol

I am trying to setup NGINX to proxy web socket traffic. I am running a web page on NGINX (port 80) that has an MJPEG feed from port 8080 and also takes web socket traffic over port 8090. I can proxy ...
user383341's user avatar
1 vote
0 answers
760 views

WebSockets with TeamCity behind Amazon ELB

I'm setting up TeamCity behind a public ELB in Amazon. I am attempting to fix the WebSocket connection issue: Some users cannot use optimized web UI updates via WebSocket protocol. This is a ...
Thomas Farvour's user avatar
4 votes
1 answer
2k views

TeamCity, nginx, and Websockets - 501 Error

I'm currently setting up TeamCity behind an nginx reverse proxy, but I am getting an error in my browser. The error is as follows: WebSocket connection to 'ws://ci.example.net/app/subscriptions?X-...
mattrick's user avatar
  • 143
6 votes
2 answers
12k views

Proxying websocket traffic from nginx 1.3.13 to socket.io (without SSL)

As of 2 days ago, nginx started to support websocket connections, therefore I was trying to get my nginx-nodejs-socket.io application to work without HAproxy ect (not much luck though). What I want ...
Skeptic's user avatar
  • 191
45 votes
6 answers
83k views

Configuring Apache2 to proxy WebSocket?

The WebSocket protocol is an extension of the HTTP protocol. However, the proxy module of Apache2 does not seem to know about it, and throws away crucial headers, converting the call to a standard ...
Blixt's user avatar
  • 595