Starts in:
1 DAY
15 HRS
25 MIN
6 SEC
Starts in:
1 D
15 H
25 M
6 S
Open Closed

Internal Server Error when running the Web project #4451


User avatar
0
jlavallet created
  • ABP Framework version: v 5.3.5
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
Volo.Abp.Http.Client.AbpRemoteCallException: Internal Server Error
   at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.ThrowExceptionForResponseAsync(HttpResponseMessage response)
   at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync(ClientProxyRequestContext requestContext)
   at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](ClientProxyRequestContext requestContext)
   at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](String methodName, ClientProxyRequestTypeValue arguments)
   at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies.AbpApplicationConfigurationClientProxy.GetAsync()
   at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.<GetAsync>b__14_0()
   at Volo.Abp.Caching.DistributedCache`2.GetOrAddAsync(TCacheKey key, Func`1 factory, Func`1 optionsFactory, Nullable`1 hideErrors, Boolean considerUow, CancellationToken token)
   at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetAsync()
   at Volo.Abp.AspNetCore.Mvc.Client.RemoteLanguageProvider.GetLanguagesAsync()
   at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync()
   at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
  • Steps to reproduce the issue:"

This is occurring when I run the Web project on my development machine – it does not occur in production. I have been using multiple startup projects. I thought it might be a timing thing. However, I ran the IdentityServer project and the HttpApi.Host first and I still got this problem when I ran the Web project. Please advise. There are no exceptions in the HttpApi.Host log.


7 Answer(s)
  • User Avatar
    0
    jlavallet created

    Just a little bit more information…

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    There are no exceptions in the HttpApi.Host log.

    What about the AuthServer?

  • User Avatar
    0
    jlavallet created

    I sent you a zip file containing my logs. There are some HTTP 500 responses in them. Any interpretation you can offer would help. Thank you.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    I sent you a zip file containing my logs.

    I didn't receive it. Can you confirm?

  • User Avatar
    0
    jlavallet created

    Liming,

    I figured it out. It came down to calling the wrong resource name in one of javascript files I had copied from another project. Why it manifested itself well after file was included in the project, I have no idea.

    var resource = abp.localization.getResource('DonorProject');

    After correcting project name to "BlueSpot" the problem went away.

    Can you point me to a resource that explains how to debug the ABP Framework code?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    https://support.abp.io/QA/Questions/978/How-can-I-debug-in-the-source-code-of-ABP-framework https://support.abp.io/QA/Questions/2082/Where-can-I-find-a-guide-to-debugging-ABP https://github.com/abpframework/abp/issues/1039

  • User Avatar
    0
    jlavallet created

    Thanks so much!

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06