Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redis.clients.jedis.exceptions.JedisException: Proxy list empty #29

Closed
misen opened this issue Oct 14, 2016 · 1 comment
Closed

redis.clients.jedis.exceptions.JedisException: Proxy list empty #29

misen opened this issue Oct 14, 2016 · 1 comment

Comments

@misen
Copy link

misen commented Oct 14, 2016

  1. 下面是 jodis 客服端代码:

    JedisResourcePool jedisPool = RoundRobinJedisPool.create()
    .curatorClient("172.16.100.40:2181", 30000).zkProxyDir("/zk/codis/TEST/proxy").build();
    try (Jedis jedis = jedisPool.getResource()) {
    jedis.set("foo", "bar");
    String value = jedis.get("foo");
    System.out.println(value);
    }

  2. 下面是异常:

    redis.clients.jedis.exceptions.JedisException: Proxy list empty
    

    at io.codis.jodis.RoundRobinJedisPool.getResource(RoundRobinJedisPool.java:199)

@spinlock
Copy link
Member

#28

@Apache9 Apache9 closed this as completed Mar 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants