{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Home/issues/3125","repository_url":"https://api.github.com/repos/aspnet/Home","labels_url":"https://api.github.com/repos/aspnet/Home/issues/3125/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Home/issues/3125/comments","events_url":"https://api.github.com/repos/aspnet/Home/issues/3125/events","html_url":"https://github.com/aspnet/Home/issues/3125","id":321128771,"number":3125,"title":"An existing connection was forcibly closed by the remote host","user":{"login":"sepehr1014","id":11347847,"avatar_url":"https://avatars0.githubusercontent.com/u/11347847?v=4","gravatar_id":"","url":"https://api.github.com/users/sepehr1014","html_url":"https://github.com/sepehr1014","followers_url":"https://api.github.com/users/sepehr1014/followers","following_url":"https://api.github.com/users/sepehr1014/following{/other_user}","gists_url":"https://api.github.com/users/sepehr1014/gists{/gist_id}","starred_url":"https://api.github.com/users/sepehr1014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sepehr1014/subscriptions","organizations_url":"https://api.github.com/users/sepehr1014/orgs","repos_url":"https://api.github.com/users/sepehr1014/repos","events_url":"https://api.github.com/users/sepehr1014/events{/privacy}","received_events_url":"https://api.github.com/users/sepehr1014/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-08T10:25:44Z","updated_at":"2018-05-08T19:14:35Z","closed_at":"2018-05-08T19:05:02Z","author_association":"NONE","body":"Using ASP.NET Core 2.1 RC1 the process is killed after an hour or so and we see these logs:\r\n\r\n```\r\nApplication: dotnet.exe\r\nCoreCLR Version: 4.6.26426.2\r\nDescription: The process was terminated due to an unhandled exception.\r\nException Info: System.AggregateException: One or more errors occurred. (An existing connection was forcibly closed by the remote host) ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host\r\n   at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)\r\n   at System.Net.Sockets.Socket.Shutdown(SocketShutdown how)\r\n   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketConnection.Shutdown()\r\n   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Internal.SocketConnection.Abort()\r\n   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Http1OutputProducer.Abort(Exception error)\r\n   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.Abort(Exception error)\r\n   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnection.Abort(Exception ex)\r\n   at System.IO.Pipelines.PipeCompletionCallbacks.Execute()\r\n   --- End of inner exception stack trace ---\r\n   at System.IO.Pipelines.PipeCompletionCallbacks.Execute()\r\n   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Threading.ThreadPoolWorkQueue.Dispatch()\r\n\r\n```\r\n\r\n```\r\nFaulting application name: dotnet.exe, version: 2.1.26426.3, time stamp: 0x5ae1770d\r\nFaulting module name: KERNELBASE.dll, version: 10.0.14393.2189, time stamp: 0x5abdad60\r\nException code: 0xe0434352\r\nFault offset: 0x0000000000033c58\r\nFaulting process id: 0x2e90\r\nFaulting application start time: 0x01d3e6aa48e5f5c6\r\nFaulting application path: C:\\Program Files\\dotnet\\dotnet.exe\r\nFaulting module path: C:\\Windows\\System32\\KERNELBASE.dll\r\nReport Id: f10816d3-b0de-49bc-9745-60f9b7dea199\r\nFaulting package full name: \r\nFaulting package-relative application ID: \r\n```\r\n\r\nBTW we're using web sockets without SignalR."},"comment":{"url":"https://api.github.com/repos/aspnet/Home/issues/comments/387511498","html_url":"https://github.com/aspnet/Home/issues/3125#issuecomment-387511498","issue_url":"https://api.github.com/repos/aspnet/Home/issues/3125","id":387511498,"user":{"login":"Ikcelaks","id":5542123,"avatar_url":"https://avatars3.githubusercontent.com/u/5542123?v=4","gravatar_id":"","url":"https://api.github.com/users/Ikcelaks","html_url":"https://github.com/Ikcelaks","followers_url":"https://api.github.com/users/Ikcelaks/followers","following_url":"https://api.github.com/users/Ikcelaks/following{/other_user}","gists_url":"https://api.github.com/users/Ikcelaks/gists{/gist_id}","starred_url":"https://api.github.com/users/Ikcelaks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ikcelaks/subscriptions","organizations_url":"https://api.github.com/users/Ikcelaks/orgs","repos_url":"https://api.github.com/users/Ikcelaks/repos","events_url":"https://api.github.com/users/Ikcelaks/events{/privacy}","received_events_url":"https://api.github.com/users/Ikcelaks/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T19:14:35Z","updated_at":"2018-05-08T19:14:35Z","author_association":"NONE","body":"Troubleshooting Update:\r\nI attempted to recreate this bug with a fresh install of DotNet-2.1-RC1 on a fresh Windows 1709 VM, and I was unable to do so.  All of my projects ran just fine without crashing.\r\n\r\nI returned to my original dev machine (also Windows 1709) and attempted to recreate a fresh environment by uninstalling all versions of DotNet Core and manually removing the NuGetFallbackFolder before reinstalling RC1.  This did not resolve the issue.\r\n\r\nThen I realized that the fresh VM was on a network that bypasses Web-Filtering.  I put my original dev machine on that same network, and suddenly I was no longer able to trigger the Uncaught Exception error.  Fortunately/Unfortunately, returning the device to the original filtered network did not cause the bug to return.  I'm also unable to correlate the Uncaught Exceptions with any events logged by the Web Filter, but that doesn't mean much, because the kinds of rules that telemetry reporting would trigger don't show up in the log.\r\n\r\nQuestion:\r\nIs there any chance that the development WebHost is attempting to communicate out to the internet and crashing when the communication is cut off (possibly mid-stream) by a web-filter?"}}
{"actor":{"display_login":"Ikcelaks"}}