Open Closed

Could not retrieve the OpenId Connect discovery document! failed with status code '407' #4491


User avatar
0
enterprise.stb.dev created
  • ABP Framework version: Latest Version
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: Could not retrieve the OpenId Connect discovery document! ErrorType: Exception. Error: Error connecting to https://account.abp.io/.well-known/openid-configuration. The proxy tunnel request to proxy 'http://proxy:port/' failed with status code '407'.
  • Steps to reproduce the issue:" run CLI abp login <username> -p <password>

More Info: When used abp cli create abp suite project we has issues 407 authen proxy because using network corporate. With npm we are config proxy with npm config set http-proxy/https-proxy, so about abp cli how to config?


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The CLI uses system proxies.

  • User Avatar
    0
    enterprise.stb.dev created

    hi

    The CLI uses system proxies.

    How to check this? I try config proxy web browser same as a system and It's worked! But run CLI error 407

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    This is the proxy setting of CLI.

    https://github.com/abpframework/abp/blob/e3e1779de6df5d26f01cdc8e99ac9cbcb3d24d3c/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Http/CliHttpClientHandler.cs#L10-L11

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11