Starts in:
2 DAYS
10 HRS
32 MIN
44 SEC
Starts in:
2 D
10 H
32 M
44 S

Activities of "mgurer"

  • ABP Framework version: v7.0.2
  • UI type: MVC & Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  • Hi, I have just created two pro-microservice-projects using mvc and blazor pro templates and run the applications without any change.
  • The blazor and MVC version of the apps differs;
  • There is a payment left menu on MVC version and it is missing on blazor version. (I event tested with same database, two ui somehow differs)
  • On MVC version, security logs page is always empty without any data, and blazor version lists data.

I need to access payment menu on blazor app and I can't figure out what is the difference between two startup templates. I dont understand why mvc template does not show any security log line.

Can you help? Regards

  • ABP Framework version: v7.0.1

  • UI type: MVC

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): yes

  • Exception message and stack trace:

  • Steps to reproduce the issue:" Hi I have just updated abp cli to v7.0.1

    Hi, I have created a new micro-service solution. abp new Demo -t microservice-pro -u mvc.

    When I try to restore packages using command "dotnet restore" in the solution root folder, no commercial package can be restored successfully.

    I have checked the nuget package sources, and following entry exists; source:https://nuget.abp.io/{my_private_key}/v3/index.json name:ABP Commercial NuGet Source

    Here are some error messages I get;

PS F:\Abp\Demo> dotnet restore Determining projects to restore... F:\Abp\Demo\services\product\src\Demo.ProductService.Domain.Shared\Demo.ProductService.Domain.Shared.csproj : error NU1101: Unable to find package Volo.Abp.Commercial.SuiteTemplates. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Visual St udio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\product\src\Demo.ProductService.Application\Demo.ProductService.Application.csproj : error NU1101: Unable to find package Volo.Abp.Commercial.SuiteTemplates. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\saas\src\Demo.SaasService.Domain.Shared\Demo.SaasService.Domain.Shared.csproj : error NU1101: Unable to find package Volo.Saas.Domain.Shared. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Package s, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\product\src\Demo.ProductService.Domain\Demo.ProductService.Domain.csproj : error NU1101: Unable to find package Volo.Abp.Commercial.SuiteTemplates. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline P ackages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\saas\src\Demo.SaasService.Domain.Shared\Demo.SaasService.Domain.Shared.csproj : error NU1101: Unable to find package Volo.Payment.Domain.Shared. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Pack ages, nuget.org [F:\Abp\Demo\Demo.sln] Failed to restore F:\Abp\Demo\services\product\src\Demo.ProductService.Domain.Shared\Demo.ProductService.Domain.Shared.csproj (in 1.49 sec). Failed to restore F:\Abp\Demo\services\saas\src\Demo.SaasService.Domain.Shared\Demo.SaasService.Domain.Shared.csproj (in 1.49 sec). Failed to restore F:\Abp\Demo\services\product\src\Demo.ProductService.Domain\Demo.ProductService.Domain.csproj (in 1.49 sec). Failed to restore F:\Abp\Demo\services\product\src\Demo.ProductService.Application\Demo.ProductService.Application.csproj (in 1.49 sec). F:\Abp\Demo\services\identity\src\Demo.IdentityService.HttpApi.Client\Demo.IdentityService.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Identity.Pro.HttpApi.Client. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Vi sual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\identity\src\Demo.IdentityService.HttpApi.Client\Demo.IdentityService.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.OpenIddict.Pro.HttpApi.Client. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\identity\src\Demo.IdentityService.HttpApi.Client\Demo.IdentityService.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Account.Pro.Admin.HttpApi.Client. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microso ft Visual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\identity\src\Demo.IdentityService.HttpApi.Client\Demo.IdentityService.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Identity.Pro.Application.Contracts. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Micro soft Visual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\identity\src\Demo.IdentityService.HttpApi.Client\Demo.IdentityService.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.OpenIddict.Pro.Application.Contracts. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Mic rosoft Visual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\identity\src\Demo.IdentityService.HttpApi.Client\Demo.IdentityService.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Account.Pro.Admin.Application.Contracts. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] F:\Abp\Demo\services\identity\src\Demo.IdentityService.HttpApi.Client\Demo.IdentityService.HttpApi.Client.csproj : error NU1101: Unable to find package Volo.Abp.Identity.Pro.Domain.Shared. No packages exist with this id in source(s): ABP Commercial NuGet Source, C:\Program Files\dotnet\library-packs, Microsoft Vis ual Studio Offline Packages, nuget.org [F:\Abp\Demo\Demo.sln] . . .

