Questions tagged [websocket]

WebSocket is an API built on top of TCP sockets and a protocol for bi-directional, full-duplex communication between client and server without the overhead of http.

Filter by
Sorted by
Tagged with
0
votes
0answers
29 views

how to set up websocket server along with two laravel backend and a spa

i have two laravel backend setup on different routes. and there is a spa on root. now i want to set a websocket server along with it. here is my website.conf ############## block-4 : multiple ...
0
votes
0answers
19 views

Access heavily firewalled remote computer port with wstunnel

I have a remote server running Win10 from which I need to access one port (RDP) from my local laptop. Unfortunately, Remote Win 10 is heavily firewalled (zscaler). Only HTTP / HTTPS / WS is allowed on ...
2
votes
1answer
229 views

How to fix ws and socket.io memory leak?

I have read that there is a memory leak occurring in both node.js websocket modules ws and socket.io. It has existed for years and am wondering how to fix it. It is mentioned in the following, to name ...
0
votes
0answers
25 views

Clients who block all outgoing udp connections having problems connecting to turnserver

We recently had a problem with our turnserver (coturn), some clients who use firewalls to block all outgoing udp connections have problems connecting to it, as far as i know, when udp connection doesn'...
0
votes
0answers
68 views

Handling large number of concurrent users in spring websocket

I have been working with WebSocket in Spring with StompJS. The use case is for realtime recommendation system. For my scenario there can be from 1,000 to 1,000,000 users connecting concurrently. I can ...
0
votes
0answers
18 views

Websockets: Can our server handle 3,000 users? [duplicate]

I'm building a website's with realtime events happening, this is my tech stack: Language: PHP Framework: Laravel I'm using a self hosted websockets. We're expecting 3,000 users will use the website ...
-1
votes
1answer
45 views

Apache WebSockets “400 proxy error”

We're trying to present the WebSocket-enabled interface from a remote device on our website. I've configured the WebSocket tunnel in Apache, but I'm getting a "400 Proxy Error" in Firefox (...
1
vote
2answers
107 views

How to open a socket on EC2 instance?

I want to send webcam video from my laptop to aws EC2 instance. I'm trying to follow suggestions from here and code from here. The issue I'm facing is that I do not know how to open a socket and ...
1
vote
0answers
18 views

RabbitMQ Stomp one central Node or domain based?

We have a server with about 400 instances of an application, each of these instances has its own domain. We want to set up a RabbitMQ(other server) , also Stomp(websockets) for the Frontend and amqp ...
0
votes
0answers
17 views

Websocket connection delay from Mobile App to Ubuntu 16

I've customers with Android mobiles with my app which forwards selective SMS to a Nodejs based Websocket server on Ubuntu 16. I've two set of customers and another similar Ubuntu 14 with similar app ...
0
votes
0answers
35 views

How to limit the total volumn from a TCP connection

I have a particular application with one type of connection that mostly sends packets to clients while receives nothing but login request. (i.e. video streaming) Therefore I want to limit the Total ...
1
vote
1answer
49 views

WSS Connectivity issue on production

I am using Angular8 as frontend and Nodejs as backend I have Configured WSS on production ,but connection with client not working properly, In one page connection is working but in another page ...
0
votes
0answers
219 views

SSL Error: How to use Nginx with Node.js App using Angular and websocket

I am running into an SSL error when setting up Nginx as a reverse proxy for a Node.js app. This app uses Angular to serve dynamic content and for WebSocket, we use ws. WS working properly but when ...
1
vote
0answers
998 views

Jitsi Meet in Docker Container: Websocket error

(I asked this question on StackOverflow yesterday, but I didn't receive an answer yet, and maybe Serverfault is a better platform for this question. Also I can't post pictures here, but I hope the ...
0
votes
0answers
55 views

How to install event library in ubuntu

I am trying to install event library but not getting this error openssl installation prefix [no] : no building in /tmp/pear/temp/pear-build-rootQpSDDZ/event-2.5.7 running: /tmp/pear/temp/event/...
0
votes
1answer
57 views

How to create a websocket backend?

I'm getting clueless on this topic. I have a working websocket connection using Mosquitto on server_1 . The webapp that needs to publish the websocket data is in server_2 and is accessed behind a ...
0
votes
0answers
4k views

WebSocket connection to 'wss:// failed: Error during WebSocket handshake: Unexpected response code: 404 on channels

I face this error while using channels for WebSockets on django production: WebSocket connection to 'wss://domain.me/ws/orders/confirm_all/' failed: Error during WebSocket handshake: Unexpected ...
0
votes
0answers
15 views

Laravel websockets package connection refused? [duplicate]

I using laravel websocket package aspusher replacement. First this ubuntu was not allowing to access the port 6001 then I add Inboud securoty group rule on aws . Now it is allowing to access the port ...
3
votes
1answer
459 views

Nginx reverse proxy + URL rewrite + websockets

I saw this Question, but it doesn't seem to work for me. Current (working) situation is: server { listen 443 ssl; server_name updates.example.com; ssl_certificate fullchain.pem; ...
1
vote
2answers
428 views

Can Nginx limit incoming websocket message size?

In the JS WebSocket library, you can limit the maximum allowed incoming message size via the maxPayload option. I'd like to impose this limit in my Nginx reverse proxy layer, before it gets to my ...
1
vote
1answer
59 views

Can Apache-2.4 hand off a client connection to a PHP script that speaks WebSocket to the client?

I have an Apache-2.4 web server. It will execute PHP scripts if a client requests https://my.domain.com/script-name.php, and the output of the script shows up in the browser window. (Or it can be ...
0
votes
1answer
215 views

Nginx socket reverse proxy got 503 responses on concurrent requests

I am using Nginx as a reverse proxy for my PHP base WebSocket application and I try to load test the WebSocket server with Nginx reverse proxy. And I got 503 errors when concurrent users reach around ...
0
votes
1answer
80 views

ActiveMQ Artemis: Propagate credentials from Websocket to STOMP

Can ActiveMQ Artemis propagate basic authentication information (username, password) from a Websocket to the encapsulated STOMP protocol (STOMP-over-Websockets)? The documentation does not really help ...
0
votes
0answers
196 views

Enable wss protocol in Apache 2

I have a website running over https and I want it to connect over WSS to my server that listens for websocket connections on port 1234. However on connect I get this error: net::ERR_SSL_PROTOCOL_ERROR ...
0
votes
0answers
167 views

Apache Reverse Proxy and ShinyProxy

I wrote a shiny web application and deploy it on a server using ShinyProxy. Accessing the app directly via the IP address and port 8080 works fine. However, I need to connect it to a URL. On the ...
0
votes
1answer
337 views

Asp.net core Blazor app with google authentication getting lots of websocket errors

We have a simple asp.net core 3.1 Blazor server-side app which we are trying to run on google app engine but are getting lots of websocket errors during initial connection: WebSocket connection to '...
0
votes
1answer
152 views

Nginx Config for ws://<ip>:<port>

I have a domain i call it <domain> and ip call <ip> and port <my-local-port>, i wan't using nginx on my server (dns binded to my server success), my problem is that reverse proxy ws:/...
0
votes
0answers
51 views

NGINX deny all except websockets for Flask app

I have an Ubuntu server running Flask app under nginx, this is my conf: upstream flaskapp { server 127.0.0.1:5000 fail_timeout=0; } server { listen 80; server_name _; location / { ...
1
vote
1answer
587 views

Nginx proxy websocket: is it required to close the connection to backend after upgrading to a websocket?

Base on what I could read on nginx site https://www.nginx.com/blog/websocket-nginx/ The exemple they give will close all connections to backend. This isn't really what we want on a proxy setup, ...
2
votes
1answer
826 views

Tomcat servlet will not complete websocket connection

I am moving a set working servlets from one server to another Old server, Centos6, Apache 2.2, Tomcat 9 New Server, Centos7, Apache 2.4, Tomcat 9 I have about 5 servlets running from the old server ...
0
votes
1answer
311 views

How can do Load Test against WebSocket?

We will have to do a load test for the first time. To tell the truth, I don't know exactly what to look for and how to do it. I have also researched resources on this subject but I could not obtain ...
1
vote
0answers
340 views

Channels current state is disconnected(laravel-websocket on ubuntu Host server)

I am working on Laravel-websocket package i got stucked on this error from quite long time. i have configure basic laravel procject along with laravel websocket package on my local ubuntu as well as ...
0
votes
0answers
131 views

Configure Apache Web Server (shared hosting) to provide simultaneous Web and Websocket Access

I'm trying since some days to find a way to configure simultaneous websocket and web server connections with one same Apache Web Server I have on a shared hosting basis. Now, before giving that up and ...
0
votes
1answer
95 views

Configure NGINX Reverse Proxy in front of Apache Web Server (to enable websockets)

Upon recommendation of a member of the stackoverflow forum, I hereby ask the following question in this forum, where it apparently fits better (I'm new to this forum). What exactly I want: A ...
0
votes
1answer
1k views

How to solve Nginx WebSocket secure (wss) “error 426 Upgrade Required”?

I tried to configure a Websocket proxy on my Nginx server, but unfortunately, I don't get it working. I have read various post here but I cannot get the server work. I think it has something to do ...
0
votes
1answer
1k views

NGINX Proxy_Pass to websocket server on a Plesk Server

I am trying to get a websocket client connected to my server with a ssl connection. I want to reach it with www.myurl.com/socket/ (subdomains would also be an option) and the websocket server is ...
-1
votes
2answers
1k 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 ...
3
votes
1answer
800 views

Error 404 when connecting to websocket behind nginx proxy_pass

I would like to serve up a websocket behind a location on my webserver. For example, if my domain is http://mydomain I would like my websocket to be available at ws://mydomain/ws. I am running a ...
0
votes
0answers
17 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 ...
1
vote
0answers
101 views

Apache reverse proxy to websocket in same context as http

I have an Apache/2.4.6 installation working as a reverse proxy for some applications. Now I have to configure another one. HTTP proxying is working great, but in some sections of the webpage, the ...
0
votes
1answer
286 views

Ejabberd MUC room not sending unavailable presence for disconnected users

I'm running ejabberd 19.09.1 using the official Docker image, configured for anonymous authentication with mod_muc. Clients generally connect to the server in the browser, through a WebSocket endpoint....
0
votes
1answer
446 views

Cannot establish Websocket on AWS

I have a webserver running on an EC2 instance behind an AWS load balancer under a custom domain for using https. Curl requests to the webserver work as expected, including over https. But ...
1
vote
1answer
2k views

No protocol handler was valid for the URL / (scheme 'ws')

Trying to setup a websocket proxy using apache2, I get the following error: No protocol handler was valid for the URL / (scheme 'ws'). If you are using a DSO version of mod_proxy, make sure the proxy ...
1
vote
1answer
2k views

Connecting to websocket on Google Cloud Run docker container

I'm rather a newbie to GCP so please forgive my ignorance. I'm trying to connect a few bits together, namely: A Node instance running on App Engine A ChatScript instance running on Cloud Run with a ...
0
votes
0answers
1k views

Failed WebSocket connection handshake error response code: 502

I am facing a weird nginx + websocket related issue so wanted to ask if any of you can give me an idea what is causing this error and if there is any way to fix it. I run a chatroom website (https) ...
2
votes
0answers
311 views

(105: No buffer space available) while connecting to upstream,

The server is returning 500 error. And in the logs I see many records like (105: No buffer space available) while connecting to upstream Tried to restart server : didn't help. Increased the number ...
0
votes
1answer
520 views

TCPDUMP, tcp Flag not changing from Flags [S] to other flag values

I need support understanding these lines. when i tried to connect to server in a particular port it shows connecting and gives me timeout error. But in the tcp-dump command the packet flag not ...
2
votes
0answers
143 views

Any reasons against a very high value in proxy_send_timeout for websockets?

I use nginx as an ingress controller in Kubernetes. I have a websocket connection between 2 applications which you should stay open indefinitely. There is a reconnect mechanism but that should be ...
1
vote
1answer
2k views

Nginx: proxy_set_header “Upgrade” slows down the server

I have a site that I'd like to enhance with using WebSocket based features. The site is behind an Nginx reverse proxy. My config for the server looks like this: location / { ...
0
votes
1answer
33 views

What is the fastest posible way to comunicate to a server on Amazon EC2?

I need to communicate via WebSockes and normal HTTP. I am trying to save some microseconds. I have already done: I got an instance at the same Amazon EC2 zone. The ping is 1 millisecond. I have ...