当我尝试使用 连接到任何 HTTPS 服务器时git
,出现以下错误:
error: gnutls_handshake() failed: A TLS packet with unexpected length was received. while accessing ...
fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)
我想可能是一些相关的包gnutls_handshake
被破坏了。所以,我想重新安装那些。
哪些包可能与这些错误有关?或者我该如何解决这种错误?
尝试通过 https 连接到 github.com、google.com、dropbox.com 时出现以下错误,但 stackoverflow.com、askubuntu.com 和大多数 https 网站都可以正常工作。
相关详情:
错误信息:
$ openssl s_client -connect github.com:443
CONNECTED(00000003)
write:errno=104
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 311 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: …
Run Code Online (Sandbox Code Playgroud)