Unable to connect Redis

java.net.ConnectException
Javadoc
Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the connection was refused remotely (e.g., no process is listening on the remote address/port). @since JDK1.1
at java.net.PlainSocketImpl.socketConnect
(source)
at java.net.AbstractPlainSocketImpl.doConnect
(source)
at java.net.AbstractPlainSocketImpl.connectToAddress
(source)
at java.net.AbstractPlainSocketImpl.connect
(source)
at java.net.SocksSocketImpl.connect
(source)
at java.net.Socket.connect
(source)
at redis.clients.jedis.Connection.connect
(source)
6 frames hidden

Typical Exception Messages

  1. Could not get a resource from the pool
  2. Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  3. java.net.ConnectException: Connection refused
  4. java.net.ConnectException: Connection refused (Connection refused)
  5. Connection refused
  6. Failed to load ApplicationContext
  7. java.net.ConnectException: Cannot assign requested address
  8. Could not get resource from the pool
  9. 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
  10. Error creating bean with name 'enableRedisKeyspaceNotificationsInitializer' defined in class org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration: 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

Java Runtime cannot connect a network socket

java.net.ConnectException
5 frames hidden
java.net.Socket.connect
1885Web pages
1Solution

Similar

Specific cases

External results for this pattern (33)

  1. PabloL007via GitHub3 days ago
    Connection refused (Connection refused)
    Show stack trace
  2. simon-brookevia GitHub1 week ago
    Failed to load ApplicationContext
    Show stack trace
  3. hongwei1via GitHub4 weeks ago
    Could not get a resource from the pool
    Show stack trace
  4. ptahchievvia GitHub2 months ago
    Could not get a resource from the pool
    Show stack trace
  5. afroDCvia GitHub3 months ago
    java.net.ConnectException: Connection refused (Connection refused)
    Show stack trace
  6. baozheliuvia GitHub4 months ago
    Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
    Show stack trace
  7. Amnorvia Stack Overflow4 months ago
    redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
    Show stack trace
  8. odediavia Stack Overflow4 months ago
    Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
    Show stack trace
  9. Ravivia Stack Overflow4 months ago
    Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
    Show stack trace
  10. BruceZuvia GitHub4 months ago
    Error creating bean with name 'workerPool' defined in class com.netflix.spinnaker.orca.config.JesqueConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.lariverosc.jesquespring.SpringWorkerPool]: Factory method 'workerPool' threw exception; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused (Connection refused) [root@k8s-09 ~]# kubectl logs spin-clouddriver-v000-tnkze --namespace=spinnaker ...... redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
    Show stack trace