ERROR redis connection error
- Dominant language
- Python
- Stars
- 23.7k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
2022-10-10 22:59:23,812 redisClient.py[line:149] ERROR redis connection error: Error while reading from 127.0.0.1:6379 : (104, 'Connection reset by peer')
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 824, in read_response
response = self._parser.read_response(disable_decoding=disable_decoding)
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 318, in read_response
raw = self._buffer.readline()
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 249, in readline
self._read_from_socket()
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 192, in _read_from_socket
data = self._sock.recv(socket_read_size)
ConnectionResetError: [Errno 104] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/proxy_pool/db/redisClient.py", line 144, in test
self.getCount()
File "/root/proxy_pool/db/redisClient.py", line 130, in getCount
proxies = self.getAll(https=False)
File "/root/proxy_pool/db/redisClient.py", line 112, in getAll
items = self.__conn.hvals(self.name)
File "/usr/local/lib/python3.6/site-packages/redis/commands/core.py", line 4887, in hvals
return self.execute_command("HVALS", name)
File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 1235, 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 1582, in get_connection
connection.connect()
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 623, in connect
self.on_connect()
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 713, in on_connect
auth_response = self.read_response()
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 830, in read_response
raise ConnectionError(f"Error while reading from {hosterr}" f" : {e.args}")
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:6379 : (104, 'Connection reset by peer')
2022-10-10 22:59:23,827 launcher.py[line:39] INFO exit!
2022-10-10 22:59:23,816 redisClient.py[line:149] ERROR redis connection error: Error while reading from 127.0.0.1:6379 : (104, 'Connection reset by peer')
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 824, in read_response
response = self._parser.read_response(disable_decoding=disable_decoding)
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 318, in read_response
raw = self._buffer.readline()
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 249, in readline
self._read_from_socket()
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 192, in _read_from_socket
data = self._sock.recv(socket_read_size)
ConnectionResetError: [Errno 104] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/proxy_pool/db/redisClient.py", line 144, in test
self.getCount()
File "/root/proxy_pool/db/redisClient.py", line 130, in getCount
proxies = self.getAll(https=False)
File "/root/proxy_pool/db/redisClient.py", line 112, in getAll
items = self.__conn.hvals(self.name)
File "/usr/local/lib/python3.6/site-packages/redis/commands/core.py", line 4887, in hvals
return self.execute_command("HVALS", name)
File "/usr/local/lib/python3.6/site-packages/redis/client.py", line 1235, 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 1582, in get_connection
connection.connect()
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 623, in connect
self.on_connect()
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 713, in on_connect
auth_response = self.read_response()
File "/usr/local/lib/python3.6/site-packages/redis/connection.py", line 830, in read_response
raise ConnectionError(f"Error while reading from {hosterr}" f" : {e.args}")
redis.exceptions.ConnectionError: Error while reading from 127.0.0.1:6379 : (104, 'Connection reset by peer')
2022-10-10 22:59:23,842 launcher.py[line:39] INFO exit!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.