Category : websocket

I want to know how to get all the data passed on the WebSocket I alredy tryied using FireFox to see but all the data are strange unicode text and symbols (game link is https://sploop.io) is there an way to maybe decrypt it? I also tryied using var data= new WebSocket("usa1.sploop.io/ws") data.onmessage = (sa)=>{console.log(sa)} And ..

Read more

Preface: I am new to websockets I am able to open, close and receive messages once I connect to the WebSocket but I have no idea how to read the incoming data. The message I receive looks like the following: MessageEvent {isTrusted: true, data: Blob, origin: "wss://ws.kite.trade", lastEventId: "", source: null, …} bubbles: false cancelBubble: ..

Read more

I created a web API client that sends strings from my HTML (embedded with JavaScript) back to a Node.js server using Websockets. I then swapped out the Node.js server with a C++ application that still receives the string data perfectly. My JavaScript code (located in an HTML script): function SendWSData(){ const ws = new WebSocket("ws://localhost:PORT"); ..

Read more

I tried to open a WebSocket connection to Huobi but it says I cannot connect ("Firefox can’t establish a connection to the server at wss://api.huobi.pro/ws."). I’ve connected to other WebSocket streams with no issues. Not sure what is different with this one. const CONNECTION = new WebSocket(‘wss://api.huobi.pro/ws’); Once connected, I sent the connection this payload: ..

Read more

Getting this webSocket error at site https://yoga.sightica.com/class/ console. Backend Django and deployed in AWS using elastic beanstalk. Firefox can’t establish a connection to the server at wss://yoga.sightica.com/class/. main.js:76:16 and this is my main.js file line 76 webSocket = new WebSocket(endPoint); I have configured Django channels and Redis elastic cache using their official docs. option_settings: aws:elbv2:listener:80: ..

Read more