Hi
Latly we have been noticing this error showing in our logs, doesn’t cause any major issues i think hangfire will just retry and starts to work but would like to know if anyone seen any similar issues, why its happening and if anyone has a solution. Unfortunately i cannot replicate at will just randomly happens.
Error Message:
Error occurred during execution of ‘ServerWatchdog’ process. Execution will be retried (attempt #3) in 00:00:09 seconds.
Exception message:
Safe handle has been closed
Stack Trace:
at System.Threading.WaitHandle.WaitOneNative(SafeHandle waitableSafeHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext) at System.Threading.WaitHandle.InternalWaitOne(SafeHandle waitableSafeHandle, Int64 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext) at System.Threading.WaitHandle.WaitOne(TimeSpan timeout, Boolean exitContext) at System.Threading.WaitHandle.WaitOne(TimeSpan timeout) at Hangfire.Pro.Redis.RedisStorage.GetDatabase() at Hangfire.Pro.Redis.RedisConnection.RemoveTimedOutServers(TimeSpan timeOut) at Hangfire.Server.ServerWatchdog.Execute(BackgroundProcessContext context) at Hangfire.Server.AutomaticRetryProcess.Execute(BackgroundProcessContext context)