【教程】Vscode使用Git上传Github问题集
<svg xmlns="http://www.w3.org/2000/svg" style="display: none"><path stroke-linecap="round" d="M5,0 0,2.5 5,5z" id="raphael-marker-block" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0)"></path>
</svg>
<p></p>
<div class="toc">
<h4>Vscode使用Git上传Github问题集</h4>
<ul><li><ul><li>Failed to connect to github.com port 443: Timed out</li><li>解决 failed unable to access ‘***.git/‘:OpenSSL SSL_read: Connection was reset, errno 10054</li><li>git 提交报错 error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)</li><li>解决fatal: unable to access ‘https://github.com/***/***.git/‘: Empty reply from server</li></ul>
</li></ul>
</div>
<p></p>
<h3>Failed to connect to github.com port 443: Timed out</h3>
<p>该提示含义是通过443端口连接github.com错误。<br> 事实上,访问github由于网络原因,经常无法访问,所以我们</p>
<pre><code class="prism language-bash"><span class="token function">git</span> config --global --unset http.proxy<span class="token comment">#删除配置</span>
<span class="token function">git</span> config --global http.proxy <span class="token number">127.0</span>.0.1:xxxx<span class="token comment">#根据自己的代理插件设置全局端口</span>
<span class="token function">git</span> config --local http.proxy <span class="token number">127.0</span>.0.1:xxxx <span class="token comment">#为某个 git 项目单独设置代理</span>
</code></pre>
<p><img src="https://i-blog.csdnimg.cn/blog_migrate/9b3ac463f74f9a1e911a0007bfdb4109.png"></p>
<h3>解决 failed unable to access ‘***.git/‘:OpenSSL SSL_read: Connection was reset, errno 10054</h3>
<ul><li>有<br> 打开Git命令页面,执行git命令脚本:修改设置,解除ssl验证</li></ul>
<pre><code class="prism language-bash"><span class="token function">git</span> config --global http.sslVerify <span class="token string">"false"</span>
</code></pre>
<p><img src="https://i-blog.csdnimg.cn/blog_migrate/4a0148d7cecaa1d48b8d2cc9103c9bd0.png"></p>
<ul><li>还有</li></ul>
<blockquote>
<p>【Git】处理 Unable to access ‘https://github.com’: OpenSSL SSL_read: Connection was reset, errno 10054</p>
</blockquote>
<ul><li>也有</li></ul>
<blockquote>
<p>记录一次git clone 失败<br> 在git bash执行下面的命令</p>
</blockquote>
<pre><code class="prism language-bash"><span class="token function">git</span> config --global http.sslBackend <span class="token string">"openssl"</span>
</code></pre>
<h3>git 提交报错 error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)</h3>
<h3>解决fatal: unable to access ‘https://github.com/***/***.git/‘: Empty reply from server</h3>
<p>解决fatal: unable to access ‘https://github.com/***/***.git/‘: Empty reply from server</p><br><br>
来源:https://www.cnblogs.com/flybird2008/p/19355934
頁:
[1]