# Logstash.inputs.redis - Redis connection problem

**URL:** <https://discuss.elastic.co/t/logstash-inputs-redis-redis-connection-problem/130207>\
**Category:** Logstash\
**Created:** [May 2, 2018, 8:03am UTC](https://discuss.elastic.co/t/logstash-inputs-redis-redis-connection-problem/130207 "2018-05-02T08:03:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gaurav\_Agarwal](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@Gaurav\_Agarwal](https://discuss.elastic.co/u/Gaurav_Agarwal)\
**Post date:** [May 2, 2018, 8:03am UTC](https://discuss.elastic.co/t/logstash-inputs-redis-redis-connection-problem/130207/1 "2018-05-02T08:03:45Z")

</div>

Hello

I am using redis-server to queue my data which is sent from the logstash shipper. From the redis queue the logstash indexers picks the data.  
But for some reason after some time again and again there is a connection refuse error between logstash and redis.

The shipper error log:  
07:50:24.781 [[main]\>worker2] WARN logstash.outputs.redis - Failed to send event to Redis

The indexer error log:  
07:50:51.177 [[main]\<redis] WARN logstash.inputs.redis - Redis connection problem {:exception=\>#\<Redis::CannotConnectError: Error connecting to Redis on host (Errno::ECONNREFUSED)\>}

Please let me know what should I do to solve this.

Regards  
Gaurav

---

<div class="post-metadata">

**Author:** ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)\
**Post date:** [May 4, 2018, 3:02pm UTC](https://discuss.elastic.co/t/logstash-inputs-redis-redis-connection-problem/130207/2 "2018-05-04T15:02:38Z")

</div>

It looks like your Redis is broken.

---

<div class="post-metadata">

**Author:** ![Gaurav\_Agarwal](https://avatars.discourse-cdn.com/v4/letter/g/9fc29f/32.png) [@Gaurav\_Agarwal](https://discuss.elastic.co/u/Gaurav_Agarwal)\
**Post date:** [May 9, 2018, 3:02pm UTC](https://discuss.elastic.co/t/logstash-inputs-redis-redis-connection-problem/130207/3 "2018-05-09T15:02:19Z")

</div>

Is there a maximum limit of redis

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 6, 2018, 3:02pm UTC](https://discuss.elastic.co/t/logstash-inputs-redis-redis-connection-problem/130207/4 "2018-06-06T15:02:25Z")

</div>

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