{"id":98,"date":"2022-02-14T22:12:39","date_gmt":"2022-02-14T14:12:39","guid":{"rendered":"https:\/\/blog.zjia.me\/?p=98"},"modified":"2026-06-19T17:47:33","modified_gmt":"2026-06-19T09:47:33","slug":"git%e4%bb%a3%e7%90%86%e5%bc%82%e5%b8%b8","status":"publish","type":"post","link":"https:\/\/blog.ttwow.top\/?p=98","title":{"rendered":"git\u4ee3\u7406\u5f02\u5e38"},"content":{"rendered":"<p>fatal: unable to access '<a href=\"https:\/\/github.com.git\/\">https:\/\/github.com.git\/<\/a>': OpenSSL SSL_read: Connection was reset, errno 10054<\/p>\n<p>\u89e3\u51b3\u65b9\u6848\u4e00<br \/>\n\u5173\u95edssl\u8bc1\u4e66<br \/>\n<code>git config --global http.sslVerify &quot;false&quot;<\/code><\/p>\n<p>fatal: unable to access '<a href=\"https:\/\/github.git\/\">https:\/\/github.git\/<\/a>': Failed to connect to github.com port 443: Timed out<\/p>\n<p>\u5173\u95ed\u5168\u5c40\u4ee3\u7406<br \/>\n<code>git config --global --unset http.proxy<\/code><\/p>\n<p>\u89e3\u51b3\u65b9\u6848\u4e8c<br \/>\n\u5728\u5f00\u542fshadowsocks\u7684\u524d\u63d0\u4e0b\uff0c\u624b\u52a8\u914d\u7f6egit\u7684\u4ee3\u7406\u3002git\u5ba2\u6237\u7aef\u8f93\u5165\u5982\u4e0b\u4e24\u4e2a\u547d\u4ee4\u5c31\u53ef\u4ee5\u4e86\u3002<br \/>\n<code>git config --global http.proxy http:\/\/127.0.0.1:1080<\/code><\/p>\n<p><code>git config --global https.proxy http:\/\/127.0.0.1:1080<\/code><\/p>\n<p><a href=\"http:\/\/\u4e5f\u53ef\u4ee5\u6539\u6210sockets5:\/\/,\u4f46\u662f\u533a\u522b\u5728\u4e8e\uff1asocks5\u4e0d\u652f\u6301\u901a\u8fc7pubkey\u514d\u5bc6\u767b\u5f55github\uff0c\u6bcf\u6b21\u63d0\u4ea4\u4ee3\u7801\u53ea\u80fd\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002http\u53ef\u4ee5\u652f\u6301\u514d\u5bc6\u767b\u5f55\">http:\/\/\u4e5f\u53ef\u4ee5\u6539\u6210sockets5:\/\/,\u4f46\u662f\u533a\u522b\u5728\u4e8e\uff1asocks5\u4e0d\u652f\u6301\u901a\u8fc7pubkey\u514d\u5bc6\u767b\u5f55github\uff0c\u6bcf\u6b21\u63d0\u4ea4\u4ee3\u7801\u53ea\u80fd\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002http\u53ef\u4ee5\u652f\u6301\u514d\u5bc6\u767b\u5f55<\/a>\u3002<\/p>\n<p>\u53d6\u6d88\u4ee3\u7406\uff1a<\/p>\n<p><code>git config --global --unset http.proxy<\/code><\/p>\n<p><code>git config --global --unset https.proxy<\/code><\/p>\n<p>\u89e3\u51b3\u65b9\u6848\u4e09<br \/>\n\u5230window \u4e2d\u627e\u5230\u4e86host<br \/>\n\u6253\u5f00\u7f16\u8f91 \u6ce8\u91ca\u6389 github\u7684\u5730\u5740<\/p>\n","protected":false},"excerpt":{"rendered":"<p>fatal: unable to access &#8216;https:\/\/github.com.git\/&#8217;: Open [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[134],"tags":[38],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-debug-troubleshooting","tag-git"],"_links":{"self":[{"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=98"}],"version-history":[{"count":2,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":2017,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=\/wp\/v2\/posts\/98\/revisions\/2017"}],"wp:attachment":[{"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ttwow.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}