allianceauth-discordbot==3.8.1 is throwing the following error with both redis==4.6.0 and redis==5.0.8.
==> myauth/log/discordbot.log <==
ERROR:root:
Traceback (most recent call last):
File "/home/ppfeufer/Development/Python/AllianceAuth/venv/lib/python3.12/site-packages/kombu/transport/virtual/base.py", line 997, in drain_events
get(self._deliver, timeout=timeout)
File "/home/ppfeufer/Development/Python/AllianceAuth/venv/lib/python3.12/site-packages/kombu/transport/redis.py", line 597, in get
raise Empty()
_queue.Empty
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/sda1/Development/Python/AllianceAuth/allianceauth-discordbot/aadiscordbot/bot.py", line 317, in poll_queue
self.message_connection.drain_events(timeout=0.01)
File "/home/ppfeufer/Development/Python/AllianceAuth/venv/lib/python3.12/site-packages/kombu/connection.py", line 341, in drain_events
return self.transport.drain_events(self.connection, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ppfeufer/Development/Python/AllianceAuth/venv/lib/python3.12/site-packages/kombu/transport/virtual/base.py", line 1000, in drain_events
raise socket.timeout()
TimeoutError
allianceauth-discordbot==3.8.1
is throwing the following error with bothredis==4.6.0
andredis==5.0.8
.Happens with Python 3.11 and 3.12.