Activities of "kbalashanmugam"

ABP CLI login is failing since today for my username. Please see output below.

ABP CLI 8.1.3

  1. HTTP request attempt failed to https://abp.io/api/license/check-multiple-organizations?username=xxx with an error: 403-Forbidden. Waiting 2 secs for the next try...
  2. HTTP request attempt failed to https://abp.io/api/license/check-multiple-organizations?username=xxx with an error: 403-Forbidden. Waiting 4 secs for the next try...
  3. HTTP request attempt failed to https://abp.io/api/license/check-multiple-organizations?username=xxx with an error: 403-Forbidden. Waiting 7 secs for the next try... ERROR: Remote server returns 'Forbidden' System.Exception: ERROR: Remote server returns 'Forbidden' at Volo.Abp.Cli.Auth.AuthService.CheckMultipleOrganizationsAsync(String username) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Auth\AuthService.cs:line 140 at Volo.Abp.Cli.Commands.LoginCommand.HasMultipleOrganizationAndThisNotSpecified(CommandLineArgs commandLineArgs, String organization) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\LoginCommand.cs:line 107 at Volo.Abp.Cli.Commands.LoginCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\LoginCommand.cs:line 52 at Volo.Abp.Cli.CliService.RunInternalAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 173 at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 80 Unhandled exception. System.Exception: ERROR: Remote server returns 'Forbidden' at Volo.Abp.Cli.Auth.AuthService.CheckMultipleOrganizationsAsync(String username) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Auth\AuthService.cs:line 140 at Volo.Abp.Cli.Commands.LoginCommand.HasMultipleOrganizationAndThisNotSpecified(CommandLineArgs commandLineArgs, String organization) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\LoginCommand.cs:line 107 at Volo.Abp.Cli.Commands.LoginCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\LoginCommand.cs:line 52 at Volo.Abp.Cli.CliService.RunInternalAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 173 at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 80 at Volo.Abp.Cli.Program.Main(String[] args) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli\Volo\Abp\Cli\Program.cs:line 43 at Volo.Abp.Cli.Program.<Main>(String[] args)
  • ABP Framework version: v7.2.2
  • UI Type: Custom (React)
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Yes (Separate Auth Server)

Issue: We are using Microservice Template from ABP Commercial and we have 2 front-end applications setup to use same Auth Server in back-end. One front-end application is a client-facing portal and the other application is a portal used by internal staff for a client.

We noticed that if a user is logged in to the client portal (Application A), the same user can access the internal portal (Application B) without having to login. This is a security issue as we need to ensure users for each application are separate and a user can login to only the application they have logged in with and not be automatically logged in to the other application.

Expected: Users logged in with client portal (Application A) should not be able to access the internal portal (Application B) and automatically logged in.

Please provide solution for this.

  • ABP Framework version: v7.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

After I upgraded from 6.0 to 7.0, some microservices in my ABP microservice solution not starting up and in the logs, I see all microservices get stuck here and no logs after. Some microservices are starting up but everytime i run the solution, same microservices are not starting and Swagger API page is not shown.

