Redis connection timed out on a dual (IPV4/IPV6) socket

java.net.SocketTimeoutException
Javadoc
at java.net.DualStackPlainSocketImpl.waitForConnect
at java.net.DualStackPlainSocketImpl.socketConnect
at java.net.AbstractPlainSocketImpl.doConnect
(source)
at java.net.AbstractPlainSocketImpl.connectToAddress
(source)
at java.net.AbstractPlainSocketImpl.connect
(source)
at java.net.PlainSocketImpl.connect
(source)
at java.net.SocksSocketImpl.connect
(source)
at java.net.Socket.connect
(source)
at redis.clients.jedis.Connection.connect
(source)
redis.clients.jedis.exceptions.JedisConnectionException
Javadoc
at redis.clients.jedis.Connection.connect
(source)
at redis.clients.jedis.BinaryClient.connect
(source)
at redis.clients.jedis.BinaryJedis.connect
(source)
11 frames hidden

Typical Exception Messages

  1. Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  2. Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in class path resource [org/springframework/session/data/redis/config/annotation/web/http/RedisHttpSessionConfiguration.class]: Invocation of init method failed; nested exception is org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool

Origin

Binary Jedis connection timed out

java.net.SocketTimeoutException
10 frames hidden
redis.clients.jedis.BinaryClient.connect
11Web pages

Similar

Specific cases

External results for this pattern (1)

  1. zlxlsvia GitHub8 months ago
    Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in class path resource [org/springframework/session/data/redis/config/annotation/web/http/RedisHttpSessionConfiguration.class]: Invocation of init method failed; nested exception is org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
    Show stack trace