Open Closed

Does not pass the cover-spin #2472


User avatar
0
christianharo created

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

  • ABP Framework version: v5.1.2

  • UI type: Blazor

  • DB provider: EF Core

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

  • Exception message and stack trace:

  • Steps to reproduce the issue: I have created a brand new app using the abp suite. Created one simple entity no navigation properties. Generated and compiled the code. The Http.host file solution works and swager comes up with no issue. (https://localhost:44344/swagger/index.html) Started the .Blazor Application and stays in the cover-spin never moves forward to the login as the documentation says. (https://localhost:44307/) The appsettings for the .blazor shows as : }, "AuthServer": { "Authority": "https://localhost:44344", "ClientId": "ChildCarePal_Blazor", "ResponseType": "code" }, "RemoteServices": { "Default": { "BaseUrl": "https://localhost:44344" } }, "AbpCli": { "Bundle": { "Mode": "BundleAndMinify", /* Options: None, Bundle, BundleAndMinify / "Name": "global", "Parameters": { "LeptonTheme.Style": "Style6", / Options: Style1, Style2... Style6 */ "LeptonTheme.ChangeStyleDynamically": "true" } } } }

As an update I did the same but this time i created an angular project.... I am getting the same issue the app never shows the log in screen. Any help on this ? This are brand new apps created with the latest abp suite.

i need to add that if i create a regular NON comercial version just using ABP everything works properly.

Another update as had no response from support in 3 days.... Works correctly also when creating the solution with abp client using the app--pro in Blazor and Angular. so look slike the ABP suite creates de issue.

Another cupdate ...I created a new app this time using Abp suite and works as long as you don't add the public side and CMS Kit and public site... Might have to do with Redis as it shows a message

Possible SECURITY ATTACK detected. It looks like somebody is sending POST or Host: commands to Redis. This is likely due to an attacker attempting to use Cross Protocol Scripting to compromise your Redis instance. Connection aborted.


4 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer
    • Can you share console logs of browser for blazor app?

    • Also can you share your HttpApi.Host logs?

    I can't guess the problem right now

  • User Avatar
    0
    christianharo created

    The error that keeps coming up in the log for the HttpApi.Host is

    2022-02-07 10:43:48.502 -06:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto'.
    2022-02-07 10:43:48.516 -06:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc) in 642.9228ms
    2022-02-07 10:43:48.516 -06:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc)'
    2022-02-07 10:43:48.518 -06:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
    StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
       at Volo.Abp.Caching.StackExchangeRedis.AbpRedisCache.SetManyAsync(IEnumerable`1 items, DistributedCacheEntryOptions options, CancellationToken token)
       at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass54_0.<<SetManyAsync>g__SetRealCache|0>d.MoveNext()
    2022-02-07 10:43:48.523 -06:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
    StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
       at Volo.Abp.Caching.StackExchangeRedis.AbpRedisCache.SetManyAsync(IEnumerable`1 items, DistributedCacheEntryOptions options, CancellationToken token)
       at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass54_0.<<SetManyAsync>g__SetRealCache|0>d.MoveNext()
    2022-02-07 10:43:48.528 -06:00 [WRN] ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
    StackExchange.Redis.RedisServerException: ERR Error running script (call to f_3915ee22fda531a1d5661f2523d0443fd35ff0a4): @user_script:2: @user_script: 2: Wrong number of args calling Redis command From Lua script 
       at Volo.Abp.Caching.StackExchangeRedis.AbpRedisCache.SetManyAsync(IEnumerable`1 items, DistributedCacheEntryOptions options, CancellationToken token)
       at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass54_0.<<SetManyAsync>g__SetRealCache|0>d.MoveNext()
    2022-02-07 10:43:48.528 -06:00 [INF] Request finished HTTP/2 GET https://localhost:44312/api/abp/application-configuration - - - 200 - application/json;+charset=utf-8 659.5601ms
    2022-02-07 10:43:53.890 -06:00 [DBG] Executing HealthCheck collector HostedService.
    2022-02-07 10:43:53.892 -06:00 [INF] Start processing HTTP request GET "https://localhost:44312/health-status"
    2022-02-07 10:43:53.892 -06:00 [INF] Sending HTTP request GET "https://localhost:44312/health-status"
    2022-02-07 10:43:53.893 -06:00 [INF] Request starting HTTP/1.1 GET https://localhost:44312/health-status - -
    2022-02-07 10:43:53.898 -06:00 [INF] Executing endpoint 'Health checks'
    2022-02-07 10:43:53.908 -06:00 [DBG] Added 0 entity changes to the current audit log
    2022-02-07 10:43:53.910 -06:00 [INF] Executed endpoint 'Health checks'
    2022-02-07 10:43:53.910 -06:00 [INF] Request finished HTTP/1.1 GET https://localhost:44312/health-status - - - 200 - application/json 16.9751ms
    2022-02-07 10:43:53.911 -06:00 [INF] Received HTTP response headers after 18.944ms - 200
    2022-02-07 10:43:53.911 -06:00 [INF] End processing HTTP request after 19.2479ms - 200
    2022-02-07 10:43:53.913 -06:00 [DBG] HealthReportCollector - health report execution history saved.
    2022-02-07 10:43:53.913 -06:00 [DBG] HealthReport history already exists and is in the same state, updating the values.
    2022-02-07 10:43:53.914 -06:00 [DBG] HealthReportCollector has completed.
    2022-02-07 10:43:53.914 -06:00 [DBG] HealthCheck collector HostedService executed successfully.
    

    Here is the balzor Logs

  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    As I see, Your HttpApi returns status code 439.

    439 is not a commonly used known status code. Can you look the response body if it contains any description or message?

    It might be related to your hosting provider.

  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    Please check https://stackoverflow.com/a/59640437/2594735.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07