Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception Error with DNN_LastScheduledPolled #39

Open
weschang opened this issue Sep 15, 2020 · 0 comments
Open

Exception Error with DNN_LastScheduledPolled #39

weschang opened this issue Sep 15, 2020 · 0 comments

Comments

@weschang
Copy link

weschang commented Sep 15, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant