We use the Redis Events plugin with an acapy mediator hosted on OpenShift.
2025-07-24 12:28:04,962 redis_events.v1_0.redis_queue.events ERROR Failed to process and send webhook, Redis Cluster cannot be connected. Please provide at least one reachable node: Error 113 connecting to 10.97.23.173:6379. 113.
Traceback (most recent call last):
File "/home/aries/.local/lib/python3.9/site-packages/redis/asyncio/connection.py", line 577, in connect
await self.retry.call_with_retry(
File "/home/aries/.local/lib/python3.9/site-packages/redis/asyncio/retry.py", line 59, in call_with_retry
return await do()
File "/home/aries/.local/lib/python3.9/site-packages/redis/asyncio/connection.py", line 922, in _connect
reader, writer = await asyncio.open_connection(
File "/usr/local/lib/python3.9/asyncio/streams.py", line 52, in open_connection
transport, _ = await loop.create_connection(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1065, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1050, in create_connection
sock = await self._connect_sock(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 961, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 500, in sock_connect
return await fut
File "/usr/local/lib/python3.9/asyncio/futures.py", line 284, in __await__
yield self # This tells Task to wait for completion.
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 328, in __wakeup
future.result()
File "/usr/local/lib/python3.9/asyncio/futures.py", line 201, in result
raise self._exception
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 535, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
OSError: [Errno 113] Connect call failed ('10.97.23.173', 6379)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/aries/.local/lib/python3.9/site-packages/redis/asyncio/cluster.py", line 1197, in initialize
if not (await startup_node.execute_command("INFO")).get(
File "/home/aries/.local/lib/python3.9/site-packages/redis/asyncio/cluster.py", line 1016, in execute_command
await connection.send_packed_command(connection.pack_command(*args), False)
File "/home/aries/.local/lib/python3.9/site-packages/redis/asyncio/connection.py", line 713, in send_packed_command
await self.connect()
File "/home/aries/.local/lib/python3.9/site-packages/redis/asyncio/connection.py", line 585, in connect
raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 113 connecting to 10.97.23.173:6379. 113.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/aries/.local/lib/python3.9/site-packages/redis_events/v1_0/redis_queue/events/__init__.py", line 126, in handle_event
await redis.rpush(
File "/home/aries/.local/lib/python3.9/site-packages/redis/asyncio/cluster.py", line 676, in execute_command
await self.initialize()
File "/home/aries/.local/lib/python3.9/site-packages/redis/asyncio/cluster.py", line 383, in initialize
await self.nodes_manager.initialize()
File "/home/aries/.local/lib/python3.9/site-packages/redis/asyncio/cluster.py", line 1291, in initialize
raise RedisClusterException(
redis.exceptions.RedisClusterException: Redis Cluster cannot be connected. Please provide at least one reachable node: Error 113 connecting to 10.97.23.173:6379. 113.
We use the Redis Events plugin with an acapy mediator hosted on OpenShift.
Observations:
Example connection error: