Closed leejw51crypto closed 1 year ago
try "rustls-webpki-roots" feature
[target.'cfg(all(target_os = "windows", target_arch = "x86_64"))'.dependencies] tokio-tungstenite = { version = "*", features = ["rustls-webpki-roots"] }
It's not using native-tls, because that was harder to cross-compile
started
change to use tokio-tungstenite = {version = "*", features=["native-tls"]} to prevent socket error: TLS error: webpki error: UnsupportedCriticalExtension
ref: https://github.com/snapview/tokio-tungstenite/issues/231