Activities of "ronaksbhavsar"

Hi,

CLUSTERDOWN The cluster is down

It seems not related to ABP but Redis, can you check the Redis server?

yes, redis related issue it was.

Thanks for your time.

  • ABP Framework version: v5.2.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2817 2022-05-25 21:46:14 StackExchange.Redis.RedisServerException: CLUSTERDOWN The cluster is down 2022-05-25 21:46:14 [16:16:14 WRN] CLUSTERDOWN The cluster is down 2022-05-25 21:46:14 at Volo.Abp.Caching.DistributedCache2.Get(TCacheKey key, Nullable1 hideErrors, Boolean considerUow) 2022-05-25 21:46:14 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Get(String key) 2022-05-25 21:46:14 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAndRefresh(String key, Boolean getData) 2022-05-25 21:46:14 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisExtensions.HashMemberGet(IDatabase cache, String key, String[] members) 2022-05-25 21:46:14 at StackExchange.Redis.RedisDatabase.HashGet(RedisKey key, RedisValue[] hashFields, CommandFlags flags) in /_/src/StackExchange.Redis/RedisDatabase.cs:line 324 2022-05-25 21:46:14 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/RedisBase.cs:line 54 2022-05-25 21:46:14 at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2817 2022-05-25 21:46:14 StackExchange.Redis.RedisServerException: CLUSTERDOWN The cluster is down 2022-05-25 21:46:14 [16:16:14 WRN] CLUSTERDOWN The cluster is down 2022-05-25 21:46:14 at Volo.Abp.Caching.DistributedCache2.<>c__DisplayClass50_0.<Set>g__SetRealCache|0() 2022-05-25 21:46:14 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Set(String key, Byte[] value, DistributedCacheEntryOptions options) 2022-05-25 21:46:14 at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in //src/StackExchange.Redis/RedisDatabase.cs:line 1189 2022-05-25 21:46:14 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/RedisBase.cs:line 54 2022-05-25 21:46:14 at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2817 2022-05-25 21:46:14 StackExchange.Redis.RedisServerException: CLUSTERDOWN The cluster is down 2022-05-25 21:46:14 [16:16:14 WRN] CLUSTERDOWN The cluster is down 2022-05-25 21:46:14 at Volo.Abp.Caching.DistributedCache2.Get(TCacheKey key, Nullable1 hideErrors, Boolean considerUow) 2022-05-25 21:46:14 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Get(String key) 2022-05-25 21:46:14 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAndRefresh(String key, Boolean getData) 2022-05-25 21:46:14 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisExtensions.HashMemberGet(IDatabase cache, String key, String[] members) 2022-05-25 21:46:14 at StackExchange.Redis.RedisDatabase.HashGet(RedisKey key, RedisValue[] hashFields, CommandFlags flags) in //src/StackExchange.Redis/RedisDatabase.cs:line 324 2022-05-25 21:46:14 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/RedisBase.cs:line 54 2022-05-25 21:46:14 at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2817 2022-05-25 21:46:14 StackExchange.Redis.RedisServerException: CLUSTERDOWN The cluster is down 2022-05-25 21:46:14 [16:16:14 WRN] CLUSTERDOWN The cluster is down 2022-05-25 21:46:14 at Volo.Abp.Caching.DistributedCache2.Get(TCacheKey key, Nullable1 hideErrors, Boolean considerUow) 2022-05-25 21:46:14 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Get(String key) 2022-05-25 21:46:14 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAndRefresh(String key, Boolean getData) 2022-05-25 21:46:14 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisExtensions.HashMemberGet(IDatabase cache, String key, String[] members) 2022-05-25 21:46:14 at StackExchange.Redis.RedisDatabase.HashGet(RedisKey key, RedisValue[] hashFields, CommandFlags flags) in //src/StackExchange.Redis/RedisDatabase.cs:line 324 2022-05-25 21:46:14 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/RedisBase.cs:line 54 2022-05-25 21:46:14 at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2817 2022-05-25 21:46:14 StackExchange.Redis.RedisServerException: CLUSTERDOWN The cluster is down 2022-05-25 21:46:14 [16:16:14 WRN] CLUSTERDOWN The cluster is down 2022-05-25 21:46:14 at Volo.Abp.Caching.DistributedCache2.<>c__DisplayClass50_0.<Set>g__SetRealCache|0() 2022-05-25 21:46:14 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Set(String key, Byte[] value, DistributedCacheEntryOptions options) 2022-05-25 21:46:14 at StackExchange.Redis.RedisDatabase.ScriptEvaluate(String script, RedisKey[] keys, RedisValue[] values, CommandFlags flags) in /_/src/StackExchange.Redis/RedisDatabase.cs:line 1189 2022-05-25 21:46:14 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/RedisBase.cs:line 54 2022-05-25 21:46:14 at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2817 2022-05-25 21:46:14 StackExchange.Redis.RedisServerException: CLUSTERDOWN The cluster is down 2022-05-25 21:46:14 [16:16:14 WRN] CLUSTERDOWN The cluster is down 2022-05-25 21:46:14 at Volo.Abp.Caching.DistributedCache2.Get(TCacheKey key, Nullable1 hideErrors, Boolean considerUow) 2022-05-25 21:46:14 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.Get(String key) 2022-05-25 21:46:14 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAndRefresh(String key, Boolean getData) 2022-05-25 21:46:14 at Microsoft.Extensions.Caching.StackExchangeRedis.RedisExtensions.HashMemberGet(IDatabase cache, String key, String[] members) 2022-05-25 21:46:14 at StackExchange.Redis.RedisDatabase.HashGet(RedisKey key, RedisValue[] hashFields, CommandFlags flags) in /_/src/StackExchange.Redis/RedisDatabase.cs:line 324 2022-05-25 21:46:14 at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor1 processor, ServerEndPoint server) in //src/StackExchange.Redis/RedisBase.cs:line 54 2022-05-25 21:46:14 at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor`1 processor, ServerEndPoint server) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2817 2022-05-25 21:46:14 StackExchange.Redis.RedisServerException: CLUSTERDOWN The cluster is down 2022-05-25 20:54:40 [15:24:40 ERR] An error occurred while reading the key ring. Log labels

