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

ObjectDisposedException on .NET Core #3

Open
markvincze opened this issue Mar 8, 2017 · 0 comments
Open

ObjectDisposedException on .NET Core #3

markvincze opened this issue Mar 8, 2017 · 0 comments

Comments

@markvincze
Copy link
Contributor

When running the metrics stream middleware, we occasionally see the following error in the logs generated by the framework:

Cannot access a disposed object.
Object name: 'WriteReqPool'.
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'WriteReqPool'.
   at Microsoft.AspNetCore.Server.Kestrel.Internal.Infrastructure.WriteReqPool.Allocate()
   at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.SocketOutput.WriteContext.DoWriteIfNeeded()
   at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.SocketOutput.WriteAllPending()
   at Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelThread.DoPostWork()

Doesn't seem to cause any actual problems though.
We have to figure out if we do something incorrectly in the middleware, or this is another problem (like aspnet/KestrelHttpServer#1402 (comment)) in Kestrel itself.

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