Open Closed

Cannot do: Identityserver deployment on IIS #2400


User avatar
0
abpVAndy created
  • ABP Framework version: v5.0.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I try to deploy the app in VM. First step, I try to deploy the identityserver on it. --> failed.

1, I use the localhost and default cert to binding. it was for login/logout, but faild to update the abpuser infor, or cannot access db. (not sure the reason), please check the images below.

thx


12 Answer(s)
  • User Avatar
    0
    abpVAndy created

    Here is the part code:

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Can you share the identityserver logs?

  • User Avatar
    0
    abpVAndy created

    Hi, liangshiwei Thanks for your reply.

    The logs file is too big. I copy some logs here from the error happend. Let me know if you need more. It seems redis lua script issue.

    Thx

  • User Avatar
    0
    abpVAndy created

    2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.BackgroundJobs.AbpBackgroundJobsModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.FeatureManagement.AbpFeatureManagementDomainModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.PermissionManagement.Identity.AbpPermissionManagementDomainIdentityModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.PermissionManagement.IdentityServer.AbpPermissionManagementDomainIdentityServerModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Saas.SaasDomainModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Payment.AbpPaymentDomainModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.TextTemplateManagement.TextTemplateManagementDomainModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.LeptonTheme.Management.LeptonThemeManagementDomainModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.LanguageManagement.LanguageManagementDomainModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.CmsKit.CmsKitProDomainModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.CmsKit.CmsKitDomainModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.BlobStoring.Database.BlobStoringDatabaseDomainModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.Identity.EntityFrameworkCore.AbpIdentityProEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.Identity.EntityFrameworkCore.AbpIdentityEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.Users.EntityFrameworkCore.AbpUsersEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.IdentityServer.EntityFrameworkCore.AbpIdentityServerEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.EntityFrameworkCore.MySQL.AbpEntityFrameworkCoreMySQLModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.BackgroundJobs.EntityFrameworkCore.AbpBackgroundJobsEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.FeatureManagement.EntityFrameworkCore.AbpFeatureManagementEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.LanguageManagement.EntityFrameworkCore.LanguageManagementEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Saas.EntityFrameworkCore.SaasEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Payment.EntityFrameworkCore.AbpPaymentEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.TextTemplateManagement.EntityFrameworkCore.TextTemplateManagementEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.CmsKit.EntityFrameworkCore.CmsKitProEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.CmsKit.EntityFrameworkCore.CmsKitEntityFrameworkCoreModule 2022-01-10 20:55:55.507 +00:00 [INF] - Volo.Abp.BlobStoring.Database.EntityFrameworkCore.BlobStoringDatabaseEntityFrameworkCoreModule 2022-01-10 20:55:55.875 +00:00 [INF] Starting IdentityServer4 version 4.1.2+997a6cdd643e46cd5762b710c4ddc43574cbec2e 2022-01-10 20:55:56.586 +00:00 [INF] Using the default authentication scheme Identity.Application for IdentityServer 2022-01-10 20:55:56.843 +00:00 [INF] Initialized all ABP modules. 2022-01-10 20:55:56.869 +00:00 [INF] Application started. Press Ctrl+C to shut down. 2022-01-10 20:55:56.869 +00:00 [INF] Hosting environment: Production 2022-01-10 20:55:56.869 +00:00 [INF] Content root path: C:\inetpub\wwwroot\ssunids4 2022-01-10 20:55:56.892 +00:00 [INF] Request starting HTTP/2 GET https://localhost:44344/ - - 2022-01-10 20:55:59.382 +00: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 Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token) at Volo.Abp.Caching.DistributedCache2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext() 2022-01-10 20:55:59.626 +00: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(IEnumerable1 items, DistributedCacheEntryOptions options, CancellationToken token) at Volo.Abp.Caching.DistributedCache2.<>c__DisplayClass54_0.<<SetManyAsync>g__SetRealCache|0>d.MoveNext() 2022-01-10 20:55:59.743 +00: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(IEnumerable1 items, DistributedCacheEntryOptions options, CancellationToken token) at Volo.Abp.Caching.DistributedCache2.<>c__DisplayClass54_0.<<SetManyAsync>g__SetRealCache|0>d.MoveNext() 2022-01-10 20:55:59.999 +00:00 [INF] Executing endpoint '/Index' 2022-01-10 20:56:00.029 +00:00 [INF] Route matched with {page = "/Index", area = "", action = "", controller = ""}. Executing page /Index 2022-01-10 20:56:00.031 +00:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2022-01-10 20:56:00.083 +00:00 [INF] Executing handler method Fly.SunShop.Pages.IndexModel.OnGet - ModelState is "Valid" 2022-01-10 20:56:00.085 +00:00 [INF] Executed handler method OnGet, returned result Microsoft.AspNetCore.Mvc.RedirectResult. 2022-01-10 20:56:00.090 +00:00 [INF] Executing RedirectResult, redirecting to /Account/Login. 2022-01-10 20:56:00.105 +00:00 [INF] Executed page /Index in 62.0465ms 2022-01-10 20:56:00.105 +00:00 [INF] Executed endpoint '/Index' 2022-01-10 20:56:00.137 +00:00 [INF] Request finished HTTP/2 GET https://localhost:44344/ - - - 302 - - 3245.9217ms 2022-01-10 20:56:00.147 +00:00 [INF] Request starting HTTP/2 GET https://localhost:44344/Account/Login - - 2022-01-10 20:56:00.158 +00:00 [INF] Executing endpoint '/Account/Login' 2022-01-10 20:56:00.186 +00:00 [INF] Route matched with {page = "/Account/Login", area = "", action = "", controller = ""}. Executing page /Account/Login 2022-01-10 20:56:00.186 +00:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2022-01-10 20:56:00.675 +00:00 [INF] Executing handler method Volo.Abp.Account.Public.Web.Pages.Account.LoginModel.OnGetAsync - ModelState is "Valid" 2022-01-10 20:56:00.762 +00:00 [INF] Executed handler method OnGetAsync, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult. 2022-01-10 20:56:00.932 +00: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 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2815 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/RedisBase.cs:line 54 at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in /_/src/StackExchange.Redis/RedisDatabase.cs:line 1189 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Set(String key, Byte[] value, DistributedCacheEntryOptions options) at Volo.Abp.Caching.DistributedCache2.<>c__DisplayClass50_0.<Set>g__SetRealCache|0() 2022-01-10 20:56:00.976 +00: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 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2815 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/RedisBase.cs:line 54 at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in /_/src/StackExchange.Redis/RedisDatabase.cs:line 1189 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Set(String key, Byte[] value, DistributedCacheEntryOptions options) at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass50_0.

  • User Avatar
    0
    abpVAndy created

    2022-01-10 20:56:00.984 +00: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 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2815 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/RedisBase.cs:line 54 at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in //src/StackExchange.Redis/RedisDatabase.cs:line 1189 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Set(String key, Byte[] value, DistributedCacheEntryOptions options) at Volo.Abp.Caching.DistributedCache2.<>c__DisplayClass50_0.<Set>g__SetRealCache|0() 2022-01-10 20:56:00.996 +00: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 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2815 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/RedisBase.cs:line 54 at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in /_/src/StackExchange.Redis/RedisDatabase.cs:line 1189 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Set(String key, Byte[] value, DistributedCacheEntryOptions options) at Volo.Abp.Caching.DistributedCache2.<>c__DisplayClass50_0.<Set>g__SetRealCache|0() 2022-01-10 20:56:01.064 +00: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 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2815 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/RedisBase.cs:line 54 at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in //src/StackExchange.Redis/RedisDatabase.cs:line 1189 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Set(String key, Byte[] value, DistributedCacheEntryOptions options) at Volo.Abp.Caching.DistributedCache2.<>c__DisplayClass50_0.<Set>g__SetRealCache|0() 2022-01-10 20:56:01.072 +00: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 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2815 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/RedisBase.cs:line 54 at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in /_/src/StackExchange.Redis/RedisDatabase.cs:line 1189 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Set(String key, Byte[] value, DistributedCacheEntryOptions options) at Volo.Abp.Caching.DistributedCache2.<>c__DisplayClass50_0.<Set>g__SetRealCache|0() 2022-01-10 20:56:01.078 +00: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 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2815 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/RedisBase.cs:line 54 at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in //src/StackExchange.Redis/RedisDatabase.cs:line 1189 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Set(String key, Byte[] value, DistributedCacheEntryOptions options) at Volo.Abp.Caching.DistributedCache2.<>c__DisplayClass50_0.<Set>g__SetRealCache|0() 2022-01-10 20:56:01.084 +00: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 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2815 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/RedisBase.cs:line 54 at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in /_/src/StackExchange.Redis/RedisDatabase.cs:line 1189 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Set(String key, Byte[] value, DistributedCacheEntryOptions options) at Volo.Abp.Caching.DistributedCache2.<>c__DisplayClass50_0.<Set>g__SetRealCache|0() 2022-01-10 20:56:01.089 +00: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 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2815 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/RedisBase.cs:line 54 at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in //src/StackExchange.Redis/RedisDatabase.cs:line 1189 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Set(String key, Byte[] value, DistributedCacheEntryOptions options) at Volo.Abp.Caching.DistributedCache2.<>c__DisplayClass50_0.<Set>g__SetRealCache|0() 2022-01-10 20:56:01.102 +00: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 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2815 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/RedisBase.cs:line 54 at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in /_/src/StackExchange.Redis/RedisDatabase.cs:line 1189 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Set(String key, Byte[] value, DistributedCacheEntryOptions options) at Volo.Abp.Caching.DistributedCache2.<>c__DisplayClass50_0.<Set>g__SetRealCache|0() 2022-01-10 20:56:01.110 +00: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 StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2815 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/RedisBase.cs:line 54 at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in //src/StackExchange.Redis/RedisDatabase.cs:line 1189 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Set(String key, Byte[] value, DistributedCacheEntryOptions options) at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass50_0.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Yes, it seems related to the Redis server. may I ask what Redis version are you using?

    You can check this (This is not an official release and is recommended for development and testing):

    https://github.com/tporadowski/redis/releases

  • User Avatar
    0
    abpVAndy created

    Yes, I use old version: redis 3.0.504

    I will try again after install new version.

    Another question. When I try to open this: https://auth.folosun.org:44341/ the logs.txt, is empty. It seems not start the identityserver. this is also the redis issue? I will try it tomorrow.

    thx

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    When I try to open this: https://auth.folosun.org:44341/ the logs.txt, is empty. It seems not start the identityserver.

    It seems like related to Web Server, you can check IIS logs.

  • User Avatar
    0
    abpVAndy created

    Hi, liangshiwei,

    I updated the redis to latest version. but it still has some issue.

    1, I use the https, for localhost, to test, it could login and log out. But it still cannot update abpuser information. And I check the identityserver logs, I find the log file is empty. But the iis logs has some code. please check below.

    #Version: 1.0 #Date: 2022-01-12 00:24:00 #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken 2022-01-12 00:24:00 ::1 GET / - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 - 200 0 0 8789 2022-01-12 00:24:00 ::1 GET /api/account/profile-picture-file/3a014eec-ec6e-507b-dff2-d34ecfb3f463 - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/ 302 0 0 29 2022-01-12 00:24:00 ::1 GET /__bundles/Lepton.Global.2F1A847D55E2F3662DD9CDA172E4CB72.css _v=637775438387535044 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/ 200 0 0 57 2022-01-12 00:24:00 ::1 GET /__bundles/Lepton.Global.FC72F39003A3198C91F8AE938BC6B47A.js _v=637775438399244437 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/ 200 0 0 74 2022-01-12 00:24:00 ::1 GET /libs/timeago/locales/jquery.timeago.en.js _v=637735797848050000 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/ 200 0 0 17 2022-01-12 00:24:00 ::1 GET /Abp/ServiceProxyScript - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/ 200 0 0 121 2022-01-12 00:24:00 ::1 GET /Error httpStatusCode=404 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/ 404 0 0 469 2022-01-12 00:24:01 ::1 GET /images/logo/logo-light.png - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/__bundles/Lepton.Global.2F1A847D55E2F3662DD9CDA172E4CB72.css?_v=637775438387535044 200 0 0 177 2022-01-12 00:24:01 ::1 GET /Themes/Lepton/Global/assets/backgrounds/bg-transparent.png - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/__bundles/Lepton.Global.2F1A847D55E2F3662DD9CDA172E4CB72.css?_v=637775438387535044 200 0 0 178 2022-01-12 00:24:01 ::1 GET /libs/flag-icon-css/flags/1x1/gb.svg - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/__bundles/Lepton.Global.2F1A847D55E2F3662DD9CDA172E4CB72.css?_v=637775438387535044 200 0 0 87 2022-01-12 00:24:01 ::1 GET /Themes/Lepton/Global/assets/fonts/poppins-v6-latin-regular.woff2 - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/__bundles/Lepton.Global.2F1A847D55E2F3662DD9CDA172E4CB72.css?_v=637775438387535044 200 0 0 4 2022-01-12 00:24:01 ::1 GET /Themes/Lepton/Global/assets/fonts/poppins-v6-latin-600.woff2 - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/__bundles/Lepton.Global.2F1A847D55E2F3662DD9CDA172E4CB72.css?_v=637775438387535044 200 0 0 6 2022-01-12 00:24:01 ::1 GET /libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/__bundles/Lepton.Global.2F1A847D55E2F3662DD9CDA172E4CB72.css?_v=637775438387535044 200 0 0 8 2022-01-12 00:24:01 ::1 GET /Themes/Lepton/Global/assets/fonts/poppins-v6-latin-700.woff2 - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/__bundles/Lepton.Global.2F1A847D55E2F3662DD9CDA172E4CB72.css?_v=637775438387535044 200 0 0 60 2022-01-12 00:24:01 ::1 GET /Abp/ApplicationConfigurationScript - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/ 200 0 0 1416 2022-01-12 00:24:01 ::1 GET /images/favicon/site.webmanifest - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/ 200 0 0 2 2022-01-12 00:24:15 ::1 GET /Account/Manage returnUrl=https://localhost:44346/ 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/ 200 0 0 5095 2022-01-12 00:24:15 ::1 GET /__bundles/Volo.Abp.Account.Public.Web.Pages.Account.ManageModel.1E0662B111B15F7437B8E86574591B2E.css _v=637775438554126294 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/Account/Manage?returnUrl=https://localhost:44346/ 200 0 0 24 2022-01-12 00:24:15 ::1 GET /__bundles/Lepton.Global.FC72F39003A3198C91F8AE938BC6B47A.js _v=637775438399244437 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/Account/Manage?returnUrl=https://localhost:44346/ 304 0 0 24 2022-01-12 00:24:15 ::1 GET /api/account/profile-picture-file/3a014eec-ec6e-507b-dff2-d34ecfb3f463 - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/Account/Manage?returnUrl=https://localhost:44346/ 302 0 0 52 2022-01-12 00:24:15 ::1 GET /Abp/ServiceProxyScript - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/Account/Manage?returnUrl=https://localhost:44346/ 200 0 0 54 2022-01-12 00:24:15 ::1 GET /__bundles/Lepton.Global.2F1A847D55E2F3662DD9CDA172E4CB72.css _v=637775438387535044 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/Account/Manage?returnUrl=https://localhost:44346/ 200 0 0 184 2022-01-12 00:24:15 ::1 GET /__bundles/Volo.Abp.Account.Public.Web.Pages.Account.ManageModel.B8A9BBA0EEE4D03117FA135C1ED22DE0.js _v=637775438554911937 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/Account/Manage?returnUrl=https://localhost:44346/ 200 0 0 281 2022-01-12 00:24:15 ::1 GET /Error httpStatusCode=404 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/Account/Manage?returnUrl=https://localhost:44346/ 404 0 0 241 2022-01-12 00:24:15 ::1 GET /Abp/ApplicationConfigurationScript - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/Account/Manage?returnUrl=https://localhost:44346/ 200 0 0 663 2022-01-12 00:24:15 ::1 GET /images/favicon/site.webmanifest - 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/Account/Manage?returnUrl=https://localhost:44346/ 200 0 0 9 2022-01-12 00:24:19 ::1 POST /api/account/profile-picture type=1 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/Account/Manage?returnUrl=https://localhost:44346/ 302 0 0 24 2022-01-12 00:24:19 ::1 GET /Error httpStatusCode=404 44346 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/97.0.4692.71+Safari/537.36 https://localhost:44346/Account/Manage?returnUrl=https://localhost:44346/ 404 0 0 219

  • User Avatar
    0
    abpVAndy created

    2, I use the domain to test. The identityserver logs and iis logs file, both empty, no data there.

  • User Avatar
    0
    abpVAndy created

    I check the event view, find below:

    the identityserver code in here: C:\inetpub\wwwroot\1

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I tried locally but it did not reproduce the problem.

    Can I check it remotely? shiwei.liang@volosoft.com

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