All Questions
1,042
questions
0
votes
0
answers
38
views
I am implementing real-time chat using web sockets, but the chat is not reflected in real time
The getChatMsg function is an API that brings previous chat history.
Even though it was invalidated with invalidateQueries, the chat history is not reflected in real time.
Even if you manage input ...
0
votes
0
answers
18
views
NodeJS socket connection not working on EC2 despite working fine on local
We have deployed our reactJS frontend, NodeJS backend and NodeJS chat(which uses socket programming for communication) on AWS using nginx as webserver.
This is what I have added my /etc/nginx/nginx....
0
votes
0
answers
179
views
How to implement WebSocket communication for chat responses in a FastAPI-React.js chatbot?
I am a novice developer who can handle python to some extent, but has little knowledge about fastapi and servers.
I'm building a chatbot using autogen with FastAPI-React.js
I wish the agent's chat ...
0
votes
0
answers
128
views
How To Add Cookie A Header To A Websocket Request In ReactJS (Like Postman Does)
To Mods: I've read every other relevant question on SO before posting this. Historically, the solution has been 'just forget about cookies and pass auth in utm params', but that answer is not an ...
0
votes
1
answer
52
views
Does WebRTC need Server? [duplicate]
I have a simple question
based on this link
WebRTC
WebRTC (Web Real-time Communication) is an industry effort to enhance
the web browsing model. It allows browsers to directly exchange
realtime media ...
0
votes
0
answers
35
views
Websocket client not able to listen to WebSocket's sendText method from FastAPI
I am trying to listen for messages from backend using FastAPI and react.js on frontend. I am able to send message to backend from client and also able to receive to broadcast messages from backend to ...
0
votes
1
answer
74
views
Not able to send Message from Dotnet WebSocket but can receive it
I have a dotnet core app. Below is my web socket code for it
var builder = WebApplication.CreateBuilder(args);
IConfiguration configuration = builder.Configuration;
builder.Services.AddCors();
var app ...
0
votes
0
answers
23
views
Socekt.io Issue(with typescript and react) : no data is sent with the socket, even though the connection is established
this is my backend set up for the socket.ts server
import {Server} from "socket.io"
import {createServer} from "http"
import express from "express"
const app = express()...
2
votes
0
answers
95
views
WebSocket connection to ... failed in React, but works with Postman WebSocket client
I want to connect a FAST API websocket to a React client. When I try to establish the connection troug Postman it is working, but when I try with react, it shows WebSocket connection to ... failed
My ...
0
votes
0
answers
33
views
Connection between 2 peers breaks when other 2 peers connect
I'm working on a feature for my personal project that includes a patient selects a particular doctor from a list to call them. The call goes to the doctor and they can accept or reject the it. When ...
1
vote
1
answer
48
views
Websocket data process with React
I am writing a real time application using React and websocket, there is a problem, I get the data from websocket, there is no problem here, but when it scrolled, I wrote the following code to get ...
0
votes
0
answers
28
views
Incorporating a websocket in my react-native application and having it update a screen if the screen is currently active
I have a websocket that updates data and it exists on my main screen that has a tab navigator. If one of my tabs is open i would like for it to update in real time. I've been having some trouble on ...
0
votes
0
answers
33
views
Java and React WebSocket - Error Connection
Código do WebSocket no Java:
package com.fatec.dsm.tharseo.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.messaging.simp.config.MessageBrokerRegistry;...
0
votes
2
answers
107
views
React and Django connection with channel setup - WebSocket connection failed
I'ved tried to setup Django with channels to provide notification to React.
https://github.com/axilaris/react-django-channels <-- I have put my project code here.
in backend/backend/settings.py
...
0
votes
1
answer
257
views
How can we close websockets connection when component unmount?
I am having a small bug in my application which causing a big problem. In my react-vite application, I have integrated WebSocket to get the live status of a particular thing.
Problem: When a user ...