-
Notifications
You must be signed in to change notification settings - Fork 69
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
Random "A task was canceled" exceptions from MongoDB.Driver.Core.ConnectionPools.ExclusiveConnectionPool #15
Comments
I started digging, was not able to find exactly what might cause this. It seems to me that |
Still getting this occasionally, not sure why:
|
With
|
It's potentially happening because of this: https://github.com/aspnet/Identity/blob/rel/1.1.0-preview1/src/Microsoft.AspNetCore.Identity/UserManager.cs#L46 The cause of the request abort is probably related to reverse proxy aborting the request. Not sure what's causing that. |
doesn't seem to be related to reverse proxy. In fact request is not aborted. Low chance but possible that UserManager is registered as singleton? |
This is so annoying that it pulls a per-request scoped dependency inside a singleton instance and doesn't fail 😞 https://github.com/aspnet/Identity/blob/rel/1.1.0-preview1/src/Microsoft.AspNetCore.Identity/UserManager.cs#L98 |
I keep getting this while running the sample:
I have seen it during the password login attempts and on http://localhost:5000/Manage. Not sure what causes it. I have seen this on 2.3.0-beta1 and I am seeing this on 2.3.0-rc1 of MongoDB driver.
The text was updated successfully, but these errors were encountered: