may be hard to replicate, but when this occurred, I started the agent and let it idle for like 10 minutes. When I tried to provide human feedback, it crashed with the following
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/redis/connection.py", line 865, in read_response
response = self._parser.read_response(disable_decoding=disable_decoding)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/redis/connection.py", line 346, in read_response
result = self._read_response(disable_decoding=disable_decoding)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/redis/connection.py", line 356, in _read_response
raw = self._buffer.readline()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/redis/connection.py", line 259, in readline
self._read_from_socket()
File "/usr/local/lib/python3.11/site-packages/redis/connection.py", line 209, 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 "/app/main.py", line 423, in <module>
memory.add(memory_to_add)
File "/app/memory/redismem.py", line 86, in add
pipe.execute()
File "/usr/local/lib/python3.11/site-packages/redis/client.py", line 2109, in execute
return conn.retry.call_with_retry(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/redis/retry.py", line 49, in call_with_retry
fail(error)
File "/usr/local/lib/python3.11/site-packages/redis/client.py", line 2111, in <lambda>
lambda error: self._disconnect_raise_reset(conn, error),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/redis/retry.py", line 46, in call_with_retry
return do()
^^^^
File "/usr/local/lib/python3.11/site-packages/redis/client.py", line 2110, in <lambda>
lambda: execute(conn, stack, raise_on_error),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/redis/client.py", line 1964, in _execute_transaction
self.parse_response(connection, "_")
File "/usr/local/lib/python3.11/site-packages/redis/client.py", line 2049, in parse_response
result = Redis.parse_response(self, connection, command_name, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/redis/client.py", line 1275, in parse_response
response = connection.read_response()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/redis/connection.py", line 871, in read_response
raise ConnectionError(
redis.exceptions.ConnectionError: Error while reading from host.docker.internal:6379 : (104, 'Connection reset by peer')
Current behavior 😯
No response
Expected behavior 🤔
Redis server is running. No errors on that end. Expect this not to happen, or when it happens, reestablish the connection.
Duplicates
Steps to reproduce 🕹
may be hard to replicate, but when this occurred, I started the agent and let it idle for like 10 minutes. When I tried to provide
human feedback
, it crashed with the followingCurrent behavior 😯
No response
Expected behavior 🤔
Redis server is running. No errors on that end. Expect this not to happen, or when it happens, reestablish the connection.
Your prompt 📝