Open Closed

Unable to retrieve document from: PII is hidden. #98


0
alper created
Support Team

An unhandled exception occurred while processing the request. SocketException: No connection could be made because the target machine actively refused it. System.Net.Http.ConnectHelper.ConnectAsync(string host, int port, CancellationToken cancellationToken)

HttpRequestException: No connection could be made because the target machine actively refused it. System.Net.Http.ConnectHelper.ConnectAsync(string host, int port, CancellationToken cancellationToken)

IOException: IDX20804: Unable to retrieve document from: '[PII is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'. Microsoft.IdentityModel.Protocols.HttpDocumentRetriever.GetDocumentAsync(string address, CancellationToken cancel)

InvalidOperationException: IDX20803: Unable to obtain configuration from: '[PII is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'. Microsoft.IdentityModel.Protocols.ConfigurationManager<T>.GetConfigurationAsync(CancellationToken cancel)


2 Answer(s)
  • 0
    alper created
    Support Team

    Most likely, there's an invalid cookie related with another project. The cookie names are same, so when you run different projects, it cannot be validated.

    Other potential problem can be, the IdentityServer project is not running.

  • 0
    gterdem created
    Support Team

    Too se detailed error, you can use: if (env.IsDevelopment()) { IdentityModelEventSource.ShowPII = true; } But if you are getting IDX20803 error, probably you can't reach to IdentityServer. Either https problem or server is down.