whitphx / streamlit-webrtc

Real-time video and audio streams over the network, with Streamlit.
https://discuss.streamlit.io/t/new-component-streamlit-webrtc-a-new-way-to-deal-with-real-time-media-streams/8669
MIT License
1.34k stars 181 forks source link

hosted app fails with 'builtins.Certificate' object has no attribute '_x509' #1163

Closed gustavz closed 1 year ago

gustavz commented 1 year ago

Hi @whitphx I got an app using your streamlit component running, thank you for your work! It runs smoothly locally but hosted on streamlit deploy it fails with

'builtins.Certificate' object has no attribute '_x509'

It looks like something related to pyopenssl. Did you see this issue yourself aswell at some point?

gustavz commented 1 year ago

was able to fix it with specifying all exact package versions

g0lemXIV commented 1 year ago

@gustavz I have the same problem with the docker connection. Could you write the packages and versions you installed?

ychafiqui commented 1 year ago

@gustavz I have the same problem, can you tell me exactly how did you fix it please?

gustavz commented 1 year ago

Sure, have a look at my project, there you find all requirements and implementations I used: https://github.com/gustavz/jaivus

whitphx commented 1 year ago

Thank you for the report. It can also be fixed by upgrading streamlit-webrtc to v0.44.1 or higher.

g0lemXIV commented 1 year ago

@whitphx I've just updated to the 0.44.1 version, and it works. Thank you!