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
Good day!
I just ran into some issues with long polling transport. Although the server sends "Pong"-Messages to reply to the client "Ping"-Messages every few seconds, the HubConnection times out after 30s.
How can I prevent these timeouts? The server is running fine like I mentioned.
I was looking into the code that handles the timeout and I noticed for example that the check if ((_connection!.features != null) || (_connection!.features.inherentKeepAlive == false)) { ... } probably should be _connection!.features == null, shouldn't it?
The text was updated successfully, but these errors were encountered:
Discussed in #86
Originally posted by jhlgns February 5, 2022
signalr_core/lib/src/hub_connection.dart
Line 340 in 8c96e88
Good day!
I just ran into some issues with long polling transport. Although the server sends "Pong"-Messages to reply to the client "Ping"-Messages every few seconds, the
HubConnection
times out after 30s.How can I prevent these timeouts? The server is running fine like I mentioned.
I was looking into the code that handles the timeout and I noticed for example that the check
if ((_connection!.features != null) || (_connection!.features.inherentKeepAlive == false)) { ... }
probably should be_connection!.features == null
, shouldn't it?The text was updated successfully, but these errors were encountered: