jhao104/proxy_pool

用docker启动提示了这个错误请问是为什么?

Open

#402 ouverte le 10 déc. 2019

Voir sur GitHub
 (6 commentaires) (0 réactions) (0 assignés)Python (4 936 forks)batch import
help wanted

Métriques du dépôt

Stars
 (20 037 stars)
Métriques de merge PR
 (Merge moyen 7m) (6 PRs mergées en 30 j)

Description

是一个小白,他提示了 for _proxy in pm.db.getAll(): File "../DB/DbClient.py", line 102, in getAll return self.client.getAll() File "/usr/src/app/DB/RedisClient.py", line 107, in getAll item_dict = self.__conn.hgetall(self.name) File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 2717, in hgetall return self.execute_command('HGETALL', name) File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 836, in execute_command conn = self.connection or pool.get_connection(command_name, **options) File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 1224, in get_connection connection.connect() File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 544, in connect raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:6379. Connection refused. 一直在报错。请问怎么解决 谢谢

Guide contributeur