Open Closed

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


User avatar
0
alper created
Support Team Director

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)
  • User Avatar
    0
    alper created
    Support Team Director

    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.

  • User Avatar
    0
    gterdem created
    Support Team Senior .NET Developer

    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.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11