331 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
30
views
call:fail action: private-web3-wallet-v2-o pen-wallet-connect, error: Pairing error: Subscribe error: Timed out waiting for 60000 ms /what it means
Can't connect my web3 wallet with a dApp. A message pops: Accounts must be CAIP-10 compliant
The error message reads:
call:fail action: private-web3-wallet-v2-o
pen-wallet-connect, error: Pairing ...
0
votes
1
answer
116
views
Websocket Support On IBM WebSphere 9.0.5.6 - IllegalArgumentException: Upgrade currently not implemented
I’m running a Java web application on WebSphere Application Server 9.0.5.6, and I’m encountering the following error when processing an HTTP request:
000042b3 webcontainer E com.ibm.ws.webcontainer....
0
votes
1
answer
54
views
Sec-WebSocket-Accept digest verification in the Client
Studying the WebSocket protocol a little bit and I am a little confused about the lack of mentioning any client verification of the digest that the server generates in Sec-WebSocket-Accept header.
...
1
vote
2
answers
142
views
How to unit test and mock in typescript WebSocket from ws library?
I have this example code
Provider.ts
import WebSocket from 'ws';
class Provider {
async listen(onNewData: (data: any) => void) {
ws.on('open', () => {
const ...
0
votes
1
answer
104
views
How to mock websocket when using ws library in typescript?
I am using typescript "typescript": "^5.7.3" for a nodejs backend project
and
"ws": "^8.18.0"
"jest": "^29.7.0",
"ts-jest": "...
1
vote
1
answer
120
views
code":4,"StatusCode":400,"message":"WS failed with code: 4 and reason: invalid auth message format","isWSFailure":false
I used Next.js for my frontend.
I separate the token for user login authentication. I generate another token with the secret key provided by Stream.io provider to access the live stream. I'm not sure ...
2
votes
1
answer
445
views
Bun.js Packet losses in Websocket
I created a Websocket server using Bun.serve(). In this server, when a new client connects, I send it 1 million packets with a for loop. But these packets are interrupted. Hundreds of thousands of ...
0
votes
0
answers
91
views
Establish Websocket connection by client IP address
How can my Websocket server initiate a connection to a client choosing it by its IP address?
I have multiple clients each one having static IP.
The list of expected IPs is stored on the Server side.
I ...
0
votes
1
answer
77
views
Websocket sever deployed to Heroku does not initialize so client recieves a 404
My project requires that I send information to the front-end concerning the status of a transaction so the client will be notified. I began to do this using Server Sent Events and I had issues with ...
1
vote
0
answers
60
views
ubuntu c library import not found after installing with make
I am attemping to use the c wsserver library. After installing with make, when attempting to run the library, it gives me the error
main.c:4:10: fatal error: ws.h: No such file or directory
4 | #...
0
votes
0
answers
146
views
Setup for Websocket using express-ws getting 101 error on live site
I am trying to setup a webSocket connection between two servers (one is being treated as the client in this case, however they are both using node and can handle api calls). When I test it locally it ...
0
votes
0
answers
83
views
Is there a way how to know that websocket subprotocols are rejected?
While connecting to a websocket server i set a subprotocol value.
this.websocket = new ReconnectingWebSocket(connUrl, [subprotocol]);
It's up to server to check whether the subprotocol is allowed and ...
0
votes
0
answers
51
views
sending a message from client while connected to Websocket server in JavaScript
i'm using "ws" package of npm in order to connect to coinex websocket server.
i know that in onOpen function of ws i can send messages to server, but i want to be able to send messages after ...
3
votes
2
answers
1k
views
Twilio + webSockets - can't send parameters to webSocket
I am having problems with Twilio, while trying to send parameters to a webSocket that is being called from a webhook. I am using: node.js, express, ws (JS websocket library).
The webhook is not the ...
2
votes
0
answers
101
views
Changing the WS-URL of React.js DEV
I have a React application running on PORT 5447, but it is redirected to a subdomain on port 80 using Nginx Multihost.
Example: dev.react-app.net
The connection basically works, but my React ...