You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My application get io.lettuce.core.RedisCommandTimeoutException almost every day.
After Reading Lettuce Reference, After checking code, monitor and s on, I got this:
Redis server has no crashed/network partition;
There is no slow command,;
Timeout is configured 1000ms, all command finished in 10ms;
There is no Pub/Sub listener or a RedisConnectionStateListener;
The AutoFlushCommands is default value;
RedisCodec is default;
Current Behavior
Application got io.lettuce.core.RedisCommandTimeoutException irregularly.
Unexpeted reconnecting log is output frequently.
Lettuce's debug log is configured. It seems like that Lettuce connecting to redis periodically, and then disconnecting immediately; 38912 and 38918 is normal client port, the others is abnormal. The attchment file is the weird logs. log.txt
I inspected jvm, and I got the ConnectionWatchdog objects from memory.
I changed the timeout to 2 seconds and it no longer had the problem, it looks like a network IO issue, and opening the connection pool may also alleviate the problem
Bug Report
My application get io.lettuce.core.RedisCommandTimeoutException almost every day.
After Reading Lettuce Reference, After checking code, monitor and s on, I got this:
Current Behavior
Application got io.lettuce.core.RedisCommandTimeoutException irregularly.
Unexpeted reconnecting log is output frequently.
Stack trace
Lettuce's debug log is configured. It seems like that Lettuce connecting to redis periodically, and then disconnecting immediately; 38912 and 38918 is normal client port, the others is abnormal. The attchment file is the weird logs.
log.txt
I inspected jvm, and I got the ConnectionWatchdog objects from memory.
Environment
The text was updated successfully, but these errors were encountered: