Activities of "devchase321"

i already check these possible solutions but it cant work

Problem Description

I am facing an issue with ABP’s Dynamic HTTP Client Proxy. in WebPublic Project

I have an Application Service method:

Task<List<TeamMemberDto>> GetAllAsync();

And a working HttpApi controller endpoint:

GET /api/app/user-detail-info/all

✔ Direct call works

Calling the endpoint directly in the browser or via Postman works correctly:

https://localhost:44364/api/app/user-detail-info/all

❌ Proxy call fails

When the method is invoked through ABP’s dynamic proxy, the following exception is thrown:

Could not find remote action for method: System.Threading.Tasks.Task1[ System.Collections.Generic.List1[Millennial.UserDetailInfos.TeamMemberDto] ] GetAllAsync() on the URL: https://localhost:44364/

Exception Stack Trace (shortened) Volo.Abp.AbpException: Could not find remote action for method: GetAllAsync()

at Volo.Abp.Http.Client.DynamicProxying.ApiDescriptionFinder.FindActionAsync at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor

What Is Confusing

The API endpoint exists

Swagger shows the endpoint

Direct HTTP GET works

But ABP dynamic proxy fails to resolve it via /api/abp/api-definition

Architecture & Configuration

44364 is the HttpApi.Host

RemoteServices:Default:BaseUrl is set to:

"RemoteServices": { "Default": { "BaseUrl": "https://localhost:44364" } }

Tiered setup is intentional

What I Have Already Tried

✔ Confirmed endpoint works directly in browser and Postman

✔ Verified Swagger shows /api/app/user-detail-info/all

✔ Restarted HttpApi.Host and PublicWeb

✔ Verified https://localhost:44364/api/abp/api-definition is accessible

✔ Confirmed routing attributes on controller:

[RemoteService] [Area("app")] [Route("api/app/user-detail-info")]

✔ Verified GetAllAsync() exists on:

AppService interface

AppService implementation

HttpApi controller

✔ Confirmed correct RemoteServices:Default:BaseUrl

✔ Confirmed the request reaches controller before exception

✔ Confirmed exception occurs after controller execution

✔ Attempted calling only from JS proxy (same behavior if resolved server-side)

✔ Clean rebuild and restart

✔ No [RemoteService(false)] applied

Expected Behavior

ABP dynamic proxy should resolve the remote action via API definition and execute the HTTP call successfully, since the endpoint exists and is reachable.

Actual Behavior

ABP dynamic proxy throws:

Could not find remote action for method GetAllAsync()

even though the endpoint exists and works.

Questions

Under what conditions does ABP dynamic proxy fail to match an existing HttpApi controller action?

Is it required that the method be exposed via conventional controllers only, even if a custom controller exists?

Can dynamic proxy resolve methods that are exposed via custom HttpApi controllers?

Is this a known limitation or expected behavior?

Workaround

Direct JS abp.ajax() or fetch calls work, but dynamic proxy cannot be used reliably for this service.

  • Template: app
  • Created ABP Studio Version: 2.1.0
  • Current ABP Studio Version: 2.1.6
  • Tiered: Yes
  • Multi-Tenancy: Yes
  • UI Framework: blazor-server
  • Theme: leptonx
  • Theme Style: system
  • Theme Menu Placement: side
  • Database Provider: ef
  • Database Management System: sqlserver
  • Separate Tenant Schema: Yes
  • Mobile Framework: none
  • Public Website: Yes
  • Social Login: Yes
  • Include Tests: Yes
  • Kubernetes Configuration: Yes
  • Distributed Event Bus: rabbitmq
  • Use Local References: No
  • Optional Modules:
    • GDPR
    • FileManagement
    • TextTemplateManagement
    • LanguageManagement
    • AuditLogging
    • Chat
    • OpenIddictAdmin
  • Selected Languages: English, French, Spanish
  • Default Language: English
  • Create Command: abp new Millennial -t app --tiered --ui-framework blazor-server --database-provider ef --database-management-system sqlserver --theme leptonx --separate-tenant-schema --skip-migration --skip-migrator --public-website --without-cms-kit --dont-run-install-libs --dont-run-bundling -chat -file-management

Hi EngincanV,

Thank you for your message. I have just added the Payment module in my solution from ABP Studio. I didn't change anything in default setup.

With default setup I am giving the error and then I have added the stripe module to the blazor and public module, but this is also giving me the same error.

Any update for me?

Hi, This did not helped me. I am getting the same error in Blazor & Public application. Please help me.

  • Exception message and full stack trace:

Volo.Abp.Http.Client.AbpRemoteCallException: An internal error occurred during your request! at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.ThrowExceptionForResponseAsync(HttpResponseMessage response) at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync(ClientProxyRequestContext requestContext) at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync[T](ClientProxyRequestContext requestContext) at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase1.RequestAsync[T](String methodName, ClientProxyRequestTypeValue arguments) at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies.AbpApplicationConfigurationClientProxy.GetAsync(ApplicationConfigurationRequestOptions options) at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetRemoteConfigurationAsync() at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.<GetAsync>b__19_0() at Volo.Abp.Caching.DistributedCache2.GetOrAddAsync(TCacheKey key, Func1 factory, Func1 optionsFactory, Nullable1 hideErrors, Boolean considerUow, CancellationToken token) at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetAsync() at Volo.Abp.AspNetCore.Mvc.Client.RemoteFeatureChecker.GetOrNullAsync(String name) at Volo.Abp.Features.FeatureCheckerBase.IsEnabledAsync(String name) at Volo.CmsKit.Pro.Public.Web.Middlewares.UrlShortingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext() --- End of stack trace from previous location --- at Emerald.Web.Public.EmeraldWebPublicModule.<>c.<<OnApplicationInitialization>b__15_0>d.MoveNext() in C:\Users\PD0987\Documents\Projects\Emerald Healthcare Services\src\Emerald.Web.Public\EmeraldWebPublicModule.cs:line 361 --- End of stack trace from previous location --- at Volo.Abp.AspNetCore.Mvc.Libs.AbpMvcLibsService.<CheckLibs>b__1_0(HttpContext httpContext, RequestDelegate next) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)

HEADERS

Host: localhost:44362

  • Steps to reproduce the issue:

I have added the Payment module from the abp studio and getting above error.

[maliming] said: hi

The new error:

Client validation failed because 'http://emeraldhealthcare.us/signin-oidc' was not a valid redirect_uri for Emerald_Web_Public_Prod. 

Have you added ctx.Request.Scheme = "https"; to the admin website?

app.Use(async (ctx, next) =>  
{  
    ctx.Request.Scheme = "https";  
    await next();  
});       

Additionally, it seems there is an issue with your reverse proxy configuration. The browser requested HTTPS, but the URL is still HTTP.

Thanks.

Hi Yes, I have added it on the admin website, and in the database, it is set to HTTPS.

Thanks

[maliming] said: Hi

You can add it and try again.

If still get 500 error please share the logs.txt files again.

Thanks.

Hi

I have sent logs file in the mail.

Thanks

[maliming] said: Hi

You can add it and try again.

If still get 500 error please share the logs.txt files again.

Thanks.

Can I add it in the auth or admin module?

[maliming] said: hi

Your auth returns an error.

Does it have such code in the auth website startup module?

app.Use(async (ctx, next) => 
{ 
    ctx.Request.Scheme = "https"; 
    await next(); 
});      

Thanks.

No, I have not added any such code in the auth website's startup module.

Showing 1 to 10 of 32 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on January 09, 2026, 07:22
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.