{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Security/issues/1573","repository_url":"https://api.github.com/repos/aspnet/Security","labels_url":"https://api.github.com/repos/aspnet/Security/issues/1573/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Security/issues/1573/comments","events_url":"https://api.github.com/repos/aspnet/Security/issues/1573/events","html_url":"https://github.com/aspnet/Security/issues/1573","id":282221067,"number":1573,"title":"WinHttpException: A security error occurred","user":{"login":"blowdart","id":796298,"avatar_url":"https://avatars2.githubusercontent.com/u/796298?v=4","gravatar_id":"","url":"https://api.github.com/users/blowdart","html_url":"https://github.com/blowdart","followers_url":"https://api.github.com/users/blowdart/followers","following_url":"https://api.github.com/users/blowdart/following{/other_user}","gists_url":"https://api.github.com/users/blowdart/gists{/gist_id}","starred_url":"https://api.github.com/users/blowdart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blowdart/subscriptions","organizations_url":"https://api.github.com/users/blowdart/orgs","repos_url":"https://api.github.com/users/blowdart/repos","events_url":"https://api.github.com/users/blowdart/events{/privacy}","received_events_url":"https://api.github.com/users/blowdart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-14T19:58:24Z","updated_at":"2017-12-14T21:51:49Z","closed_at":null,"author_association":"MEMBER","body":"_From @aous77 on December 9, 2017 1:29_\r\n\r\nasp.net core 2 external authentication is throwing the following exception on production server only: \r\n```\r\nWinHttpException: A security error occurred\r\nSystem.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\nSystem.Threading.Tasks.RendezvousAwaitable.GetResult()\r\nSystem.Net.Http.WinHttpHandler+<StartRequest>d__105.MoveNext()\r\n\r\nHttpRequestException: An error occurred while sending the request.\r\nMicrosoft.AspNetCore.Authentication.RemoteAuthenticationHandler+<HandleRequestAsync>d__12.MoveNext()\r\nSystem.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\nSystem.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\nMicrosoft.AspNetCore.Authentication.AuthenticationMiddleware+<Invoke>d__6.MoveNext()\r\nSystem.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\nSystem.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\nMicrosoft.AspNetCore.Diagnostics.EntityFrameworkCore.MigrationsEndPointMiddleware+<Invoke>d__4.MoveNext()\r\nSystem.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\nSystem.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\nMicrosoft.AspNetCore.Diagnostics.EntityFrameworkCore.DatabaseErrorPageMiddleware+<Invoke>d__6.MoveNext()\r\nSystem.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\nMicrosoft.AspNetCore.Diagnostics.EntityFrameworkCore.DatabaseErrorPageMiddleware+<Invoke>d__6.MoveNext()\r\nSystem.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\nSystem.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\nMicrosoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware+<Invoke>d__7.MoveNext()`\r\n```\r\nthis is occurring after a successful authentication on the external site (ALL of them google,facebook,linkedin). \r\n \r\ndid anyone encounter this? or know how to fix this?\r\n\r\nthank you\r\n\r\n_Copied from original issue: aspnet/Identity#1523_"},"comment":{"url":"https://api.github.com/repos/aspnet/Security/issues/comments/351846999","html_url":"https://github.com/aspnet/Security/issues/1573#issuecomment-351846999","issue_url":"https://api.github.com/repos/aspnet/Security/issues/1573","id":351846999,"user":{"login":"Tratcher","id":1821173,"avatar_url":"https://avatars3.githubusercontent.com/u/1821173?v=4","gravatar_id":"","url":"https://api.github.com/users/Tratcher","html_url":"https://github.com/Tratcher","followers_url":"https://api.github.com/users/Tratcher/followers","following_url":"https://api.github.com/users/Tratcher/following{/other_user}","gists_url":"https://api.github.com/users/Tratcher/gists{/gist_id}","starred_url":"https://api.github.com/users/Tratcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tratcher/subscriptions","organizations_url":"https://api.github.com/users/Tratcher/orgs","repos_url":"https://api.github.com/users/Tratcher/repos","events_url":"https://api.github.com/users/Tratcher/events{/privacy}","received_events_url":"https://api.github.com/users/Tratcher/received_events","type":"User","site_admin":false},"created_at":"2017-12-14T21:51:49Z","updated_at":"2017-12-14T21:51:49Z","author_association":"MEMBER","body":"googleOptions.BackchannelHttpHandler \r\nhttps://github.com/aspnet/Security/blob/bd3c202fcd707fdb7ac583d466463007bd9137df/src/Microsoft.AspNetCore.Authentication/RemoteAuthenticationOptions.cs#L73-L78"}}
{"actor":{"display_login":"Tratcher"}}