Regards Murat Gürer

  • ABP Framework version: v6.0.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"Hi, I am using microservices pro template and upgraded my project to use openiddict. I want to be able to set different token expiration values for each open-id application when using client-credentials flow. Some global values are set in auth-server/*module.cs but it is not suitable for my case. Here there is a suggested solution, but I cant figure out where to implement it; https://stackoverflow.com/questions/42442109/is-there-a-way-to-have-different-ticket-expiry-lengths-in-openiddict . I will be glad if you have any suggestions. Thanks.
  • ABP Framework version: v6.0.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: token endpoint accept-language header is ignored.
  • Steps to reproduce the issue
  • Hello

I have created a new demo app with following command; abp new CoMed -t microservice-pro -u blazor

I added a new openid application named demo with password 123456 and enabled all scopes. I altered demo application to accept passwrod, clientcredentials and refresh token flows.

I finally tried https://localhost:44322/connect/token end point with password flow. I used demo as client id and admin as username. I typed client password wrong to see the error message. I got "Invalid username or password!" error. I added "Accept-Language" header with value "tr". I tried again and error message is not localized.

Token endpoint ignores the accept-language header.

I tested same flow with version 5.X, header worked as expected.

Any suggestions?

  • ABP Framework version: v6.0.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

1 - Create new project: abp new Demo -t microservice-pro -u blazor 2 - go to (solution_root)/etc/docker 3 - run .\up1.sh 4 - go to (solution_root)/shared/Demo.DbMigrator 5- run: dotnet run --environment "Development" 6- open sql management studio, configure connection; Server=localhost,1434, User Id=sa, password=myPassw0rd 7- open Demo_Identity/OpenIddictApplications table 8- check for the value in Persmissions column of clientId=Demo_Blazor row. Here is the initial value; ["ept:logout","gt:authorization_code","rst:code","ept:authorization","ept:token","ept:revocation","ept:introspection","scp:address","scp:email","scp:phone","scp:profile","scp:roles","scp:AccountService","scp:IdentityService","scp:AdministrationService","scp:SaasService","scp:ProductService"] 9- go to solution root folder 10- run solution: .\run-tye.ps1 (note: first run sometimes fails, so I kill the process and run it again when working on a brand-new project) 11- open blazor site: https://localhost:44307/ 12- login: admin 1q2w3E* 13- go to /administration/openid/applications tab 14- edit Demo_Blazor application 15- click save button without changing any data. 16- follow the steps 6,7,8 and check for the persmissions data on the table. 17- built-in scopes are gone; ["ept:logout","gt:authorization_code","rst:code","ept:authorization","ept:token","ept:revocation","ept:introspection","scp:ProductService","scp:SaasService","scp:AdministrationService","scp:IdentityService","scp:AccountService"] 18- scp:address","scp:email","scp:phone","scp:profile","scp:roles are missing after update. 19- if you logout from blazor app, you cant login back because of the missing data. here is the error message you get when you try to login back; error:invalid_request error_description:This client application is not allowed to use the specified scope. error_uri:https://documentation.openiddict.com/errors/ID2051

Can you help me for this issue?

Thanks.

  • ABP Framework version: v6.0.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi. I used to get access_token and refresh_token during password flow of identityserver4. I migrated app to use openiddict and defined an openiddict application(client) with password and resresh_token flows enabled.

When I try the password flow using the related application(client) and admin user, I get only access_token. Refresh token is missing.

Can you help me for that?

Thanks.

Question
  • ABP Framework version: v6.0.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi, there was a class named DefaultTokenService of IdentityServer4. After switching to OpendIddict, the class is missing. I used to override that class in AuthServer project and add some dynamic claims to token.

Can you suggest me a new way for the missing class?

