The Wayback Machine - https://web.archive.org/web/20220121021121/https://github.com/dotnet/aspnetcore/issues/39666
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

Disconnect event takes 10 minutes to trigger #39666

Open
1 task done
bencz opened this issue Jan 20, 2022 · 2 comments
Open
1 task done

Disconnect event takes 10 minutes to trigger #39666

bencz opened this issue Jan 20, 2022 · 2 comments

Comments

@bencz
Copy link

@bencz bencz commented Jan 20, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I'm developing an ASP.Net core service that uses Signalr, an android app connects to the signalr HUB.

When performing the test of disconnecting the cell phone from the internet network, while it is connected to the HUB, there is a delay of 10 minutes to trigger the disconnect event on the server.

I'm currently using SignalR's default timeout settings.

The bug/feature is, the time that the SignalR uses to trigger the disconnect event.
According to the documentation this time should be just a few seconds.

Expected Behavior

The quick disconnect trigger.

Steps To Reproduce

Create some Hub with ASP.Net core and SignalR
Create some VM or Android APP that connect to the SignalR hub
Connect the app to the hub
Disconnect the VM or app machine from network

Exceptions (if any)

No response

.NET Version

6.0.101

Anything else?

No response

@BrennanConroy
Copy link
Member

@BrennanConroy BrennanConroy commented Jan 21, 2022

What version of the SignalR client are you using?

Are you running the server under a debugger?

@msftbot
Copy link
Contributor

@msftbot msftbot bot commented Jan 21, 2022

Hi @bencz. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

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

Successfully merging a pull request may close this issue.

None yet
3 participants