Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server timeout after 30 seconds with long polling transport #87

Open
jhlgns opened this issue Feb 6, 2022 Discussed in #86 · 0 comments
Open

Server timeout after 30 seconds with long polling transport #87

jhlgns opened this issue Feb 6, 2022 Discussed in #86 · 0 comments

Comments

@jhlgns
Copy link

jhlgns commented Feb 6, 2022

Discussed in #86

Originally posted by jhlgns February 5, 2022

if ((_connection!.features != null) ||

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant