Py学习  »  Git

如何修复git中的“packet\u write\u wait:connection to…breaked pipe”错误

EverJust • 5 年前 • 1477 次点击  

我如何解决这个问题 git push 文件到我的远程存储库并抛出错误“packet_write_wait:connection to 13.250.177.223 port 22:breaked pipe”?以前 Git推 ,我从远程克隆了这个项目 git add , git commit 成功。

我试过了 git pull , git config http.postBuffer 52428800 ,但不起作用。

HP@EverChan MINGW32 /d/ChromeDownload/jiaoben5049/meetingDemo (master)
$ git pull
packet_write_wait: Connection to 52.74.223.119 port 22: Broken pipe
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
HP@EverChan MINGW32 /d/ChromeDownload/jiaoben5049/meetingDemo (master)
$ git config http.postBuffer 52428800
HP@EverChan MINGW32 /d/ChromeDownload/jiaoben5049/meetingDemo (master)
$ git push -u origin master
Counting objects: 46, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (46/46), done.
packet_write_wait: Connection to 13.250.177.223 port 22: Broken pipe
Writing foabjecttals:   8:% The  (4/4remote end hung up u6nex)pectedly
fatal: sha1 file '<stdout>' write error: Broken pipe
fatal: The remote end hung up unexpectedly
HP@EverChan MINGW32 /d/ChromeDownload/jiaoben5049/meetingDemo (master)
$ git push -u origin master
packet_write_wait: Connection to 13.250.177.223 port 22: Broken pipe
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/43673
 
1477 次点击  
文章 [ 2 ]  |  最新文章 5 年前
Tanya Gupta
Reply   •   1 楼
Tanya Gupta    6 年前

在推动我的回购给Github的过程中,对我起了作用的是 IPQoS=吞吐量 到~/.ssh/config中的我的配置文件。确保ssh设置正确、添加到github帐户等的其他步骤都是详细的 here

VonC
Reply   •   2 楼
VonC    6 年前

确保远程源的ssh url正常工作:

ssh -T yourServer

其IP地址不应更改。

查看问题是否仍然存在 latest Git for Windows ( PortableGit-2.20.1-64-bit.7z.exe ),在c:\ git中解压缩,并设置 simplified PATH 在命令会话中。

set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\
set GH=C:\path\to\git
set PATH=%GH%\bin;%GH%\usr\bin;%GH%\mingw64\bin;%PATH%