Replies: 1 comment 1 reply
|
I just encountered the same issue after upgrading from Fedora 42 to Fedora 44 (WSL2 environment). I'm using a HTTP proxy connected to the Windows host (sing-box v1.12.14). curl fails on TLS 1.2 but works fine on TLS 1.3: # Fails with unexpected EOF
$ curl https://google.com --tlsv1.2
curl: (35) TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
# Works fine
$ curl https://google.com --tlsv1.3
# Works when lowering security level
$ curl --tlsv1.2 --ciphers 'DEFAULT@SECLEVEL=1' https://google.comThe cause might be the proxy server cannot handle post-quantum cryptography standard with TLS 1.2. A workaround for me is: sudo update-crypto-policies --set DEFAULT:NO-PQ |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Errors
Such error started to appear after I set proxy for my nixos-wsl.
error on build
curl error
wget works however
What I have done:
NATmode for WSL(which is the default)Probably not a nix problem, but hopefully get some advice, thanks in advance!
All reactions