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
8 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
15 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
47 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
0answers
14 views

Increasing the amount of active websocket connections on Apache 2.4 (Task limits)

Currently, I am using mpm_event and I have increased the allowed amount of open files. It doesn't matter how high I set MaxRequestWorkers because of what appears to be a limit on the Apache2 process. ...
0
votes
0answers
10 views

Apache reverse proxy routing/forward request of ABC.com website to XYZ.com(Websocket)

Detail: OS: Red Hat Enterprise Linux Server 7.6 (Maipo) Kernel: 3.10.0-957.5.1.el7.x86_64 Server version: Apache/2.4.6 (Red Hat Enterprise Linux) Server built: Oct 8 2019 05:47:38 httpd-2.4.6-93....
0
votes
0answers
15 views

Apache with SSL and socket.io (python) is not working

I am trying to run a socket.io (python) server on a different port of my Apache web server, than the usual 443 https traffic. I realize there are many discussion about this subject already available, ...
0
votes
1answer
54 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
36 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 ...
0
votes
0answers
83 views

Openmeetings 5.0-M3 behind apache reverse proxy websocket requests yields 404

I have Openmeetings 5.0.0-M3 up an running on port 5443. I now want to hide it behind an apache 2 reverse proxy in an https apache server location. Initial html loading with https://<domain>/...
0
votes
0answers
19 views

Exactly what is the “Tunnel” that Nginx sets up to connect to a back-end server when using WebSockets?

I am a beginner to the world of web development and currently I'm trying to build a socket.io flask application with Nginx serving as the front end server to handle, among other things, the load ...
-1
votes
2answers
116 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 ...
0
votes
0answers
21 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
33 views

How to debug Daphne CPU 100% issue

Could you please give some suggestions to inspect the high CPU (most time above 90% and some time above 100%) consumed by Daphne. Environment: OS: Ubuntu 18.04.1 LTS x86_64 GNU/Linux Python: 3.6.5 ...
0
votes
0answers
35 views

Websocket configuration for Elastic Beanstalk instance

I have a problem with proper nodejs WebSocket server configuration on AWS EB. I have a client app and a chrome extension that is maintaining WebSocket connection with the server. But when the ...
0
votes
0answers
16 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
46 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
0answers
30 views

Tomcat is running but not responding

We are using aws(4 Core + 16GB RAM) running linux to host 1) Web Server to host our java web application 2) WebSocket server(Provided in Tomcat) 3) TCP server (Built using Netty framework) The ...
0
votes
1answer
107 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
0answers
32 views

Windows IIS Reverse Proxy for Web Socket Server dynamic port

as you can see below I have 2 rules which basically do the same for websocket servers. Is there a possibility to combine these 2 rules in one generic rule which would at the same time allow to add ...
0
votes
1answer
140 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 ...
0
votes
0answers
7 views

Routing to Specific Heroku Instances

I have a NodeJS application on Heroku where users connect to a shared space via SocketIO and collaborate on some shared content and now need to scale this to multiple servers. What I would like to do ...
0
votes
0answers
65 views

Using WebSockets with Tomcat behind IIS via AJP

I have a question quite similar to Apache Cluster + Tomcat websocket. We have Tomcats fronted by an IIS webserver through ISAPI redirector (AJP) I know that we can't do upgrades from HTTP to ...
0
votes
0answers
97 views

Apache WebSockets config for secured connection(WSS) for django project

Need help in configuring secured WebSocket connection in windows server machine for Apache. Any kind of guidance(even links which subject this) is highly appreciated. Please check below for .conf ...
0
votes
0answers
51 views

WebSocket connection VS single request - which loads server more? [duplicate]

Websockets are new to me, and I couldn't find a benchmark for this specific question (maybe i was searching with incorrect keywords)... So, lets say, I have Apache (php) as backend. then i have to ...
0
votes
0answers
536 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 ...
1
vote
0answers
583 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
122 views

Apache Reverse Proxy to Single vmware ESXi authentication problems

