cronos-labs / play-cpp-sdk

Generate wallet, Fetching transaction history, Transfer token, WalletConnect, Crypto.com Pay, and more
Other
16 stars 5 forks source link

Problem: not using webpki tls #429

Closed leejw51crypto closed 1 year ago

leejw51crypto commented 1 year ago

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

leejw51crypto commented 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"] }

tomtau commented 1 year ago

It's not using native-tls, because that was harder to cross-compile

leejw51crypto commented 1 year ago

started