tzssangglass commented on issue #6530:
URL: https://github.com/apache/apisix/issues/6530#issuecomment-1066026455


   > 2  2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] 
limit-count-redis-cluster.lua:57: new_redis_cluster(): issue-6530-P: redis 
server ip : port => 192.168.55.51 : 7001, client: 192.168.44.1, server: _, 
request: "GET / HTTP/1.1", host: "abc.cc"
   >  3 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] 
limit-count-redis-cluster.lua:57: new_redis_cluster(): issue-6530-P: redis 
server ip : port => 192.168.55.52 : 7002, client: 192.168.44.1, server: _, 
request: "GET / HTTP/1.1", host: "abc.cc"
   >  4 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] 
limit-count-redis-cluster.lua:57: new_redis_cluster(): issue-6530-P: redis 
server ip : port => 192.168.55.53 : 7003, client: 192.168.44.1, server: _, 
request: "GET / HTTP/1.1", host: "abc.cc"
   >  5 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] 
limit-count-redis-cluster.lua:57: new_redis_cluster(): issue-6530-P: redis 
server ip : port => 192.168.55.54 : 7004, client: 192.168.44.1, server: _, 
request: "GET / HTTP/1.1", host: "abc.cc"
   >  6 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] 
limit-count-redis-cluster.lua:57: new_redis_cluster(): issue-6530-P: redis 
server ip : port => 192.168.55.55 : 7005, client: 192.168.44.1, server: _, 
request: "GET / HTTP/1.1", host: "abc.cc"
   >  7 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] rediscluster.lua:110: 
try_hosts_slots(): issue-6530-1: loop = 1 ---------------------------, client: 
192.168.44.1, server: _, request: "GET / HTTP/1.1", host: "abc.cc"
   >  8 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] rediscluster.lua:111: 
try_hosts_slots(): issue-6530-1: redis server ip : port => 192.168.55.50 : 
7000, client: 192.168.44.1, server: _, request: "GET / HTTP/1.1", host: "abc.cc"
   >  9 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] rediscluster.lua:110: 
try_hosts_slots(): issue-6530-1: loop = 1 ---------------------------, client: 
192.168.44.1, server: _, request: "GET / HTTP/1.1", host: "abc.cc"
   > 10 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] rediscluster.lua:111: 
try_hosts_slots(): issue-6530-1: redis server ip : port => 192.168.55.50 : 
7000, client: 192.168.44.1, server: _, request: "GET / HTTP/1.1", host: "abc.cc"
   > 11 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] rediscluster.lua:110: 
try_hosts_slots(): issue-6530-1: loop = 1 ---------------------------, client: 
192.168.44.1, server: _, request: "GET / HTTP/1.1", host: "abc.cc"
   > 12 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] rediscluster.lua:111: 
try_hosts_slots(): issue-6530-1: redis server ip : port => 192.168.55.50 : 
7000, client: 192.168.44.1, server: _, request: "GET / HTTP/1.1", host: "abc.cc"
   > 13 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] rediscluster.lua:110: 
try_hosts_slots(): issue-6530-1: loop = 1 ---------------------------, client: 
192.168.44.1, server: _, request: "GET / HTTP/1.1", host: "abc.cc"
   > 14 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] rediscluster.lua:111: 
try_hosts_slots(): issue-6530-1: redis server ip : port => 192.168.55.50 : 
7000, client: 192.168.44.1, server: _, request: "GET / HTTP/1.1", host: "abc.cc"
   > 15 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] rediscluster.lua:110: 
try_hosts_slots(): issue-6530-1: loop = 1 ---------------------------, client: 
192.168.44.1, server: _, request: "GET / HTTP/1.1", host: "abc.cc"
   > 16 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] rediscluster.lua:111: 
try_hosts_slots(): issue-6530-1: redis server ip : port => 192.168.55.50 : 
7000, client: 192.168.44.1, server: _, request: "GET / HTTP/1.1", host: "abc.cc"
   > 17 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] rediscluster.lua:110: 
try_hosts_slots(): issue-6530-1: loop = 1 ---------------------------, client: 
192.168.44.1, server: _, request: "GET / HTTP/1.1", host: "abc.cc"
   > 18 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] rediscluster.lua:111: 
try_hosts_slots(): issue-6530-1: redis server ip : port => 192.168.55.50 : 
7000, client: 192.168.44.1, server: _, request: "GET / HTTP/1.1", host: "abc.cc"
   > 19 2022/03/10 08:14:09 [error] 6395#6395: *509 [lua] limit-count.lua:272: 
phase_func(): failed to limit count: connection refused, client: 192.168.44.1, 
server: _, request: "GET / HTTP/1.1", host: "abc.cc"
   > 20 2022/03/10 08:14:09 [warn] 6395#6395: *509 [lua] plugin.lua:724: 
run_plugin(): limit-count exits with http status code 500, client: 
192.168.44.1, server: _, request: "GET / HTTP/1.1", host: "abc.cc"
   
   I think this log reflects the problem of where `127.0.0.1` is coming from 
(redis solts nodes cache) 
   
   > The list of redis nodes is as follows, but as you can see, the packets I 
catch are trying to go to 127.0.0.1:7000 and similar addresses. I would like to 
repeat that I have this problem only working with redis cluster. I work with 
redis without any problems.
   
   In fact, I used docker to build a redis cluster and found that there was a 
problem with the cluster fleet (I couldn't connect using redis gui). Let's 
first rule out whether the problem is with the redis cluster itself.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to