app authserver

container authserver

filename /var/log/pods/{appName}-stag_authserver-7494b9846f-brl9d_ff534c8b-8c20-4340-87b8-f1652332979a/authserver/0.log

job {appName}-stag/authserver

namespace {appName}-stag

pod authserver-7494b9846f-brl9d

pod_template_hash 7494b9846f

stream stdout Detected fields

ts 2022-05-25T15:24:40.647Z

tsNs 1653492280647510856 2022-05-25 20:54:35 [15:24:35 INF] Starting {appName}.AuthServer. 2022-05-25 20:52:36 [15:22:36 INF] Application is shutting down... 2022-05-25 20:52:35 [15:22:35 INF] Disposed RabbitMQ Channel Pool (1 channels in 928.38 ms). 2022-05-25 20:52:34 [15:22:34 INF] Disposing channel pool (1 channels).

  • Steps to reproduce the issue:" facing an issue on Auth server

hi

The** tenant id** may be changed by code, so the caller is responsible for passing the tenant name.

using(currentTenant.Change(tenantId)) 
{ 
 
} 
 

Okay Thanks

hi

You can override the GetClientIpAddress method to use IPV6 address.

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/WebClientInfo/HttpContextWebClientInfoProvider.cs#L30

Normalize Auditlogs table as it has both TenantId and TenantName fields?

What do you mean? Can you explain?

Can't we get tenantName from tenantid as it has foreign key relation, Do we required to add tenantname?

  • ABP Framework version: v5.2.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: AbpAuditLogs
  • Steps to reproduce the issue:" Can we add Ipv4 address into ClientIpAddress field of AuditLog table and Normalize Auditlogs table as it has both TenantId and TenantName fields?

Can you share your AuthServer.csproj package references?
Auth Server Package references.

Any update on this as I am waiting for the solution?

Thanks in Advance

Can you share your AuthServer.csproj package references? Auth Server Package references.

Thank you,

We should put Account related changes migration guide if it is missing.

Please let me know asap once you put all changes related to account module in migration guide as my Application is about to ready for production and I recently upgraded abp version to 5.2.0 due to this issue https://support.abp.io/QA/Questions/2809/httpssupportabpioQAQuestions2558Identity-Server-Error---Microservices

Thank you in advance.

You may have misunderstood that, there are no changes on the Account Module.
The Account Module was hosted by Http.Api.Host application of a tiered (separate identityserver) solution. It has been moved to IdentityServer project. That's all.

Okay. So, I will not be able to access through web gateway by adding it into configuration?
I have to access those api through Identity server endpoint?


My WebGateway appsettings configuration.

No, you are right. In the microservice template; gateways should be updated. account endpoints should be redirected to AuthServer instead of IdentityService. I have taken note of adding this to the migration guide.

FYI, 44322 is my Authserver endpoint and They are already redirecting to Authserver as mentioned in above Webgateway's appsettings configuration. but I am not able to access change-password, my-profile and Security logs from there and from Web Admin Portal as well.

Thank you,

We should put Account related changes migration guide if it is missing.

Please let me know asap once you put all changes related to account module in migration guide as my Application is about to ready for production and I recently upgraded abp version to 5.2.0 due to this issue https://support.abp.io/QA/Questions/2809/httpssupportabpioQAQuestions2558Identity-Server-Error---Microservices

Thank you in advance.

You may have misunderstood that, there are no changes on the Account Module. The Account Module was hosted by Http.Api.Host application of a tiered (separate identityserver) solution. It has been moved to IdentityServer project. That's all.

Okay. So, I will not be able to access through web gateway by adding it into configuration? I have to access those api through Identity server endpoint?

My WebGateway appsettings configuration.

Thank you,

We should put Account related changes migration guide if it is missing.

Please let me know asap once you put all changes related to account module in migration guide as my Application is about to ready for production and I recently upgraded abp version to 5.2.0 due to this issue https://support.abp.io/QA/Questions/2809/httpssupportabpioQAQuestions2558Identity-Server-Error---Microservices

Thank you in advance.

Showing 1 to 10 of 31 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35