Hey Luke,
First of thank you. As I can see you made some minor changes in the code.
But as per knowledge the changes you have made will not impact on actual running.
As I have said before I'm running RabbitMQ in Docker container.
Normally it's code runs smoothly without any error but when I give extra load using load testing tool like Locust, it's runs very well but in between sometime it's give error regarding StreamLostError.
From next time onwards, I'll surely submit the code in repository.
Thank you again for your support,
Yash Mistry
04-Apr-23 09:23:57 -- pika.adapters.utils.io_services_utils -- _on_socket_writable -- _AsyncBaseTransport._produce() failed, aborting connection: error=IndexError('pop from
an empty deque'); sock=<socket.socket fd=1077, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.233.72.139', 46224), raddr=('10.9.2.8', 31006)>
; Caller's stack: Traceback (most recent call last):
File "/root/.local/lib/python3.8/site-packages/pika/adapters/utils/io_services_utils.py", line 1103, in _on_socket_writable
self._produce()
File "/root/.local/lib/python3.8/site-packages/pika/adapters/utils/io_services_utils.py", line 822, in _produce
chunk = self._tx_buffers.popleft()
IndexError: pop from an empty deque
Traceback (most recent call last):
File "/root/.local/lib/python3.8/site-packages/pika/adapters/utils/io_services_utils.py", line 1103, in _on_socket_writable
self._produce()
File "/root/.local/lib/python3.8/site-packages/pika/adapters/utils/io_services_utils.py", line 822, in _produce
chunk = self._tx_buffers.popleft()
IndexError: pop from an empty deque
04-Apr-23 09:23:57 -- pika.adapters.base_connection -- _proto_connection_lost -- connection_lost: StreamLostError: ("Stream connection lost: IndexError('pop from an empty d
eque')",)