Open leonardoobaptistaa opened 7 years ago
I am having a lot of trouble making Firehose work.
the em-hiredis is not finding the redis server:
[2017-01-24 16:19:12.337 #10] DEBUG : HTTP GET with last_sequence 0 for path /hi with query "cid=2039" [2017-01-24 16:19:12.339 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnect failed [2017-01-24 16:19:12.340 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnect failed [2017-01-24 16:19:12.340 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnect failed [2017-01-24 16:19:12.840 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnecting [2017-01-24 16:19:12.840 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnecting [2017-01-24 16:19:12.840 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnecting [2017-01-24 16:19:12.841 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnect failed [2017-01-24 16:19:12.841 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnect failed [2017-01-24 16:19:12.841 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnect failed [2017-01-24 16:19:13.341 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnecting [2017-01-24 16:19:13.341 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnecting [2017-01-24 16:19:13.341 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnect failed [2017-01-24 16:19:13.342 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnect failed [2017-01-24 16:19:13.342 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnecting [2017-01-24 16:19:13.342 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnect failed [2017-01-24 16:19:13.842 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnecting [2017-01-24 16:19:13.842 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnecting [2017-01-24 16:19:13.843 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnecting [2017-01-24 16:19:13.843 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnect failed [2017-01-24 16:19:13.843 #10] ERROR : Unexpected error when trying to GET last_sequence 0 for path /hi: #<EventMachine::Hiredis::Error: Redis connection in failed state> [2017-01-24 16:19:13.846 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnect failed [2017-01-24 16:19:13.846 #10] INFO : [em-hiredis 127.0.0.1:6379] Reconnect failed [2017-01-24 16:19:13.847 #10] ERROR : Redis connection in failed state
But redis is running on a docker container and accessible:
redis-cli -h 127.0.0.1 -p 6379 ping PONG
Resulting on:
curl "http://127.0.0.1:7474/hi?cid=2039" curl: (52) Empty reply from server
I tried Firehose version 1.2.13 and 1.3.6, but the em-hiredis gem version is the same.
1.2.13
1.3.6
em-hiredis
I read this: https://github.com/firehoseio/firehose/issues/28 this: https://github.com/firehoseio/firehose/issues/19 and this: https://github.com/mloughran/em-hiredis/issues/24 (mine is not showing ERROR : Use pubsub client )
ERROR : Use pubsub client
No lucky yet
I am having a lot of trouble making Firehose work.
the em-hiredis is not finding the redis server:
But redis is running on a docker container and accessible:
Resulting on:
I tried Firehose version
1.2.13
and1.3.6
, but theem-hiredis
gem version is the same.I read this: https://github.com/firehoseio/firehose/issues/28 this: https://github.com/firehoseio/firehose/issues/19 and this: https://github.com/mloughran/em-hiredis/issues/24 (mine is not showing
ERROR : Use pubsub client
)No lucky yet