crypto-crawler / crypto-crawler-rs

A rock-solid cryptocurrency crawler library.
Apache License 2.0
233 stars 74 forks source link

crypto-ws-client example does not work; MissingOrMalformedExtensions thrown by webpki #57

Open jsvanv opened 2 years ago

jsvanv commented 2 years ago

I've been trying to run the example for the websocket client, but unfortunately, I keep getting the following error:

thread 'tokio-runtime-worker' panicked at 'Failed to connect to wss://ws-feed.exchange.coinbase.com, error: TLS error: webpki error: MissingOrMalformedExtensions', C:\Users\jsvanv\.cargo\registry\src\github.com-1ecc6299db9ec823\crypto-ws-client-4.12.6\src\common\ws_client_internal.rs:76:22

I get the same error on another Windows 10 machine. I've tried a small variety of exchanges and symbols, but webpki always complains.

Exchanges tried: Binance, Kraken, Coinbase Pro Symbols tried: ETHUSDT, ETHUSD, BTCUSDT, BTCUSD OS: Windows 10 64-bit Targets: x86_64-pc-windows-gnu and x86_64-pc-windows-msvc Rust version: 1.64.0

soulmachine commented 2 years ago

I don't have a Windows laptop, so this issue might need to wait