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)
Host: localhost:44362
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
authreturns 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.
[maliming] said: hi
There is an exception during login.
Can you share the logs.txt of
adminwebsite?liming.ma@volosoft.com
Thanks
I have sent it
[maliming] said: hi
Both Blazor and PublicWeb are using
oidcas the default challenge scheme.When you click login, it will redirect to
https://admin.example.com/Account/Loginand then redirec to authserver website login page.
Hi
But right now it's not working? Can you please provide solution?
thanks
[maliming] said: hi
Can you share your public and Blazor module C# files to liming.ma@volosoft.com?
Thanks.
Hi I have sent the files to the email.
[maliming] said: hi
it redirects to the same URL instead of navigating to the authentication (Auth) URL.
What is the current redirect URL?
https://admin.example.com/Account/Login ?
Thanks.
Hi
This is the current redirect URL: https://admin.example.com/Account/Login same for public application https://example.com/Account/Login
Thanks