OpenSSL SSL connect: Connection reset by peer in connection to api.github.com:443 · Issue #10905 · composer/composer

  • 14,000
  • Tác giả: admin
  • Ngày đăng:
  • Lượt xem: 14
  • Tình trạng: Còn hàng

If curl fails to lớn connect as well it's definitely not a Composer issue, but must be something in your environment/network.

It seems the TLS handshake fails entirely, so sánh I guess it's a network problem.

FYI I get this output from openssl:

$ openssl s_client -connect :443 -servername 
CONNECTED(00000003)
depth=2 C = US, O = DigiCert Inc, OU = www.digicert.com, công nhân = DigiCert Global Root CA
verify return:1
depth=1 C = US, O = DigiCert Inc, công nhân = DigiCert TLS Hybrid ECC SHA384 2020 CA1
verify return:1
depth=0 C = US, ST = California, L = San Francisco, O = "GitHub, Inc.", công nhân = 
verify return:1
---
Certificate chain
 0 s:C = US, ST = California, L = San Francisco, O = "GitHub, Inc.", công nhân = 
   i:C = US, O = DigiCert Inc, công nhân = DigiCert TLS Hybrid ECC SHA384 2020 CA1
   a:PKEY: id-ecPublicKey, 256 (bit); sigalg: ecdsa-with-SHA384
   v:NotBefore: Mar 15 00:00:00 2022 GMT; NotAfter: Mar 15 23:59:59 2023 GMT
 1 s:C = US, O = DigiCert Inc, công nhân = DigiCert TLS Hybrid ECC SHA384 2020 CA1
   i:C = US, O = DigiCert Inc, OU = www.digicert.com, công nhân = DigiCert Global Root CA
   a:PKEY: id-ecPublicKey, 384 (bit); sigalg: RSA-SHA384
   v:NotBefore: Apr 14 00:00:00 2021 GMT; NotAfter: Apr 13 23:59:59 2031 GMT
---