Cannot connect to redis
wirehack7 opened this issue · 2 comments
wirehack7 commented
When I start Celery I get this error:
-------------- celery@*****.com v3.1.13 (Cipater)
---- **** -----
--- * *** * -- Linux-3.2.0-4-amd64-x86_64-with-debian-7.9
-- * - **** ---
- ** ---------- [config]
- ** ---------- .> app: sketchy:0x20e1b10
- ** ---------- .> transport: redis://localhost:6379//
- ** ---------- .> results: redis://localhost:6379
- *** --- * --- .> concurrency: 2 (prefork)
-- ******* ----
--- ***** ----- [queues]
-------------- .> celery exchange=celery(direct) key=celery
[2015-11-20 18:18:08,590: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error while reading from socket: (104, 'Connection reset by peer').
Trying again in 2.00 seconds...
[2015-11-20 18:18:38,365: ERROR/MainProcess] consumer: Cannot connect to redis://localhost:6379//: Error while reading from socket: (104, 'Connection reset by peer').
Trying again in 4.00 seconds...
How to resolve that?
sbehrens commented
hi @wirehack7 , can you send me the output of the following commands:
ps aux | grep redis
ps aux | grep python
sudo netstat -tlpn
sbehrens commented
hi @wirehack7, closing this issue. If you are still having problems, please re-open and send me the output of the commands listed above.
Thanks