vocode-python icon indicating copy to clipboard operation
vocode-python copied to clipboard

Redis sometimes throws `ConnectionError: Error UNKNOWN while writing to socket` in /connect-call

Open okradze opened this issue 2 years ago • 1 comments

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.

okradze avatar Dec 15 '23 07:12 okradze

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.

github-actions[bot] avatar Mar 07 '24 01:03 github-actions[bot]