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
.toThrow("Unable to connect to the server with any of the available transports. WebSockets failed: Error: There was an error with the transport. "+
233
-
"ServerSentEvents failed: Error: 'ServerSentEvents' is disabled by the client. LongPolling failed: Error: 'LongPolling' is disabled by the client.");
232
+
.toThrow("Unable to connect to the server with any of the available transports. WebSockets failed: Error: WebSocket failed to connect. "+
233
+
"The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, "+
234
+
"or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled. ServerSentEvents failed: Error: 'ServerSentEvents' is disabled by the client. LongPolling failed: Error: 'LongPolling' is disabled by the client.");
234
235
235
236
expect(negotiateCount).toEqual(1);
236
237
},
237
-
"Failed to start the transport 'WebSockets': Error: There was an error with the transport.",
238
-
"Failed to start the connection: Error: Unable to connect to the server with any of the available transports. WebSockets failed: Error: There was an error with the transport. "+
239
-
"ServerSentEvents failed: Error: 'ServerSentEvents' is disabled by the client. LongPolling failed: Error: 'LongPolling' is disabled by the client.");
238
+
"Failed to start the transport 'WebSockets': Error: WebSocket failed to connect. The connection could not be found on the server, "+
239
+
"either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled.",
240
+
"Failed to start the connection: Error: Unable to connect to the server with any of the available transports. WebSockets failed: "+
241
+
"Error: WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled. ServerSentEvents failed: Error: 'ServerSentEvents' is disabled by the client. LongPolling failed: Error: 'LongPolling' is disabled by the client.");
240
242
});
241
243
242
244
it("negotiate called again when transport fails to start and falls back",async()=>{
"Failed to start the transport 'WebSockets': Error: There was an error with the transport.");
1138
+
"Failed to start the transport 'WebSockets': Error: WebSocket failed to connect. The connection could not be found on the server, "+
1139
+
"either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled.");
1137
1140
});
1138
1141
1139
1142
it("user agent header set on negotiate",async()=>{
0 commit comments