You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using rutls on versions > 0.22.0 this error is raised:
[2024-07-05][12:21:59][tokio_tungstenite::tls::encryption::rustls][DEBUG] Added 129/129 native root certificates (ignored 0)
thread 'tokio-runtime-worker' panicked at /home/maxpowel/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-0.23.10/src/crypto/mod.rs:259:14:
no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point
I investigated a bit about CryptoProvider::install_default() and it looks something related with latest changes rustls made in crypto part.
This line in my Cargo.toml works fine:
tokio-tungstenite = { version = "0.22.0", features = ["rustls-tls-native-roots"] }
but this raises the error
tokio-tungstenite = { version = "0.23.1", features = ["rustls-tls-native-roots"] }
The error appears as soon as you call tokio_tungstenite::connect_async
Thank you
The text was updated successfully, but these errors were encountered:
ring = { version = "0.17" }
rustls = { version = "0.23", features = ["ring","logging","tls12"], default-features = false }
tokio-tungstenite = { version = "0.23", features = ["rustls-tls-webpki-roots"] }
Hello
When using rutls on versions > 0.22.0 this error is raised:
I investigated a bit about CryptoProvider::install_default() and it looks something related with latest changes rustls made in crypto part.
This line in my Cargo.toml works fine:
but this raises the error
The error appears as soon as you call
tokio_tungstenite::connect_async
Thank you
The text was updated successfully, but these errors were encountered: