Open ilhamfadhil14 opened 1 year ago
Thank you for the report! Let me take time to check it.
Hi @whitphx, was testing the webrtc component in streamlit today and I got the same error, - but strangely it was working for me last week - but this issue was '3 weeks ago' ?
I also posted on streamlit's forum to seek help, sorry for multiple post. https://discuss.streamlit.io/t/streamlit-webrtc-error-unsupported-key-type-error-in-from-cryptography-key-in-python3-9-site-packages-openssl-crypto-py-file/38594?u=a_lj
and I have updated streamlit to version 1.19.0 and streamlit-webrtc to version 0.44.7, but i’m still facing the same issue. Please guide me on what to do in order to resolve this. Thank you.
Manage to get webrtc running in streamlit again. Not sure if this is the solution, @whitphx - but this works for now.
I found that my issue was related to an outdated version of pyOpenSSL -
current version was 23.0.0 and the version in my conda was 22.0.0 - so i had to update it - using pip didn't work for me, so i used conda
conda install -c conda-forge pyopenssl
I'm trying to replicate simple version of
streamlit_webrtc
using this code:When I started the video feed in streamlit, it results following error:
When I tried replicate this issue using tutorial for simple webrtc python using this tutorial. The video stream works.
My guess is related to either WSL2 networking configuration or this issue https://github.com/whitphx/streamlit-webrtc/issues/1164
Development environment:
Python 3.9.15
streamlit 1.11.0
streamlit-webrtc 0.44.2
aiohttp 3.8.3
cryptography 38.0.4