Windows Version
Microsoft Windows [Version 10.0.26200.7019]
WSL Version
2.6.2.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.6.87.2-microsoft-standard-WSL2
Distro Version
Debian 13.1
Other Software
OpenSSL 3.5.1 1 Jul 2025
curl 8.14.1
Repro Steps
curl -v https://repo.packagist.org/packages.json
Expected Behavior
Actual Behavior
* Recv failure: Connection reset by peer
* TLS connect error: error:00000000:lib(0)::reason(0)
* OpenSSL SSL_connect: Connection reset by peer in connection to repo.packagist.org:443
* closing connection #0
curl: (35) Recv failure: Connection reset by peer
Also tested in docker. Here results:
- curl -> Windows = [v] no problem
- curl -> Debain 13.1 -> Windows = [x] problem
- curl -> Debian 12.12 (in docker) -> Debain 13.1 -> Windows = [v] no problem
- curl -> Debian 13.1 (in docker) -> Debain 13.1 -> Windows = [x] problem
result of openssl s_client -connect repo.packagist.org:443
Connecting to 169.150.247.34
CONNECTED(00000003)
write:errno=104
---
no peer certificate available
---
No client certificate CA names sent
Negotiated TLS1.3 group: <NULL>
---
SSL handshake has read 0 bytes and written 1560 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Protocol: TLSv1.3
This TLS version forbids renegotiation.
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---
wget works fine.
openssl with argument -tls1_2 works fine.
curl with argument --tls-max 1.2 works fine.
Diagnostic Logs
WslLogs-2025-11-09_13-46-43.zip
Windows Version
Microsoft Windows [Version 10.0.26200.7019]
WSL Version
2.6.2.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.6.87.2-microsoft-standard-WSL2
Distro Version
Debian 13.1
Other Software
OpenSSL 3.5.1 1 Jul 2025
curl 8.14.1
Repro Steps
curl -v https://repo.packagist.org/packages.jsonExpected Behavior
Actual Behavior
Also tested in docker. Here results:
result of
openssl s_client -connect repo.packagist.org:443wget works fine.
openssl with argument
-tls1_2works fine.curl with argument
--tls-max 1.2works fine.Diagnostic Logs
WslLogs-2025-11-09_13-46-43.zip