Category "websocket"

Is there a WebSocket command to execute the code blocks in a SageMaker notebook instance once there is a successful connection?

I have written a Lambda Function to start a SageMaker notebook instance, create a WebSocket connection, then execute the ipynb file inside the notebook instance

JSF <f:websocket> connection fails (Jakarta EE9, JSF 3.0)

I am trying a simple websocket application using Jakarta EE9 and JSF 3.0 on a glassfish 6.2.5 server. When I run it, messages are not received, when the server

Explain what is the advantage of websocket over sending normal http requests at intervals?

I hope the question is clear. What prevents just sending a GET request every 1 second, for example, what will be the difference?

Explain what is the advantage of websocket over sending normal http requests at intervals?

I hope the question is clear. What prevents just sending a GET request every 1 second, for example, what will be the difference?

Django WebSocket connection to 'ws://127.0.0.1:8000/ws/chat/8_9/' failed:

I am doing a Django project in which I have added a live chat feature using Django channels. When I finished the messaging part I worked on other parts of the p

how to add data to database in django

I send the data I get from websocket with javascript to the view.py section of python-django with var xhr = new XMLHttpRequest() ///. my question is; The data c

Using Django-channels3 on connecting throwing error

I am using Django-Channels3 with django-redis, following a youtube tutorial, being a newbie @ Websockets, i got no idea, why WebSocketKing Client throwing this

Problem with websocket output into dataframe with pandas

I have a websocket connection to binance in my script. The websocket runs forever as usual. I got each pair's output as seperate outputs for my multiple stream

Gitlab Kubernetes Agent behind Nginx Reverse Proxy

Dear friendly developer, I am trying to register a Gitlab Kubernetes Agent inside a Minikube with a self hosted Gitlab instance. The Gitlab instance is a docker

Uncaught DOMException: An attempt was made to use an object that is not, or is no longer, usable when accessing available var

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 stor

HttpClient timeout on Braintree call in Blazor

I'm deploying my .Net 6, Blazor Server site for the first time on shared hosting. It's all seems to work so far bar two things. In the browser console (Chrome)

What do I write to Slack's Socket-Mode websocket endpoint to send a chat message using Ruby?

I am trying to write a simple Slack chatbot for my team using Ruby. It's a bit rough because Slack doesn't have official support for Ruby. Nevertheless, I've be

How do I change this to use websockets binance python?

I've done this program, but don't know how to change this to use web sockets. If I use this as it is, I get an API error (too many calls) and tells me to use we

Janus invalid session (null)

I've just set up janus and got it running. I'm connecting to it, and can see in the janus logs: [ERR] [transports/janus_http.c:janus_http_handler:1522] Invalid

"Websocket connection failed" when proxying requests to Next.js app via Apache server

Since upgrading to Next.js 12 I'm getting the following error in the console when I run my Next.js app: WebSocket connection to 'wss://mysite.local/_next/webpa

Python websocket with FastAPI does not return data immediately

I created a websocket connection with FastAPI to "stream" data which comes from a tedious calculation. The data chunks should be send as soon as they are availa

WebSocket from HTTPS website to different port, self-signed certificate

I am facing issues when trying to connect from a browser via WebSocket to a server. Website is hosted on a default port (80, 443, configurable - this is s selfh

Why am i getting " Expected an assignment or function call and instead saw an expression" error here?

Im getting " Expected an assignment or function call and instead saw an expression" error at the seconduse effect, it finds the socket port correctly, am i perf

How to implement sending a heartbeat message using a boost beast websocket client

I need to implement sending a heartbeat message to a third party server with regular intervals. The server uses these heartbeat messages to determine if that th

How to fix 400 error bad request in socket io?

I have a frontend application(VUE JS) I have a backend (Nest JS) Vue JS app get data from backend via websockets using vue-socket.io-extended library When Vue J