2023-01-09 11:17:35.686 -05:00 [DBG] Beginning transaction with isolation level 'Unspecified'. 2023-01-09 11:17:35.719 -05:00 [DBG] Began transaction with isolation level 'ReadCommitted'. 2023-01-09 11:17:35.838 -05:00 [DBG] Compiling query expression: 'DbSet<LocalizationResourceRecord>() .FirstOrDefault(x => x.Name == __St1aaGFC0_0)' 2023-01-09 11:17:36.379 -05:00 [DBG] Generated query execution expression: 'queryContext => new SplitQueryingEnumerable<LocalizationResourceRecord>( (RelationalQueryContext)queryContext, RelationalCommandCache.QueryExpression( Projection Mapping: EmptyProjectionMember -> Dictionary<IProperty, int> { [Property: LocalizationResourceRecord.Id (Guid) Required PK AfterSave:Throw, 0], [Property: LocalizationResourceRecord.BaseResources (no field, string) MaxLength(1280), 1], [Property: LocalizationResourceRecord.CreationTime (no field, DateTime) Required, 2], [Property: LocalizationResourceRecord.DefaultCulture (no field, string) MaxLength(10), 3], [Property: LocalizationResourceRecord.LastModificationTime (no field, DateTime?), 4], [Property: LocalizationResourceRecord.Name (no field, string) Required Index MaxLength(128), 5], [Property: LocalizationResourceRecord.SupportedCultures (no field, string) MaxLength(640), 6] } SELECT TOP(1) a.Id, a.BaseResources, a.CreationTime, a.DefaultCulture, a.LastModificationTime, a.Name, a.SupportedCultures FROM AbpLocalizationResources AS a WHERE a.Name == @__St1aaGFC0_0), ReaderColumn[] { ReaderColumn<Guid>, ReaderColumn<object>, ReaderColumn<DateTime>, ReaderColumn<object>, ReaderColumn<DateTime>, ReaderColumn<object>, ReaderColumn<object> }, Func<QueryContext, DbDataReader, ResultContext, SplitQueryResultCoordinator, LocalizationResourceRecord>, null, null, Bdo.ResourceMe.AdministrationService.EntityFrameworkCore.AdministrationServiceDbContext, False, False, True ) .SingleOrDefault()' 2023-01-09 11:17:36.438 -05:00 [DBG] Creating DbCommand for 'ExecuteReader'. 2023-01-09 11:17:36.457 -05:00 [DBG] Created DbCommand for 'ExecuteReader' (15ms). 2023-01-09 11:17:36.477 -05:00 [DBG] Initialized DbCommand for 'ExecuteReader' (37ms). 2023-01-09 11:17:36.497 -05:00 [DBG] Executing DbCommand [Parameters=[@__St1aaGFC0_0='?' (Size = 128)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[BaseResources], [a].[CreationTime], [a].[DefaultCulture], [a].[LastModificationTime], [a].[Name], [a].[SupportedCultures] FROM [AbpLocalizationResources] AS [a] WHERE [a].[Name] = @__St1aaGFC0_0 2023-01-09 11:17:36.731 -05:00 [INF] Executed DbCommand (245ms) [Parameters=[@__St1aaGFC0_0='?' (Size = 128)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[BaseResources], [a].[CreationTime], [a].[DefaultCulture], [a].[LastModificationTime], [a].[Name], [a].[SupportedCultures] FROM [AbpLocalizationResources] AS [a] WHERE [a].[Name] = @__St1aaGFC0_0 2023-01-09 11:17:36.857 -05:00 [DBG] Context 'AdministrationServiceDbContext' started tracking 'LocalizationResourceRecord' entity. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values. 2023-01-09 11:17:36.933 -05:00 [DBG] Closing data reader to 'XX' on server 'XX'. 2023-01-09 11:17:36.940 -05:00 [DBG] A data reader for 'XX' on server 'XX' is being disposed after spending 152ms reading results.

  • ABP Framework version: v6.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Question:

I am using ABP v6.0 Commercial. Can you please provide source code of Lepton X Theme for below demo site for Lepton X? I see there are some customizations like the Favorite Pages and adding custom links on toolbar on this demo site and unsure how to add them to my application. There is also no documentation on them, especially adding custom links on toolbar on Angular.

https://x.leptontheme.com/#

Thanks, Kaushik

Abp version: 4.2.0 Commercial User Interface: Angular Database provider: EF Core Template: Microservice Identity Server: Separate

Issue (s):

  1. Intermittent issue where clicking on logout link on portal simply returns to home page and need to logout second time to be logged out and redirected to login page.
  2. Opened the portal in two tabs. Logged out from one tab- I was able to log out successfully. The second tab however shows the following for a long time

Showing 1 to 5 of 5 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09