Redis sometimes throws `ConnectionError: Error UNKNOWN while writing to socket` in /connect-call
I'm using OutboundCall with Twilio.
After calling phone Redis attempts to read config here:
https://github.com/vocodedev/vocode-python/blob/main/vocode/streaming/telephony/server/router/calls.py#L101
But weird part is that sometimes it works and sometimes it throws the ConnectionError: Error UNKNOWN while writing to socket. Connection lost which causes call to end.
I've did some investigation and found that it's related to redis-py package Here is the issue: https://github.com/redis/redis-py/issues/2491
I've tried installing redis-py package with hiredis and It seems that it fixed the issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.