websocket Questions

1

I do not have a choice of installing a network traffic analyzer. How would I go about looking at the response from chrome to a websocket's ping frame. In chrome dev tools, it seems we can only se...
Stolen asked 9/7, 2015 at 23:3

4

I'm trying to write an extension that will modify the User-Agent on all outgoing requests from Chrome. For http://, https://, ftp://, file://, or chrome-extension:// I can use the chrome.webReques...

3

Solved

I am receiving an Error: xhr poll error in the connect_error event when trying to connect to my websocket gateway. I am using "socket.io-client": "^4.2.0". import { io } from &q...
Justiciary asked 5/10, 2021 at 12:29

2

I'm writing a client that communicates with a websocket server. Currently, the socket server sends a generated "token" to the client, which then sets it in storage with: localStorage.set...
Lancers asked 25/2, 2022 at 21:12

4

I have successfully configurated Nginx as a reverse proxy for my web-application. It correctly redirects requests made from my Angular SPA to Web API written in Asp Core 2.1. However, in my Web API...
Raceway asked 12/12, 2018 at 15:0

4

I'm having an issue with decodeAudioData method using Web Audio API to playback in Chrome (it works fine in Firefox)- I am sending the audio buffer recorded by media recorder back from the server....
Holoblastic asked 2/1, 2017 at 7:41

5

I am trying to use the Binance API to get the latest trades on a crypto-currency pair. Here is the endpoint to the API, say for BTC/USDT: wss://stream.binance.com:9443/ws/btcusdt@trade I tested th...
Sprout asked 11/6, 2018 at 8:47

5

Solved

I am testing the scalability of a websockets application I wrote using socket.io and Node.js. I want to stress test and benchmark the performance. What are some tools I can use? So far I've looked...
Breaker asked 23/4, 2011 at 1:32

2

Solved

I'm developing a webapp and I'm including websocket connectivity. I've installed a websocket server with node.js (5.0.0) with websocket (https://www.npmjs.com/package/websocket). In Chrome it work...
Trump asked 8/11, 2015 at 7:26

4

I'm trying to get a websocket running for a Django project I'm working on, but I can't get the websocket to connect, which is strange since I copied the example chat application from. the channels ...
Bailable asked 3/12, 2022 at 16:32

4

Solved

Situation: autoreload of phonegap serve blocked by content-security-policy meta tag Adding content security policy prevents auto-reload of phonegap serve utility. This is built on top of cordova s...

3

Solved

I am running currently a webserver with ASP.NET Core 3.1 and a Blazor project. Recently when upgrading to .NET 6.0 I encountered (even with a blank Blazor project) some problems with a websocket er...
Ambit asked 1/2, 2022 at 8:50

2

I'm making an example from the documentation Django channels and it works great! I see in the logs HTTP GET /chat/lobby/ 200 [0.00, 127.0.0.1:43164] WebSocket HANDSHAKING /ws/chat/lobby/ [127.0.0.1...
Listing asked 26/6, 2022 at 12:5

5

Recently I've been working on a toy app using Kubernetes. Part of the app is a web server that needs to support WebSockets. Currently, I'm using port-forwarding to access the web server and everyth...
Compensable asked 18/10, 2018 at 22:53

3

Solved

I would like to know if its possible to get active WebSockets of a Website. An example would be: var x = document.findWebSocket(). The websockets would be listed in Chrome under the Network Tab (I...
Rive asked 26/1, 2020 at 6:8

3

I am trying to make websocket connection to a backend server that uses a self-signed certificate. In firefox I've added an exception for the self-signed cert. However my websocket connection wss:/...
Leyba asked 31/12, 2014 at 20:20

1

I have been using GlassFish 4 as my server. I am opening a WebSocket connect using this statement: webSocket = new WebSocket(link); Where: link = 'ws://localhost:8080/CollabEdit/Document/file333B1...
Kaz asked 7/4, 2015 at 19:53

4

I have a Node.js app that uses HTTP / REST (using Express.js), and a native Android application that communicates with this. This works fine. I am now looking at writing a more real-time version, ...
Brickey asked 4/5, 2011 at 23:31

3

Solved

I am trying to create an websocket endpoint with spring. But Whenever I am trying to connect from the client end, I get 404. I also have an Java implementation with @ServerEndpoint(value = "/webs...
Marabelle asked 17/1, 2015 at 15:19

2

so i'm doing my final project. i want to get head pose estimation from client webcam. i succesfully stream the webcam to server with websocket. but when i try to put my head pose function inside th...
Pictorial asked 3/5, 2020 at 17:52

1

I've got a spring boot app in which I'm adding the websocket feature so that websocket client can make subscription request to subscribe messages off the websocket topic. In my controller's method,...
Lothar asked 4/2, 2022 at 18:58

12

I need to set an Authorization header to an HTML5 EventSource. As Server Sent Events seems to be disused since Websockets appeared, I cannot find any useful documentation. The approach I have alrea...
Involucel asked 27/1, 2015 at 17:57

4

Solved

I've set up an API Gateway using WebSocket protocol. On the '$connect' route request setting, I selected 'AWS_IAM' as the authorization method. The web app needs to make a connection to this WebSoc...

2

There is this excellent blog post by Jack Lindamood How to correctly use context.Context in Go 1.7 which boils down to the following money quote: Context.Value should inform, not control. This i...
Barleycorn asked 27/2, 2017 at 5:14

5

Solved

Is it possible to disconnect from localhost? I'm writing a Node.js WebSocket server, and I want to test locally what would happen if the connection closes erroneously. If I were testing remotely,...
Steffi asked 28/8, 2012 at 15:10

© 2022 - 2025 — McMap. All rights reserved.