all of a sudden can't connect to redis (localhost) from python code....

1,883 views
Skip to first unread message

SirVon Thomas

unread,
Sep 26, 2013, 3:15:24 AM9/26/13
to redi...@googlegroups.com
    r.rpoplpush("1.loqoo.tv.queue", "1.loqoo.tv.nowplaying")
  File "/Library/Python/2.7/site-packages/redis/client.py", line 974, in rpoplpush
    return self.execute_command('RPOPLPUSH', src, dst)
  File "/Library/Python/2.7/site-packages/redis/client.py", line 381, in execute_command
    connection.send_command(*args)
  File "/Library/Python/2.7/site-packages/redis/connection.py", line 304, in send_command
    self.send_packed_command(self.pack_command(*args))
  File "/Library/Python/2.7/site-packages/redis/connection.py", line 286, in send_packed_command
    self.connect()
  File "/Library/Python/2.7/site-packages/redis/connection.py", line 234, in connect
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 8 connecting localhost:6379. nodename nor servname provided, or not known.



WHAT GIVES?

was working then all of a sudden....it's broke.

Yiftach Shoolman

unread,
Sep 26, 2013, 9:32:53 AM9/26/13
to redi...@googlegroups.com, redi...@googlegroups.com
Can you provide the output of your Redis 'info' and 'slowlog get'

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at http://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/groups/opt_out.

Олег Пустовалов

unread,
Jan 9, 2023, 6:45:49 AM1/9/23
to Redis DB

How did you solve this problem? We really need your help!
четверг, 26 сентября 2013 г. в 16:32:53 UTC+3, Yiftach:

Dvir Volk

unread,
Jan 11, 2023, 6:47:00 PM1/11/23
to redi...@googlegroups.com
IIRC this problem usually stems from leaking connections and not reusing them in the pool.

Reply all
Reply to author
Forward
0 new messages