{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2671","repository_url":"https://api.github.com/repos/IdentityServer/IdentityServer4","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2671/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2671/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2671/events","html_url":"https://github.com/IdentityServer/IdentityServer4/issues/2671","id":366046086,"node_id":"MDU6SXNzdWUzNjYwNDYwODY=","number":2671,"title":"Problem when enabling HTTPS on the test server","user":{"login":"DeeDeeLee","id":13153328,"node_id":"MDQ6VXNlcjEzMTUzMzI4","avatar_url":"https://avatars3.githubusercontent.com/u/13153328?v=4","gravatar_id":"","url":"https://api.github.com/users/DeeDeeLee","html_url":"https://github.com/DeeDeeLee","followers_url":"https://api.github.com/users/DeeDeeLee/followers","following_url":"https://api.github.com/users/DeeDeeLee/following{/other_user}","gists_url":"https://api.github.com/users/DeeDeeLee/gists{/gist_id}","starred_url":"https://api.github.com/users/DeeDeeLee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeeDeeLee/subscriptions","organizations_url":"https://api.github.com/users/DeeDeeLee/orgs","repos_url":"https://api.github.com/users/DeeDeeLee/repos","events_url":"https://api.github.com/users/DeeDeeLee/events{/privacy}","received_events_url":"https://api.github.com/users/DeeDeeLee/received_events","type":"User","site_admin":false},"labels":[{"id":290038719,"node_id":"MDU6TGFiZWwyOTAwMzg3MTk=","url":"https://api.github.com/repos/IdentityServer/IdentityServer4/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-02T19:29:24Z","updated_at":"2018-10-02T20:47:13Z","closed_at":null,"author_association":"NONE","body":"I developed an asp.net project which integrated IDS4 for authentication, and authorization successfully on my local machine with HTTPS enabled.\r\nWhen I published the IDS4 to the Test/Staging server,  asp.net project can get authenticated if the IDS4 is using HTTP. It failed if IDS4 is using HTTPS.\r\n\r\nI used asp.net core 2.0.5\r\nIdentityServer4 2.2.0\r\nIdentityServer4.AccessTokenValidation 2.4.0\r\nThis is the log content from stdout file.\r\n\r\n```\r\nAn existing connection was forcibly closed by the remote host \r\nDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. \r\n\r\n--\r\nException Details: System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host\r\n\r\n\r\n--\r\n\r\nAn unhandled exception   was generated during the execution of the current web request. Information   regarding the origin and location of the exception can be identified using   the exception stack trace below.\r\n--\r\n\r\n[SocketException (0x2746): An   existing connection was forcibly closed by the remote host]        System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult) +82      System.Net.Sockets.NetworkStream.EndRead(IAsyncResult   asyncResult) +57       [IOException: Unable to read   data from the transport connection: An existing connection was forcibly   closed by the remote host.]      System.Net.TlsStream.EndWrite(IAsyncResult   asyncResult) +232        System.Net.PooledStream.EndWrite(IAsyncResult asyncResult) +13        System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar) +119       [WebException: The underlying   connection was closed: An unexpected error occurred on a send.]      System.Net.HttpWebRequest.EndGetResponse(IAsyncResult   asyncResult) +628        System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)   +64       [HttpRequestException: An   error occurred while sending the request.]      System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task   task) +99        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task   task) +58        System.Net.Http.<FinishSendAsyncBuffered>d__58.MoveNext() +745      System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task   task) +99        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task   task) +58        Microsoft.IdentityModel.Protocols.<GetDocumentAsync>d__8.MoveNext()   +362       [IOException: IDX20804:   Unable to retrieve document from: '[PII is hidden by default. Set the   'ShowPII' flag in IdentityModelEventSource.cs to true to reveal it.]'.]        Microsoft.IdentityModel.Protocols.<GetDocumentAsync>d__8.MoveNext()   +666        System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task   task) +99        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task   task) +58        Microsoft.IdentityModel.Protocols.OpenIdConnect.<GetAsync>d__3.MoveNext()   +291      System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task   task) +99        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task   task) +58        System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) +25        Microsoft.IdentityModel.Protocols.<GetConfigurationAsync>d__24.MoveNext()   +1129       [InvalidOperationException:   IDX20803: Unable to obtain configuration from: '[PII is hidden by default.   Set the 'ShowPII' flag in IdentityModelEventSource.cs to true to reveal   it.]'.]      Microsoft.IdentityModel.Protocols.<GetConfigurationAsync>d__24.MoveNext()   +1586        System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task   task) +99        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task   task) +58      Microsoft.Owin.Security.OpenIdConnect.<ApplyResponseChallengeAsync>d__c.MoveNext()   +575        System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task   task) +99        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task   task) +58      Microsoft.Owin.Security.Infrastructure.<ApplyResponseCoreAsync>d__b.MoveNext()   +282        System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task   task) +99        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task   task) +58        Microsoft.Owin.Security.Infrastructure.<ApplyResponseAsync>d__8.MoveNext()   +275        System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task   task) +99        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task   task) +58        Microsoft.Owin.Security.Infrastructure.<TeardownAsync>d__5.MoveNext()   +160        System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task   task) +99        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task   task) +58        Microsoft.Owin.Security.Infrastructure.<Invoke>d__0.MoveNext()   +815        System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task   task) +99        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task   task) +58        Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<RunApp>d__5.MoveNext()   +182        System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task   task) +99        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task   task) +58        Microsoft.Owin.Security.Infrastructure.<Invoke>d__0.MoveNext()   +638        System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task   task) +99        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task   task) +58        Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<RunApp>d__5.MoveNext()   +182        System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task   task) +99        System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task   task) +58        Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.<DoFinalWork>d__2.MoveNext()   +180        Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.StageAsyncResult.End(IAsyncResult   ar) +69      Microsoft.Owin.Host.SystemWeb.IntegratedPipeline.IntegratedPipelineContext.EndFinalWork(IAsyncResult   ar) +64        System.Web.AsyncEventExecutionStep.InvokeEndHandler(IAsyncResult ar)   +156        System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult   ar) +123\r\n--\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n--\r\n\r\n\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/comments/426424288","html_url":"https://github.com/IdentityServer/IdentityServer4/issues/2671#issuecomment-426424288","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2671","id":426424288,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjQyNDI4OA==","user":{"login":"DeeDeeLee","id":13153328,"node_id":"MDQ6VXNlcjEzMTUzMzI4","avatar_url":"https://avatars3.githubusercontent.com/u/13153328?v=4","gravatar_id":"","url":"https://api.github.com/users/DeeDeeLee","html_url":"https://github.com/DeeDeeLee","followers_url":"https://api.github.com/users/DeeDeeLee/followers","following_url":"https://api.github.com/users/DeeDeeLee/following{/other_user}","gists_url":"https://api.github.com/users/DeeDeeLee/gists{/gist_id}","starred_url":"https://api.github.com/users/DeeDeeLee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeeDeeLee/subscriptions","organizations_url":"https://api.github.com/users/DeeDeeLee/orgs","repos_url":"https://api.github.com/users/DeeDeeLee/repos","events_url":"https://api.github.com/users/DeeDeeLee/events{/privacy}","received_events_url":"https://api.github.com/users/DeeDeeLee/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T20:47:13Z","updated_at":"2018-10-02T20:47:13Z","author_association":"NONE","body":"It looks like that the IdentityServer4 (2.2.0) is using \"IdentityModel 3.6.1\". How and where could I get the consistent version of it?"}}
{"actor":{"display_login":"DeeDeeLee"}}