Slackbot
05/01/2023, 7:55 PMOr Weis
05/01/2023, 8:00 PMOr Weis
05/01/2023, 8:05 PMJake Youssefzadeh
05/01/2023, 8:16 PMOr Weis
05/01/2023, 8:20 PMJake Youssefzadeh
05/01/2023, 8:24 PMJake Youssefzadeh
05/01/2023, 8:24 PMOr Weis
05/01/2023, 8:31 PMJake Youssefzadeh
05/01/2023, 8:42 PMRo'e Katz
05/01/2023, 8:54 PMJake Youssefzadeh
05/02/2023, 7:26 AMJake Youssefzadeh
05/02/2023, 7:26 AMJake Youssefzadeh
06/01/2023, 3:38 AMJake Youssefzadeh
06/01/2023, 3:54 AMOr Weis
06/01/2023, 3:57 AMJake Youssefzadeh
06/01/2023, 4:03 AMRo'e Katz
06/01/2023, 10:24 AMJake Youssefzadeh
06/01/2023, 4:14 PMRo'e Katz
06/01/2023, 5:46 PMHeng Tan
06/08/2023, 9:06 PMConnection reset by peer
rather than websocket.close
) :
Failed to notify subscriber sub_id=1f5dcc7db5304c8ba96e663090af6c41 with topic=sampleTopicβ[0m
β[33mβ[1mTraceback (most recent call last):β[0m
File "/usr/local/bin/gunicorn", line 33, in <module>
sys.exit(load_entry_point('gunicorn==20.1.0', 'console_scripts', 'gunicorn')())
β β β <function importlib_load_entry_point at 0x7fd4717b2e60>
β β <built-in function exit>
β <module 'sys' (built-in)>
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 67, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
β <class 'gunicorn.app.wsgiapp.WSGIApplication'>
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 231, in run
super().run()
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 72, in run
Arbiter(self).run()
β β <gunicorn.app.wsgiapp.WSGIApplication object at 0x7fd471793ee0>
β <class 'gunicorn.arbiter.Arbiter'>
File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 202, in run
self.manage_workers()
β β <function Arbiter.manage_workers at 0x7fd470c93250>
β <gunicorn.arbiter.Arbiter object at 0x7fd47139dff0>
File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 551, in manage_workers
self.spawn_workers()
β β <function Arbiter.spawn_workers at 0x7fd470c93370>
β <gunicorn.arbiter.Arbiter object at 0x7fd47139dff0>
File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 622, in spawn_workers
self.spawn_worker()
β β <function Arbiter.spawn_worker at 0x7fd470c932e0>
β <gunicorn.arbiter.Arbiter object at 0x7fd47139dff0>
File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
worker.init_process()
β β <function UvicornWorker.init_process at 0x7fd46f28a050>
β <uvicorn.workers.UvicornWorker object at 0x7fd46d727940>
File "/usr/local/lib/python3.10/site-packages/uvicorn/workers.py", line 66, in init_process
super(UvicornWorker, self).init_process()
β β <uvicorn.workers.UvicornWorker object at 0x7fd46d727940>
β <class 'uvicorn.workers.UvicornWorker'>
File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 142, in init_process
self.run()
β β <function UvicornWorker.run at 0x7fd46f28a290>
β <uvicorn.workers.UvicornWorker object at 0x7fd46d727940>
File "/usr/local/lib/python3.10/site-packages/uvicorn/workers.py", line 98, in run
return asyncio.run(self._serve())
β β β β <function UvicornWorker._serve at 0x7fd46f28a200>
β β β <uvicorn.workers.UvicornWorker object at 0x7fd46d727940>
β β <function run at 0x7fd470825d80>
β <module 'asyncio' from '/usr/local/lib/python3.10/asyncio/__init__.py'>
File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
β β β <coroutine object UvicornWorker._serve at 0x7fd46d4dad50>
β β <method 'run_until_complete' of 'uvloop.loop.Loop' objects>
β <uvloop.Loop running=True closed=False debug=False>
> File "/usr/local/lib/python3.10/site-packages/fastapi_websocket_pubsub/event_notifier.py", line 220, in callback_subscribers
await self.trigger_callback(data, topic, subscriber_id, event)
β β β β β β Subscription(id='1eb80928fa9744d2a354449ee611c35c', subscriber_id='1f5dcc7db5304c8ba96e663090af6c41', topic='sampleTopic',...
β β β β β '1f5dcc7db5304c8ba96e663090af6c41'
β β β β 'sampleTopic'
β β β DataUpdate(id='e6fbd2a4-17cb-4e38-90ac-466b1ac34dfa', entries=[DataSourceEntry(url='<http://my-test-url>....
β β <function EventNotifier.trigger_callback at 0x7fd46ed1ee60>
β <fastapi_websocket_pubsub.websocket_rpc_event_notifier.WebSocketRpcEventNotifier object at 0x7fd46d4df7c0>
File "/usr/local/lib/python3.10/site-packages/fastapi_websocket_pubsub/event_notifier.py", line 178, in trigger_callback
await subscription.callback(subscription, data)
β β β β DataUpdate(id='e6fbd2a4-17cb-4e38-90ac-466b1ac34dfa', entries=[DataSourceEntry(url='<http://my-test-url>....
β β β Subscription(id='1eb80928fa9744d2a354449ee611c35c', subscriber_id='1f5dcc7db5304c8ba96e663090af6c41', topic='sampleTopic',...
β β <bound method EventBroadcaster.__broadcast_notifications__ of <fastapi_websocket_pubsub.event_broadcaster.EventBroadcaster ob...
β Subscription(id='1eb80928fa9744d2a354449ee611c35c', subscriber_id='1f5dcc7db5304c8ba96e663090af6c41', topic='sampleTopic',...
File "/usr/local/lib/python3.10/site-packages/fastapi_websocket_pubsub/event_broadcaster.py", line 160, in __broadcast_notifications__
await self._sharing_broadcast_channel.publish(self._channel, note.json())
β β β β β β β <cyfunction BaseModel.json at 0x7fd46fef3510>
β β β β β β BroadcastNotification(notifier_id='1f5dcc7db5304c8ba96e663090af6c41', topics=['sampleTopic'], data=DataUpdate(id='e6fbd2a4...
β β β β β 'EventNotifier'
β β β β <fastapi_websocket_pubsub.event_broadcaster.EventBroadcaster object at 0x7fd46d4df880>
β β β <function Broadcast.publish at 0x7fd46ed1f880>
β β <broadcaster._base.Broadcast object at 0x7fd46d41c370>
β <fastapi_websocket_pubsub.event_broadcaster.EventBroadcaster object at 0x7fd46d4df880>
File "/usr/local/lib/python3.10/site-packages/broadcaster/_base.py", line 87, in publish
await self._backend.publish(channel, message)
β β β β β '{"notifier_id": "1f5dcc7db5304c8ba96e663090af6c41", "topics": ["sampleTopic"], "data": {"id": "e6fbd2a4-17cb-4e38-90ac-46...
β β β β 'EventNotifier'
β β β <function RedisBackend.publish at 0x7fd46c8ff7f0>
β β <broadcaster._backends.redis.RedisBackend object at 0x7fd46d41cac0>
β <broadcaster._base.Broadcast object at 0x7fd46d41c370>
File "/usr/local/lib/python3.10/site-packages/broadcaster/_backends/redis.py", line 34, in publish
await self._pub_conn.publish(channel, message)
β β β β '{"notifier_id": "1f5dcc7db5304c8ba96e663090af6c41", "topics": ["sampleTopic"], "data": {"id": "e6fbd2a4-17cb-4e38-90ac-46...
β β β 'EventNotifier'
β β Connection(host='<http://dt-pgmdev-redis.redis.cache.windows.net|dt-pgmdev-redis.redis.cache.windows.net>', port=6380)
β <broadcaster._backends.redis.RedisBackend object at 0x7fd46d41cac0>
File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 661, in wrapper
result = await method(protocol_self, _NoTransaction, *a, **kw)
β β β β ('EventNotifier', '{"notifier_id": "1f5dcc7db5304c8ba96e663090af6c41", "topics": ["sampleTopic"], "data": {"id": "e6fbd2a4...
β β β <asyncio_redis.protocol._NoTransactionType object at 0x7fd46ca5afb0>
β β <asyncio_redis.protocol.RedisProtocol object at 0x7fd46c94a5f0>
β <function RedisProtocol.publish at 0x7fd46ca99b40>
File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 1153, in _query
result = await self._get_answer(
β β <function RedisProtocol._get_answer at 0x7fd46ca89c60>
β <asyncio_redis.protocol.RedisProtocol object at 0x7fd46c94a5f0>
File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 1080, in _get_answer
result = await answer_f
β <Future finished exception=ConnectionLostError(ConnectionResetError(104, 'Connection reset by peer'))>
Or Weis
06/08/2023, 9:28 PMRo'e Katz
06/09/2023, 12:33 PMHeng Tan
06/09/2023, 12:54 PM[32m2023-06-09T12:35:30.054783+0000[0m | [34masyncio_redis.protocol [0m|[1m INFO | Connection lost with exec: [Errno 104] Connection reset by peer[0m
[32m2023-06-09T12:35:30.054917+0000[0m | [34masyncio_redis.protocol [0m|[1m INFO | Connection lost with exec: [Errno 104] Connection reset by peer[0m
[32m2023-06-09T12:35:30.055842+0000[0m | [34masyncio_redis.protocol [0m|[1m INFO | Redis connection lost[0m
[32m2023-06-09T12:35:30.056104+0000[0m | [34masyncio_redis.protocol [0m|[1m INFO | Connection lost with exec: [Errno 104] Connection reset by peer[0m
[32m2023-06-09T12:35:30.056467+0000[0m | [34masyncio_redis.connection [0m|[1m INFO | Connecting to redis[0m
it doesn't look like its a normal behaviourRo'e Katz
06/09/2023, 12:57 PMHeng Tan
06/09/2023, 1:09 PMHeng Tan
06/12/2023, 9:04 AM2023-06-12T08:50:23.462496+0000 | 9 | asyncio_redis.protocol | INFO | EOF received in RedisProtocol
2023-06-12T08:50:23.462738+0000 | 10 | asyncio_redis.protocol | INFO | EOF received in RedisProtocol
2023-06-12T08:50:23.463164+0000 | 9 | asyncio_redis.protocol | INFO | Redis connection lost
2023-06-12T08:50:23.463312+0000 | 10 | asyncio_redis.protocol | INFO | Redis connection lost
2023-06-12T08:50:23.463787+0000 | 10 | asyncio_redis.connection | INFO | Connecting to redis
2023-06-12T08:50:23.463856+0000 | 9 | asyncio_redis.connection | INFO | Connecting to redis
2023-06-12T08:50:23.506188+0000 | 9 | asyncio_redis.protocol | INFO | Redis connection made
2023-06-12T08:50:23.510307+0000 | 10 | asyncio_redis.protocol | INFO | Redis connection made
2023-06-12T08:50:29.244720+0000 | 9 | asyncio_redis.protocol | INFO | EOF received in RedisProtocol
2023-06-12T08:50:29.245040+0000 | 9 | asyncio_redis.protocol | INFO | Redis connection lost
2023-06-12T08:50:29.245355+0000 | 9 | asyncio_redis.connection | INFO | Connecting to redis
2023-06-12T08:50:29.288743+0000 | 9 | asyncio_redis.protocol | INFO | Redis connection made
Heng Tan
06/12/2023, 9:06 AM<rediss://password@redis-host-name:6380>
. Do I need to specify anything in the connection string to let it Redis driver know that its a TLS is enabled on Redis side? I notice that this is how its done in redis-py : https://redis-py.readthedocs.io/en/stable/examples/ssl_connection_examples.html. But i notice broadcaster is using asyncio_redis which doesn't really mentioned if its support TLS / SSL ConnectionRo'e Katz
06/12/2023, 11:48 AMHeng Tan
06/12/2023, 12:13 PMHeng Tan
06/12/2023, 7:48 PM2023-06-12T19:21:47.845851+0000 | 10 | fastapi_websocket_pubsub.event_notifier | INFO | New subscription {'id': 'c74ecf060f76434eab5b459d89e6c3de', 'subscriber_id': '7f0610cc0edd404190a6f4dbc7b16e4f', 'topic': 'userPermission', 'callback': <function RpcEventServerMethods.subscribe.<locals>.callback at 0x7f7d6036a290>, 'notifier_id': None}
2023-06-12T19:21:47.877262+0000 | 10 | asyncio_redis.protocol | INFO | Redis connection made
2023-06-12T19:21:47.913409+0000 | 9 | uvicorn.protocols.http.httptools_impl | INFO | 192.168.112.8:52514 - "GET /policy?path=. HTTP/1.1" 503
2023-06-12T19:21:47.927722+0000 | 8 | opal_server.data.api | INFO | Source configuration is available at '<http://aecom-pgm-security-opaldatasync/opalsource/v1>', redirecting with token=eyJhb...lzKvg (abbrv.)
2023-06-12T19:21:47.928426+0000 | 8 | uvicorn.protocols.http.httptools_impl | INFO | 192.168.112.8:52518 - "GET /data/config HTTP/1.1" 307
2023-06-12T19:21:48.777394+0000 | 9 | uvicorn.protocols.http.httptools_impl | INFO | 192.168.112.8:52526 - "GET /policy?path=. HTTP/1.1" 503
2023-06-12T19:21:49.997220+0000 | 9 | uvicorn.protocols.http.httptools_impl | INFO | 192.168.112.8:52532 - "GET /policy?path=. HTTP/1.1" 503
2023-06-12T19:21:52.847305+0000 | 9 | uvicorn.protocols.http.httptools_impl | INFO | 192.168.112.8:52534 - "GET /policy?path=. HTTP/1.1" 503
2023-06-12T19:21:53.753826+0000 | 9 | uvicorn.protocols.http.httptools_impl | INFO | 192.168.112.8:52538 - "GET /policy?path=. HTTP/1.1" 503
2023-06-12T19:22:37.665634+0000 | 10 | asyncio_redis.protocol | INFO | EOF received in RedisProtocol
2023-06-12T19:22:37.666739+0000 | 10 | asyncio_redis.protocol | INFO | EOF received in RedisProtocol
2023-06-12T19:22:37.669608+0000 | 10 | asyncio_redis.protocol | INFO | Redis connection lost
2023-06-12T19:22:37.673117+0000 | 10 | asyncio_redis.protocol | INFO | Redis connection lost
2023-06-12T19:22:37.675849+0000 | 10 | asyncio.runners |ERROR | Task exception was never retrieved
future: <Task finished name='Task-16' coro=<RedisProtocol.connection_made.<locals>.initialize() done, defined at /usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py:836> exception=ConnectionLostError(None)>
Traceback (most recent call last):
> File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 839, in initialize
await self.auth(self.password)
β β β β '<redis password>'
β β β <asyncio_redis.protocol.RedisProtocol object at 0x7f7d602f6a10>
β β <function RedisProtocol.auth at 0x7f7d602fae60>
β <asyncio_redis.protocol.RedisProtocol object at 0x7f7d602f6a10>
File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 661, in wrapper
result = await method(protocol_self, _NoTransaction, *a, **kw)
β β β β β {}
β β β β ('omB7xbxhMDWboF8redissG1t8Mm8Gc0hkenMqz4AzCaOvvyLc=',)
β β β <asyncio_redis.protocol._NoTransactionType object at 0x7f7d602c5360>
β β <asyncio_redis.protocol.RedisProtocol object at 0x7f7d602f6a10>
β <function RedisProtocol.auth at 0x7f7d602e17e0>
File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 1153, in _query
result = await self._get_answer(
β β <function RedisProtocol._get_answer at 0x7f7d602e1630>
β <asyncio_redis.protocol.RedisProtocol object at 0x7f7d602f6a10>
File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 1080, in _get_answer
result = await answer_f
β <Future finished exception=ConnectionLostError(None)>
asyncio_redis.exceptions.ConnectionLostError: None
2023-06-12T19:22:37.694176+0000 | 10 | asyncio_redis.connection | INFO | Connecting to redis
2023-06-12T19:22:37.695024+0000 | 10 | asyncio.runners |ERROR | Task exception was never retrieved
future: <Task finished name='Task-18' coro=<RedisProtocol.connection_made.<locals>.initialize() done, defined at /usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py:836> exception=ConnectionLostError(None)>
Traceback (most recent call last):
> File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 839, in initialize
await self.auth(self.password)
β β β β '<redis password>'
β β β <asyncio_redis.protocol.RedisProtocol object at 0x7f7d602f5b10>
β β <function RedisProtocol.auth at 0x7f7d602fae60>
β <asyncio_redis.protocol.RedisProtocol object at 0x7f7d602f5b10>
File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 661, in wrapper
result = await method(protocol_self, _NoTransaction, *a, **kw)
β β β β β {}
β β β β ('omB7xbxhMDWboF8redissG1t8Mm8Gc0hkenMqz4AzCaOvvyLc=',)
β β β <asyncio_redis.protocol._NoTransactionType object at 0x7f7d602c5360>
β β <asyncio_redis.protocol.RedisProtocol object at 0x7f7d602f5b10>
β <function RedisProtocol.auth at 0x7f7d602e17e0>
File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 1153, in _query
result = await self._get_answer(
β β <function RedisProtocol._get_answer at 0x7f7d602e1630>
β <asyncio_redis.protocol.RedisProtocol object at 0x7f7d602f5b10>
File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 1080, in _get_answer
result = await answer_f
β <Future finished exception=ConnectionLostError(None)>
asyncio_redis.exceptions.ConnectionLostError: None
looks like first its showing EOF received in RedisProtocol
then it says the Redis connection lost
and finally thrown en exception when the asyncio-redis driver is await for the result of _get_answer
Heng Tan
06/12/2023, 7:50 PMAsaf Cohen
06/13/2023, 6:32 AMasyncio-redis
library to redis-py
as its the official driver maintained by Redis.Ro'e Katz
06/18/2023, 2:14 PMHeng Tan
06/19/2023, 8:54 PMHeng Tan
06/21/2023, 9:52 AM[32m2023-06-20T12:14:53.105896+0000[0m | [34masyncio.runners [0m|[31m[1mERROR | Task exception was never retrieved
future: <Task finished name='Task-23009' coro=<RedisProtocol.connection_made.<locals>.initialize() done, defined at /usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py:836> exception=Error('Cannot run command inside pubsub subscription.')>[0m
[33m[1mTraceback (most recent call last):[0m
> File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 839, in initialize
await self.auth(self.password)
ΞΓΆΓ© ΞΓΆΓ© ΞΓΆΓ© ΞΓΆΓΆ '2ZrRNoB6613awJtoiWpeYxv74SAT9c75BAzCaBcLIpc='
ΞΓΆΓ© ΞΓΆΓ© ΞΓΆΓΆ <asyncio_redis.protocol.RedisProtocol object at 0x7fcdf2471660>
ΞΓΆΓ© ΞΓΆΓΆ <function RedisProtocol.auth at 0x7fcdf246b760>
ΞΓΆΓΆ <asyncio_redis.protocol.RedisProtocol object at 0x7fcdf2471660>
File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 649, in wrapper
raise Error("Cannot run command inside pubsub subscription.")
ΞΓΆΓΆ <class 'asyncio_redis.exceptions.Error'>
[31m[1masyncio_redis.exceptions.Error[0m:[1m Cannot run command inside pubsub subscription.[0m
[32m2023-06-20T12:14:53.106483+0000[0m | [34masyncio_redis.protocol [0m|[1m INFO | Redis connection made[0m
[32m2023-06-20T12:14:53.106706+0000[0m | [34masyncio_redis.protocol [0m|[1m INFO | Redis connection made[0m
[32m2023-06-20T12:14:53.106756+0000[0m | [34masyncio.runners [0m|[31m[1mERROR | Task exception was never retrieved
future: <Task finished name='Task-36557' coro=<RedisProtocol.connection_made.<locals>.initialize() done, defined at /usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py:836> exception=Error('Cannot run command inside pubsub subscription.')>[0m
[33m[1mTraceback (most recent call last):[0m
> File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 839, in initialize
await self.auth(self.password)
ΞΓΆΓ© ΞΓΆΓ© ΞΓΆΓ© ΞΓΆΓΆ '2ZrRNoB6613awJtoiWpeYxv74SAT9c75BAzCaBcLIpc='
ΞΓΆΓ© ΞΓΆΓ© ΞΓΆΓΆ <asyncio_redis.protocol.RedisProtocol object at 0x7fcdf24636d0>
ΞΓΆΓ© ΞΓΆΓΆ <function RedisProtocol.auth at 0x7fcdf2467400>
ΞΓΆΓΆ <asyncio_redis.protocol.RedisProtocol object at 0x7fcdf24636d0>
File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 649, in wrapper
raise Error("Cannot run command inside pubsub subscription.")
ΞΓΆΓΆ <class 'asyncio_redis.exceptions.Error'>
[31m[1masyncio_redis.exceptions.Error[0m:[1m Cannot run command inside pubsub subscription.[0m
[32m2023-06-20T12:14:53.107023+0000[0m | [34masyncio.runners [0m|[31m[1mERROR | Task exception was never retrieved
future: <Task finished name='Task-6264' coro=<RedisProtocol.connection_made.<locals>.initialize() done, defined at /usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py:836> exception=Error('Cannot run command inside pubsub subscription.')>[0m
[33m[1mTraceback (most recent call last):[0m
> File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 839, in initialize
await self.auth(self.password)
ΞΓΆΓ© ΞΓΆΓ© ΞΓΆΓ© ΞΓΆΓΆ '2ZrRNoB6613awJtoiWpeYxv74SAT9c75BAzCaBcLIpc='
ΞΓΆΓ© ΞΓΆΓ© ΞΓΆΓΆ <asyncio_redis.protocol.RedisProtocol object at 0x7fcdf245f1c0>
ΞΓΆΓ© ΞΓΆΓΆ <function RedisProtocol.auth at 0x7fcdf246b640>
ΞΓΆΓΆ <asyncio_redis.protocol.RedisProtocol object at 0x7fcdf245f1c0>
File "/usr/local/lib/python3.10/site-packages/asyncio_redis/protocol.py", line 649, in wrapper
raise Error("Cannot run command inside pubsub subscription.")
ΞΓΆΓΆ <class 'asyncio_redis.exceptions.Error'>
[31m[1masyncio_redis.exceptions.Error[0m:[1m Cannot run command inside pubsub subscription.[0m
after doing some investigation its seems to be related back to the asyncio redis driver again:
https://groups.google.com/g/aio-libs/c/NOZ9bkz0AvU
https://github.com/jonathanslenders/asyncio-redis/issues/82
I thinks this gives more reason to replace the old asyncio redis driver. But for the moment we can't really afford opal-server data sync keep crashing, do you have a recommendation what is the most stable and reliable broadcast channel to use other than Redis? Postgres or Kafka?Ro'e Katz
06/21/2023, 2:49 PMbroadcaster
pkg couple of months ago).
Thanks for the feedback regarding asyncio-redis
! - as @Asaf Cohen mentioned, we might have an opportunity to replace it soon.Heng Tan
06/26/2023, 12:27 PMRo'e Katz
06/26/2023, 1:08 PMOPA_HEALTH_CHECK_POLICY_ENABLED
has to do with these issues (and overall if you donβt need OPA to serve OPALβs health check, thereβs no need to turn it on, opal exposes its own health check. Also - that variable belongs to the client not the server).