redislabs

jedis not releasing connections / jedis leaking connections / jedis connection pool exhausted over time

一笑奈何 提交于 2020-01-25 09:02:34
问题 I've a tomcat server and using jedis client to connect to it. The jedis version I am using is "3.0.0-m1" and tomcat 8.0.15 After connecting and after a few hours I see the below exceptions. Any help on this? redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool Caused by: redis.clients.jedis.exceptions.JedisConnectionException: Failed connecting to host test-1234.catalog.com:1234 Caused by: java.net.UnknownHostException: test-1234.catalog.com:1234 回答1

SSL connectivity to Redis with StackExchange.Redis

冷暖自知 提交于 2020-01-25 08:59:29
问题 I am having a very weird issue with StackExchange.Redis to connect with Redis. I have enabled SSL on Redis database and I am not able to connect from client to Redis server with SSL certificate with below code. static RedisConnectionFactory() { try { string connectionString = "rediscluster:13184"; var options = ConfigurationOptions.Parse(connectionString); options.Password = "PASSWORD"; options.AllowAdmin = true; options.AbortOnConnectFail = false; options.Ssl = true; options.SslHost =