I have a Single Vmware ESXi host in a private Network which I have exposed the management into the public Internet via an Apache Reverse Proxy configuration. In order to make it harder to random ...
0
votes
0answers
87 views

Proxy Error vhost websocket apache configuration

I'm trying to configure a vhost websocket for my apache. Unfortunately I get the following error message in Chrome: Proxy Error The proxy server received an invalid response from an upstream server. ...
0
votes
0answers
96 views

win-server-2019-rds-html-5-web-client-not-working-behind-nginx-web-proxy

Trying to use NGINX to proxy RDWeb HTML 5 version. Having issues with web sockets. (I also am using VOUCH to send auth to Google) Looking for help with this exact issue. [Win Server 2019 RDS HTML 5 ...
0
votes
0answers
639 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
126 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
106 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 ...
0
votes
0answers
136 views

Citrix desktop gives “Error during WebSocket handshake: Unexpected response code: 302” when accessing application internally

We have strange Websocket problem on our Citrix Virtual machine environment. Our websocket connections outside the Citrix work perfectly, but when our client try to test the Websocket connection ...
0
votes
0answers
54 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 ...
0
votes
1answer
818 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 ...
0
votes
0answers
60 views

How to distribute socket.io servers globally?

We have a Socket.io service that needs constant communication with Mongodb. We currently have a load balancer server, 16 containers in a server (due to nodejs being single threaded, we split processes ...
1
vote
0answers
1k 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:{...
0
votes
0answers
232 views

WEBSOCKETS with PHP in recent WINDOWS enviroment (IIS 10)

I'm trying to upgrade an intranet chat/messages system I've realized with ratchet [enter link description here][1] written in PHP that works fine with websockets. http://socketo.me/ The issue is ...
-1
votes
1answer
110 views

WebSocket communication error

Trying to understand what is wrong with WebSocket communication since the fact application is trying resend message. The last WebSocket packet contains error: The client frame set the reserved bits ...
1
vote
0answers
176 views

Socket.io proxy through Apache and its performance

I am trying to setup a server for a Socket.IO game, but we will also have a little landing page in php served through Apache. I managed to make the server work by doing a proxy from Apache to the ...
1
vote
0answers
502 views

Error 200 during WebSocket handshake: Aws load balancer + ec2 websocket

I'm using load balancer in front of an aws ec2 instance(I will have more in future). In this ec2, I have a website being served by nginx on port 80, a nodejs app listening on 8080 and the websocket on ...
1
vote
0answers
97 views

Allow Websocket connections on Google Cloud Platform

We have a GCE project, with several servers behind a loadbalancer. The servers are running a NodeJS HTTPS server. We have recently tried to implement websocket support, but can't seem to connect to it ...
1
vote
1answer
2k views

Nginx timeout for websocket

I'm connecting a client with websocket through Nginx (as a reverse proxy) to an asp.net core application. Between server and client there are heartbeat commands to keep websocket connection open. My ...
1
vote
0answers
277 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 (...
0
votes
0answers
893 views

Cannot connect to websocket

When I tried to connect to spring boot web socket from android stomp client, it is not connecting and the catalina log shows Handshake failed due to invalid Upgrade header: null Tomcat server is ...
0
votes
1answer
766 views

Azure WebApp Socket can't connect

I have a ASP .NET application hosted as a WebApp in Azure and a Xamarin client app that consumes that WebApi in Azure. As soon as I changed my webapi to an Azure WebApp, which was previously hosted in ...
1
vote
1answer
3k views

How to accept HTTPS and Websockets on a new Google Kubernetes Engine deployment?

I set up a simple 1-node GKE deployment with the default (beta) ingress, created via the GCP console. I would like to set up a Google-managed SSL certificate and HTTPS proxy to the a single GKE node &...
2
votes
2answers
965 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://...
-1
votes
1answer
355 views

Redirect websocket and json in SSL with NGINX

I'm getting crazy to solve a problem with the neginx configuration of a live blogging platform. In http it works, and here is the configuration: /etc/nginx/conf.d/default.conf server { listen ...