Thanks.

  • ABP Framework version: v6.0.0

  • UI type: Blazor

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): yes

  • Exception message and stack trace: global.js?_v=637992658989889926:66 fail: Demo.ProductService.Blazor.Pages.ProductService.Products[0] Could not found remote action for method: System.Threading.Tasks.Task1[Volo.Abp.Application.Dtos.PagedResultDto1[Demo.ProductService.Products.ProductDto]] GetListAsync(Demo.ProductService.Products.GetProductsInput) on the URL: https://localhost:44325 Volo.Abp.AbpException: Could not found remote action for method: System.Threading.Tasks.Task1[Volo.Abp.Application.Dtos.PagedResultDto1[Demo.ProductService.Products.ProductDto]] GetListAsync(Demo.ProductService.Products.GetProductsInput) on the URL: https://localhost:44325 at Volo.Abp.Http.Client.DynamicProxying.ApiDescriptionFinder.FindActionAsync(HttpClient client, String baseUrl, Type serviceType, MethodInfo method) at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.<GetActionApiDescriptionModel>d__25[[Demo.ProductService.Products.IProductAppService, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1.<InterceptAsync>d__24[[Demo.ProductService.Products.IProductAppService, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.<InterceptAsync>d__31[[Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor1[[Demo.ProductService.Products.IProductAppService, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Http.Client, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto1[[Demo.ProductService.Products.ProductDto, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Castle.DynamicProxy.AsyncInterceptorBase.<ProceedAsynchronous>d__141[[Volo.Abp.Application.Dtos.PagedResultDto1[[Demo.ProductService.Products.ProductDto, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue1.<ProceedAsync>d__7[[Volo.Abp.Application.Dtos.PagedResultDto1[[Demo.ProductService.Products.ProductDto, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation) at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter1.<InterceptAsync>d__31[[Volo.Abp.Validation.ValidationInterceptor, Volo.Abp.Validation, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null],[Volo.Abp.Application.Dtos.PagedResultDto1[[Demo.ProductService.Products.ProductDto, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext() at Volo.Abp.BlazoriseUI.AbpCrudPageBase10.<GetEntitiesAsync>d__61[[Demo.ProductService.Products.IProductAppService, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Demo.ProductService.Products.ProductDto, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Demo.ProductService.Products.ProductDto, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[System.Guid, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Demo.ProductService.Products.GetProductsInput, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Demo.ProductService.Products.ProductCreateDto, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Demo.ProductService.Products.ProductUpdateDto, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Demo.ProductService.Products.ProductDto, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Demo.ProductService.Products.ProductCreateDto, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Demo.ProductService.Products.ProductUpdateDto, Demo.ProductService.Application.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()

  • Steps to reproduce the issue: 1- Create New Project: abp new Demo -t microservice-pro -u blazor 2- Go to services\product\src\Demo.ProductService.HttpApi.Client folder 3- Edit ProductServiceHttpApiClientModule.cs, change AddStaticHttpClientProxies to AddHttpClientProxies 4- Run project, login into blozor site and click on the products tab, see the error. 5- Interestingly when you add new remoteservice path addresing the Product Service Host domainname to the appsettings file of the master blazor project, blazor site starts working. But with this method, you simply bypass the web gateway and directly communicate with product microservice. 6- Another note, updating c# client proxies using cli even does not run, gives error. So using static proxies is not on the table. Here is the error stack trace; abp generate-proxy -t csharp -u http://localhost:44361/

System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.IO.IOException: The response ended prematurely. at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken) at Volo.Abp.Cli.ServiceProxying.ServiceProxyGeneratorBase1.GetApplicationApiDescriptionModelAsync(GenerateProxyArgs args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ServiceProxying\ServiceProxyGeneratorBase.cs:line 36 at Volo.Abp.Cli.ServiceProxying.CSharp.CSharpServiceProxyGenerator.GenerateProxyAsync(GenerateProxyArgs args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ServiceProxying\CSharp\CSharpServiceProxyGenerator.cs:line 78 at Volo.Abp.Cli.Commands.ProxyCommandBase1.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\ProxyCommandBase.cs:line 56 at Volo.Abp.Cli.CliService.RunInternalAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 167 at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 75

7- I need to run blazor site with my dynamic proxied micro services. 8- Another issue is that when you set up a new project as described in step 1, and run the blazor site, app welcomes you with an error dialog. You can simply click ok to continue, but it is also annoying. Error says: Could not find 'afterLeptonXInitialization' 9- I hope you can suggest a quick solution for the problem, it took days for me to upgrade the entire solution, and I dont wish to rollback.

Question

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.3.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:2022-07-01 15:19:44.232 +03:00 [DBG] Request path /connect/authorize matched to endpoint type Authorize 2022-07-01 15:19:44.237 +03:00 [DBG] Endpoint enabled: Authorize, successfully created handler: IdentityServer4.Endpoints.AuthorizeEndpoint 2022-07-01 15:19:44.237 +03:00 [INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.AuthorizeEndpoint for /connect/authorize 2022-07-01 15:19:44.237 +03:00 [DBG] Start authorize request 2022-07-01 15:19:44.237 +03:00 [DBG] No user present in authorize request 2022-07-01 15:19:44.237 +03:00 [DBG] Start authorize request protocol validation 2022-07-01 15:19:44.252 +03:00 [DBG] client configuration validation for client CoMed_Blazor succeeded. 2022-07-01 15:19:44.252 +03:00 [DBG] Checking for PKCE parameters 2022-07-01 15:19:44.252 +03:00 [ERR] scopes too long.
  • Steps to reproduce the issue: 1 - Our project has 17 microservices. During authorization_code flow, when scope names are sent to to the identity server's authorize endpoint, a validator error about the length of scopes occurs. How can I override related settings? I have added the codes below to to configureservices method of authserver ui projecet, it did'nt work. Configure<IdentityServerOptions>(builder => { builder.InputLengthRestrictions.Scope = 1000000; }); 2- Türkçe destek istegi yapabilecegimiz bir adresiniz var mı? Bu şekilde sıkıcı oluyor.
Showing 11 to 19 of 19 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06