Exception Error with DNN_LastScheduledPolled
Opened this issue · 0 comments
weschang commented
Hi David,
We've noticed the following exception error is being logged every time a task under DNN Scheduler is run:
2020-09-14 14:40:14,270 [IIS-Server][Thread:64][ERROR] DotNetNuke.Providers.RedisCachingProvider.RedisCachingProvider - Error while trying to store in cache the key DNN_ScheduleLastPolled (Object type: System.DateTime): StackExchange.Redis.RedisServerException: ERR invalid expire time in setex
at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor`1 processor, ServerEndPoint server)
at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor`1 processor, ServerEndPoint server)
at DotNetNuke.Providers.RedisCachingProvider.RedisCachingProvider.Insert(String key, Object value, DNNCacheDependency dependency, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback)
StackExchange.Redis.RedisServerException: ERR invalid expire time in setex
at StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl[T](Message message, ResultProcessor`1 processor, ServerEndPoint server)
at StackExchange.Redis.RedisBase.ExecuteSync[T](Message message, ResultProcessor`1 processor, ServerEndPoint server)
at DotNetNuke.Providers.RedisCachingProvider.RedisCachingProvider.Insert(String key, Object value, DNNCacheDependency dependency, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback)
Given that there are default DNN scheduled task such as Purge Log Buffer that runs every minute, this is quickly filling up the log entries. Can you please advise?
Edit: We are using the latest v3.1, with DNN 9.3.1 and Azure Redis Cache.