Redis : Failed to fetch redis info for keyspaces: read tcp xxx->xxx i/o timeout

Hi ,

I am trying to use metricbeat (version 7.12.1) module for Redis.
Redis cluster is managed AWS ElastiCache.

Here is config:

I am getting below errors:
2022-03-09T03:06:12.709Z ERROR redis/redis.go:70 Error retrieving INFO stats: read tcp 192.168.59.219:39884->192.168.168.181:6379: i/o timeout

2022-03-09T03:06:12.709Z INFO module/wrapper.go:259 Error fetching data for metricset redis.info: failed to fetch redis info: read tcp 192.168.59.219:39884->192.168.168.181:6379: i/o timeout

2022-03-09T03:06:12.710Z ERROR redis/redis.go:70 Error retrieving INFO stats: read tcp 192.168.59.219:39886->192.168.168.181:6379: i/o timeout

2022-03-09T03:06:12.710Z INFO module/wrapper.go:259 Error fetching data for metricset redis.keyspace: Failed to fetch redis info for keyspaces: read tcp 192.168.59.219:39886->192.168.168.181:6379: i/o timeout

However I can telnet from node where metricbeat is running to Redis clustercfg.sandboxXXXXXX.amazonaws.com 6379.

Any suggestion on what could be the reason?

Thanks!

1 Like

Hi @masyutka!

when you tried to telnet was clustercfg.sandboxXXXXXX.amazonaws.com resolved to the same IP as in error logs - 192.168.168.181?
did you try to telnet directly to IP?

IP 192.168.59.219 is it IP of the node, where you tried to telnet from?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.