Open Jonathan-Landeed opened 3 months ago
Hey, thanks for letting me know there are some issues.
I've removed my Cargo.lock to verify it with the latest builds (rustls v0.27.2 there) and It seems working with socket_mode
example without changing anything. I would guess it is related to some specific features configuration in your app?
I think it might be when tonic v0.12.1 enables the ring feature, but I'm a bit over my head on this.
I also have multiple versions of rustls installed because aws-smithy-runtime is still on rustls v0.21.12, but that shouldn't matter.
add this code to fixed this:
rustls::crypto::ring::default_provider().install_default().expect("Failed to install rustls crypto provider");
Related to https://github.com/snapview/tokio-tungstenite/issues/336
I solved it by adding
rustls = ">=0.23.x"
to my Cargo.toml andlet _ = rustls::crypto::aws_lc_rs::default_provider().install_default();
before calling slack morphism stuff, but that doesn't seem ideal.