I am transferring clean library 4 to net-core 1.0.0-preview 2
It uses Stackexchange.Redis version 1.2.1 when developing my network library and 1.2.0 for net 4 version.
In net 4, my library was never broken when calling Redis commands.
In net-core, I get this error randomly:
System.TimeoutException: Timeout performing GET netkey, inst: 6, queue: 10, qu: 0, qs: 10, qc: 0, wr: 0, wq: 0, in: 645, ar: 0, clientName: XXXXXX, serverEndpoint: Unspecified/XXXXXXX, keyHashSlot: XXXXX(Please take a look at this article for some common client-side issues that can cause timeouts: https://github.com/StackExchange/StackExchange.Redis/tree/master/Docs/Timeouts.md)
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 StackExchange.Redis.RedisDatabase.StringGet(RedisKey key, CommandFlags flags)
UPDATE I use default configurations (connection timeout, reconnection, etc.)
UPDATE Added keep-alive configuration but still not done
Any ideas?
Jawen source
share