Open Closed

Abp CLI is unusable, returning forbidden 403 on every command #8360


User avatar
1
ahmednfwela@bdaya-dev.com created

I am trying to use abp login but it keeps failing

> abp login REDACTED@REDACTED.REDACTED -p password
[22:02:32 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[22:02:32 WRN] 1. HTTP request attempt failed to https://abp.io/api/license/check-multiple-organizations?username=REDACTED@REDACTED.REDACTED with an error: 403-Forbidden. Waiting 2 secs for the next try...
[22:02:34 WRN] 2. HTTP request attempt failed to https://abp.io/api/license/check-multiple-organizations?username=REDACTED@REDACTED.REDACTED with an error: 403-Forbidden. Waiting 4 secs for the next try...
[22:02:39 WRN] 3. HTTP request attempt failed to https://abp.io/api/license/check-multiple-organizations?username=REDACTED@REDACTED.REDACTED with an error: 403-Forbidden. Waiting 7 secs for the next try...
System.Exception: ERROR: Remote server returns 'Forbidden'
  at async Task<bool> Volo.Abp.Cli.Auth.AuthService.CheckMultipleOrganizationsAsync(string      
     username)
  at async Task<bool> Volo.Abp.Cli.Commands.LoginCommand.Hqh5Vq0Ghf(CommandLineArgs  , string  )
  at async Task Volo.Abp.Cli.Commands.LoginCommand.ExecuteAsync(CommandLineArgs commandLineArgs)
  at async Task Volo.Abp.Studio.Cli.StudioCliService.RunInternalAsync(CommandLineArgs commandLineArgs)
  at async Task Volo.Abp.Studio.Cli.StudioCliService.RunAsync(string[] args)
Unhandled exception. System.Exception: ERROR: Remote server returns 'Forbidden'
   at Volo.Abp.Cli.Auth.AuthService.CheckMultipleOrganizationsAsync(String username)
   at Volo.Abp.Cli.Commands.LoginCommand.Hqh5Vq0Ghf(CommandLineArgs  , String  )
   at Volo.Abp.Cli.Commands.LoginCommand.ExecuteAsync(CommandLineArgs commandLineArgs)
   at Volo.Abp.Studio.Cli.StudioCliService.RunInternalAsync(CommandLineArgs commandLineArgs)    
   at Volo.Abp.Studio.Cli.StudioCliService.RunAsync(String[] args)
   at Volo.Abp.Studio.Cli.Program.LaxYuWdfb(Object  )
   at Volo.Abp.Studio.Cli.Program.&ltMain&gt(String[] args)

when executing abp login-info

[22:03:44 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
[22:03:44 ERR] You are not logged in.

2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    This is a bug in nuget.abp.io. We can confirm this and will fix it as soon as possible. Sorry about that.

  • User Avatar
    0
    alper created
    Support Team Director

    fixed

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on May 14, 2025, 07:53