-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TLS error: webpki error: UnsupportedCriticalExtension #231
Comments
Just an update. It works in wsl but not windows 11 Version 10.0.22000 Build 22000. |
Interesting. There must be a difference in the system configuration. May I ask you what TLS features you have enabled? The idea that I have in mind is to use the corresponding library that is used for TLS ( |
hey mate, thanks for your reply. My TLS features :) let me know if anything else will be useful |
Sorry, I did not mean the Windows TLS configuration, I implied the features that you enabled with Basically my suggestion is to narrow down the error to the place where it actually happens to be able to say why exactly it fails. Let's say you're using the |
gotcha! Sorry about the first reply. This is what I have in my TOML file
|
Just changed it to use |
Ok, great 👍 So it must have been related to different root certificates apparently, or to be more precise to the way these are accessed/used by the |
Thanks a lot for the explanation! And your replies |
Hi guys,
Sorry to bother you with this as I understand it's not directly related to your library but when I'm at the office and I run
let (mut socket, mut res) = connect_async( Url::parse("wss://stream.binance.com:9443/ws/btcusdt@trade") .expect("Can't connect to case count URL"), ) .await?;
it works fine. However, when I do the same at home I get the following error "TLS error: webpki error: UnsupportedCriticalExtension"
I'm pretty new to TLS, could someone advise me on how to resolve this issue?
Thank you in advance!
The text was updated successfully, but these errors were encountered: