You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when signalr is reconnecting, i need to find out the specific reson when reconnect failed, but i got the same error "There was an error with the transport." , even the real error is token expired, and i viewd source code, here are the specific locations:
// WebSocketTransport.ts webSocket.onerror=(event: Event)=>{leterror: any=null;// ErrorEvent is a browser only type we need to check if the type exists before using itif(typeofErrorEvent!=="undefined"&&eventinstanceofErrorEvent){error=event.error;}else{error=newError("There was an error with the transport.");}reject(error);};
my program runs in a node environment, the original error has been converted
how can I get the original error? Or is this considered a bug?
by the way, I redefined the logic of reconnection, although I don't think this is related to the problem.
any response would be appreciated!
The text was updated successfully, but these errors were encountered:
win9s
changed the title
There was an error with the transport.
There was an error with the transport. [javascript]
May 17, 2024
when signalr is reconnecting, i need to find out the specific reson when reconnect failed, but i got the same error "There was an error with the transport." , even the real error is token expired, and i viewd source code, here are the specific locations:
my program runs in a node environment, the original error has been converted
how can I get the original error? Or is this considered a bug?
by the way, I redefined the logic of reconnection, although I don't think this is related to the problem.
any response would be appreciated!
The text was updated successfully, but these errors were encountered: