{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/StaticFiles/issues/150","repository_url":"https://api.github.com/repos/aspnet/StaticFiles","labels_url":"https://api.github.com/repos/aspnet/StaticFiles/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/StaticFiles/issues/150/comments","events_url":"https://api.github.com/repos/aspnet/StaticFiles/issues/150/events","html_url":"https://github.com/aspnet/StaticFiles/issues/150","id":172023407,"number":150,"title":"OperationCanceledException under load","user":{"login":"halter73","id":54385,"avatar_url":"https://avatars.githubusercontent.com/u/54385?v=3","gravatar_id":"","url":"https://api.github.com/users/halter73","html_url":"https://github.com/halter73","followers_url":"https://api.github.com/users/halter73/followers","following_url":"https://api.github.com/users/halter73/following{/other_user}","gists_url":"https://api.github.com/users/halter73/gists{/gist_id}","starred_url":"https://api.github.com/users/halter73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halter73/subscriptions","organizations_url":"https://api.github.com/users/halter73/orgs","repos_url":"https://api.github.com/users/halter73/repos","events_url":"https://api.github.com/users/halter73/events{/privacy}","received_events_url":"https://api.github.com/users/halter73/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/StaticFiles/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"mikeharder","id":9459391,"avatar_url":"https://avatars.githubusercontent.com/u/9459391?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeharder","html_url":"https://github.com/mikeharder","followers_url":"https://api.github.com/users/mikeharder/followers","following_url":"https://api.github.com/users/mikeharder/following{/other_user}","gists_url":"https://api.github.com/users/mikeharder/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeharder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeharder/subscriptions","organizations_url":"https://api.github.com/users/mikeharder/orgs","repos_url":"https://api.github.com/users/mikeharder/repos","events_url":"https://api.github.com/users/mikeharder/events{/privacy}","received_events_url":"https://api.github.com/users/mikeharder/received_events","type":"User","site_admin":false},"assignees":[{"login":"mikeharder","id":9459391,"avatar_url":"https://avatars.githubusercontent.com/u/9459391?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeharder","html_url":"https://github.com/mikeharder","followers_url":"https://api.github.com/users/mikeharder/followers","following_url":"https://api.github.com/users/mikeharder/following{/other_user}","gists_url":"https://api.github.com/users/mikeharder/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeharder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeharder/subscriptions","organizations_url":"https://api.github.com/users/mikeharder/orgs","repos_url":"https://api.github.com/users/mikeharder/repos","events_url":"https://api.github.com/users/mikeharder/events{/privacy}","received_events_url":"https://api.github.com/users/mikeharder/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-08-18T23:25:05Z","updated_at":"2016-08-18T23:25:06Z","closed_at":null,"body":"_From @anpete on April 14, 2016 5:32_\n\nNot sure if this is expected, so filing just in case. While investigating our internal MusicStore stress scenario I'm seeing an OperationCanceledException raised occasionally when the number of clients > ~50.\r\n\r\nStack:\r\n\r\n```\r\nfail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[0]\r\n      An unhandled exception has occurred: The operation was canceled.\r\nSystem.OperationCanceledException: The operation was canceled.\r\n   at System.Threading.CancellationToken.ThrowOperationCanceledException()\r\n   at Microsoft.AspNetCore.Http.Extensions.StreamCopyOperation.<CopyToAsync>d__1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.AspNetCore.StaticFiles.StaticFileContext.<SendAsync>d__46.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.AspNetCore.Session.SessionMiddleware.<Invoke>d__8.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.AspNetCore.Session.SessionMiddleware.<Invoke>d__8.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>d__6.MoveNext()\r\nwarn: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[0]\r\n      The response has already started, the error handler will not be executed.\r\nfail: Microsoft.AspNetCore.Server.Kestrel[13]\r\n      Connection id \"0HKR44KL0RBVP\": An unhandled exception was thrown by the application.\r\nSystem.OperationCanceledException: The operation was canceled.\r\n   at System.Threading.CancellationToken.ThrowOperationCanceledException()\r\n   at Microsoft.AspNetCore.Http.Extensions.StreamCopyOperation.<CopyToAsync>d__1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.AspNetCore.StaticFiles.StaticFileContext.<SendAsync>d__46.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.AspNetCore.Session.SessionMiddleware.<Invoke>d__8.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.AspNetCore.Session.SessionMiddleware.<Invoke>d__8.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>d__6.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>d__6.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.<Invoke>d__3.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.AspNetCore.Hosting.Internal.RequestServicesContainerMiddleware.<Invoke>d__3.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.AspNetCore.Server.Kestrel.Http.Frame`1.<RequestProcessingAsync>d__2.MoveNext()\r\n```\n\n_Copied from original issue: aspnet/KestrelHttpServer#748_"},"comment":{"url":"https://api.github.com/repos/aspnet/StaticFiles/issues/comments/240886686","html_url":"https://github.com/aspnet/StaticFiles/issues/150#issuecomment-240886686","issue_url":"https://api.github.com/repos/aspnet/StaticFiles/issues/150","id":240886686,"user":{"login":"halter73","id":54385,"avatar_url":"https://avatars.githubusercontent.com/u/54385?v=3","gravatar_id":"","url":"https://api.github.com/users/halter73","html_url":"https://github.com/halter73","followers_url":"https://api.github.com/users/halter73/followers","following_url":"https://api.github.com/users/halter73/following{/other_user}","gists_url":"https://api.github.com/users/halter73/gists{/gist_id}","starred_url":"https://api.github.com/users/halter73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halter73/subscriptions","organizations_url":"https://api.github.com/users/halter73/orgs","repos_url":"https://api.github.com/users/halter73/repos","events_url":"https://api.github.com/users/halter73/events{/privacy}","received_events_url":"https://api.github.com/users/halter73/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T23:25:06Z","updated_at":"2016-08-18T23:25:06Z","body":"_From @anpete on April 19, 2016 20:5_\n\n@mikeharder Looks like this is no longer repro'ing - after https://github.com/aspnet/MusicStore/commit/fb4fadb0b10301b09326b8a9f78b6f1893210cb3\r\n\r\nLet me know if you still want to investigate."}}
{"actor":{"display_login":"halter73"}}