Activities of "yinchang"

  • ABP Framework version: v6.0.1
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:below
  • Steps to reproduce the issue:"
  1. abp new FS -t app-pro -u mvc --tiered
  2. cd aspnet-core\etc\build and run build-images-locally.ps1
  3. cd aspnet-core\etc\docker and fix docker-compose.yml typo fs-authserver to identity-server
  4. runrun-docker.ps1
  5. go to https://localhost:44353/ and try to login with admin 1q2w3E* will get error:
  6. check log:
2022-11-22 12:23:23 [04:23:23 ERR] An unhandled exception has occurred while executing the request.
2022-11-22 12:23:23 System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'http://fs-identity-server/.well-known/openid-configuration'.
2022-11-22 12:23:23    at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsyncInternal(AuthenticationProperties properties)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler.HandleChallengeAsync(AuthenticationProperties properties)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.ChallengeAsync(AuthenticationProperties properties)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Authentication.AuthenticationService.ChallengeAsync(HttpContext context, String scheme, AuthenticationProperties properties)
2022-11-22 12:23:23    at FS.Web.Pages.IndexModel.OnPostLoginAsync() in C:\Works\11111\FS7\aspnet-core\src\FS.Web\Pages\Index.cshtml.cs:line 15
2022-11-22 12:23:23    at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.ExecutorFactory.NonGenericTaskHandlerMethod.Execute(Object receiver, Object[] arguments)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeHandlerMethodAsync()
2022-11-22 12:23:23    at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeNextPageFilterAsync()
2022-11-22 12:23:23    at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Rethrow(PageHandlerExecutedContext context)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker.InvokeInnerFilterAsync()
2022-11-22 12:23:23    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ExceptionContextSealed context)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeNextResourceFilter()
2022-11-22 12:23:23 --- End of stack trace from previous location ---
2022-11-22 12:23:23    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
2022-11-22 12:23:23 --- End of stack trace from previous location ---
2022-11-22 12:23:23    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
2022-11-22 12:23:23    at Volo.Abp.AspNetCore.Serilog.AbpSerilogMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
2022-11-22 12:23:23 --- End of stack trace from previous location ---
2022-11-22 12:23:23    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
2022-11-22 12:23:23    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
2022-11-22 12:23:23    at Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
2022-11-22 12:23:23 --- End of stack trace from previous location ---
2022-11-22 12:23:23    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
2022-11-22 12:23:23    at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
2022-11-22 12:23:23    at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
2022-11-22 12:23:23 --- End of stack trace from previous location ---
2022-11-22 12:23:23    at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
Answer

@yorytang: It's fine in v4.3.0

hi

You can create a subclass to replace FileDescriptorAppService. And overide DownloadAsync method to use AllowAnonymous attribute.

https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Overriding-Services

Hi: Thank you,It's work

  • ABP Framework version: 4.2.2
  • UI type: don't care
  • DB provider: don't care
  • Tiered (MVC) or Identity Server Separated (Angular): don't care

HI: I have a question: When I use FileManagement module, for execute DownloadAsync method in FileDescriptorAppService it need FileManagement.FileDescriptor permission, but I want to let it can be executed without any permission,everyone can use it to download file, I had already read doc about overriding-a-permission-by-a-custom-policy but i don't know how to ignore exist policy for a appservice.

Can you tell me how to do? thank you.

It seems to be related to gmail security , I sent an email to info@abp.io .please check it.

alper: please try again ,thanks. yinchang0626@gmail.com

alper :

thank for your answer and help.

but, Is that mean we cant get Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial sourcecode by cli atfer version 4.2.1 ?

Please provide a way to download sourcecode of Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial and @volo/abp.commercial.ng.ui,

Because almost commercial modules still depend on this package,so I need sourcecode of all modules

Thank you.

And also, angular library commercial-ui is missing.

  • ABP Framework version: v4.2.1
  • UI type: Dont care
  • DB provider: Dont care
  • Tiered (MVC) or Identity Server Separated (Angular): Dont care
  • Exception message and stack trace: None
  • Steps to reproduce the issue:

When version at 4.2.0,I can get sourcecode of Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial by cli. But after upgrade to new version(4.2.1),Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial package is gone. Could you let it back if this package is still working

just as @arjun said : In prevous version of abp ,i could download this template :

Will abp suite cli provider more template in the futher?

Showing 1 to 10 of 12 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 14, 2025, 14:54