"dev@veek.vn" की गतिविधियाँ

Hi,

I encountered an exception when setting data in Redis. Could you please help me with this?

My code:

private readonly IDistributedCache<RouteHistoryModeDto, string> _robotRouteHistoryCache;
// save to cache
await _robotRouteHistoryCache.SetAsync(string.Format(RouteHistoryConsts.CacheRouteHistoryModeKey, robot.Code),
                                               new RouteHistoryModeDto
                                               {
                                                   RouteHistoryId = routeHistory.Id,
                                                   ControlMode = routeHistory.ControlMode,
                                                   OperationMode = routeHistory.OperationMode,
                                                   DateTime = routeHistory.DateTime,
                                                   Odometer = routeHistory.Odometer,
                                                   TravelDistance = nextTravelDistance,
                                                   TravelTakenTime = nextTravelTakenTime
                                               });
StackExchange.Redis.RedisConnectionException: No connection (requires writable - not eligible for replica) is active/available to service this operation: EXPIRE c:AA.Core.BackOffice.RouteHistories.RouteHistoryModeDto,k:BackOffice:route-history-mode-bulldog015f899b, mc: 1/1/0, mgr: 10 of 10 available, clientName: localhost(SE.Redis-v2.6.122.38350), IOCP: (Busy=0,Free=1000,Min=1,Max=1000), WORKER: (Busy=2,Free=32765,Min=8,Max=32767), POOL: (Threads=7,QueuedItems=0,CompletedItems=488495,Timers=36), v: 2.6.122.38350
   at StackExchange.Redis.ConnectionMultiplexer.ThrowFailed[T](TaskCompletionSource`1 source, Exception unthrownException) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2039
StackExchange.Redis.RedisConnectionException: No connection (requires writable - not eligible for replica) is active/available to service this operation: EXPIRE c:AA.Core.BackOffice.RobotErrors.RobotError,k:BackOffice:robot-error-bulldog015f899b, mc: 1/1/0, mgr: 10 of 10 available, clientName: localhost(SE.Redis-v2.6.122.38350), IOCP: (Busy=0,Free=1000,Min=1,Max=1000), WORKER: (Busy=2,Free=32765,Min=8,Max=32767), POOL: (Threads=7,QueuedItems=0,CompletedItems=488947,Timers=37), v: 2.6.122.38350
   at StackExchange.Redis.ConnectionMultiplexer.ThrowFailed[T](TaskCompletionSource`1 source, Exception unthrownException) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2039

ABP Framework version: v7.3.2 UI Type: Angular Database System: MongoDB Tiered (for MVC) or Auth Server Separated (for Angular): Yes Exception message and full stack trace: [Provide any relevant details] Steps to reproduce the issue:

yeah, thanks liangshiwei

Hi,

Sometimes, the server returns the message 'An internal error occurred during your request!' and I need to open the log to check the error details. How can I set up the response to return the error message details and only for the development environment?

ABP Framework version: v7.3.2 UI Type: Angular Database System: MongoDB Tiered (for MVC) or Auth Server Separated (for Angular): Yes Exception message and full stack trace: [Provide any relevant details] Steps to reproduce the issue:

thanks liangshiwei

ok thanks

hi,

How can I access the Lepton theme in Figma?

ABP Framework version: v7.3.2 UI Type: Angular Database System: MongoDB Tiered (for MVC) or Auth Server Separated (for Angular): Yes Exception message and full stack trace: [Provide any relevant details] Steps to reproduce the issue:

Ok, how can I enable for GET request and only apply for my client?

hi,

I have added a new application to OpenIddict using this URL: domain.com/openiddict/Applications. I successfully used the client ID and client secret to obtain a token. However, when I call the API from Postman with that token, my request is not saved in the audit log. I have enabled audit logging, but it still does not work. Please help me.

ABP Framework version: v7.3.2 UI Type: Angular Database System: MongoDB Tiered (for MVC) or Auth Server Separated (for Angular): Yes Exception message and full stack trace: [Provide any relevant details] Steps to reproduce the issue:

I added the [AllowAnonymous] attribute to the service and it worked! :)))

closed this question

exception is Exception of type 'Volo.Abp.Authorization.AbpAuthorizationException' was thrown. when I call await _partnerService.GetAsync(Guid.NewGuid());

76 प्रविष्टियों में 21 से 30 दिखा रहा है
Made with ❤️ on ABP v8.2.0-preview Updated on मार्च 25, 2024, 15:11