All Questions
19
questions
1
vote
1
answer
129
views
How to prevent 504 Gateway Timeout Error using SignalR with .NET Core API and React client?
I have an endpoint that uploads a CSV into my web application to import data, and while the request succeeds a majority of the time, with bigger data sets, the client eventually times out with a 504 ...
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 ...
1
vote
0
answers
29
views
Object iterator to push into array with signal R websocket and Leaflet
I have an async function connected to a socket that i want to iterate over every object and then push to an array:
interface ECSEquipmentLocationUpdate {
X: number;
Y: number;
Phi: number;
...
1
vote
0
answers
43
views
SignalR with React Problem - Websocket events doesn't work when navigating
I use ASP Web Api as a backend for my application, and React for Frontend with react router
we have a chat in some page that listens for new messages however
when I navigate to another chat room using ...
2
votes
2
answers
936
views
SignalR connection works with console app but not with ReactJS
I have the following relevant code on my ASP.NET server:
// TrackingHub.cs
public class TrackingHub : Hub
{
public async Task SendLocationData(LocationData locationData)
{
await ...
1
vote
0
answers
30
views
After a while, my react application which is bundled into .exe file is not updating with values for every second which is coming from backend
Some times Data is not updating in .exe file when every second there is a data which is pumping from backend to frontend.
For my problem, currently i am using React v16, .NET c#, SignalR, Websocket. ...
2
votes
0
answers
277
views
My react client using Signalr socket triggers send function when another react client is refreshed
When I log into my React application with another client and any client is refreshed, the other client also triggers the signalr send function, how is this possible?
The windows on the client side act ...
4
votes
1
answer
1k
views
Can't establish wss connection [React + ASP.NET Core, SignalR + nginx]
I have React app that talks to Asp.Net core API. Both of them are deployed on Docker on my VM. Nginx is installed and configured to resolve domain names for app (thesis.uno - for react app, api.thesis....
1
vote
1
answer
298
views
SignalR invoke method doesn't work on throttled connections
I have a .net core backend with SignalR and a react frontend. I have a basic hub set up with ConcurrentDictionary to manage connection ids:
namespace backend.Hubs
{
public class OrderHub : Hub, ...
1
vote
0
answers
297
views
Getting a web socket connection error when I haven't attempted to connect to anything (React)
I am adding signalR to my react project. I've installed @microsoft/signalr which seems to be working fine (after a bit of updating other packages). The issue I'm having is, before I even tried to ...
2
votes
0
answers
99
views
Why does signalR stop pinging after 20minutes here?
I'm using signalr-no-jquery v0.1.10 to make a client - server connection. The problem is the client stops pinging after 20 minutes, I'm guessing it is some sort of default value in miliseconds. Where ...
1
vote
0
answers
108
views
SignalR hub.On methods work after refreshing the page
I have this code on ReactJS and SignalR. The SignalR On methods works only after page refresh. Please explain me how to solve this problem.
componentDidMount() {
const connection = new ...
0
votes
2
answers
1k
views
Receiving two messages from .net core SignalR and react
I am trying to set up a WebSocket connection using the .net SignalR and React app as a client to be able to send private messages.
Here is my code on the client side:
const setUpSignalRConnection = ...
0
votes
1
answer
318
views
Signal R client event handler not invoked despite receiving message from server
I have already tried all possible trouble shooting for this. The problem is occuring with a single event handler. the messsage is received from serverside. This i confirmed in the network tab, but the ...
4
votes
0
answers
666
views
How to connecting signalR to react native
I trying to connect with SignalR. After request, does not return response.
LIBRARY: react-native-signalr
import React, { Component } from 'react';
import {
StyleSheet,
Text,
View,
} from '...