-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point #336
Comments
It might also be this? |
Yep, missed that. |
Hi, will this change be reverted? currently I have to add rustls by myself as a dependency and enable the aws_lc_rs feature if I want to use rustls with this create. |
You can always call |
thanks a lot for the reply. For clarification, in this case I would also have to include rustls to call CryptoProvider::install_default() cause it is not exported by tokio_tungstenite and I have to provide my own CryptoProvider cause CryptoProvider::install_default() needs a self reference. |
add this to fixed this issue:
|
After upgrading
tokio-tungstenite
to0.23
from0.22
, I get the below panic when connecting to a secured websocket endpoint.My
Cargo.toml
entry:tokio-tungstenite = { version = "0.23", features = ["rustls-tls-webpki-roots"] }
this might have something to do with it?
The panic:
The text was updated successfully, but these errors were encountered: