Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

github - my git push is not working giving error : RPC failed; curl 18 transfer closed with outstanding read data remaining

That error msg is showing in my ide

This is what my ide showing counting objects: 100% (14/14), done. Delta compression using up to 4 threads Compressing objects: 100% (10/10), done. Writing objects: 100% (10/10), 1.47 MiB | 6.71 MiB/s, done. Total 10 (delta 5), reused 0 (delta 0) error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: the remote end hung up unexpectedly fatal: the remote end hung up unexpectedly Everything up-to-date

 User-PC@Murads-PC MINGW64 /c/web-development/portfolio (main)
    $ git status
    On branch main
    Your branch is ahead of 'origin/main' by 3 commits.
      (use "git push" to publish your local commits)
    
    Changes not staged for commit:
      (use "git add <file>..." to update what will be committed)
      (use "git restore <file>..." to discard changes in working directory)
            modified:   index.html
    
    no changes added to commit (use "git add" and/or "git commit -a")

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Usually this indicates some sort of network problem. That can be because there's a problem somewhere beyond your computer, or it can be because there's a problem on your computer itself.

Oftentimes these problems are caused by a proxy, a third-party antivirus or firewall, or other programs which monitor or intercept network traffic. These services can for many reasons try to terminate connections, leading to this result.

If you're using a proxy, try switching to a network without it. If you're using a third-party antivirus, firewall, or other program intercepting network traffic, try uninstalling it completely and restarting. If this isn't possible in your environment, contact your IT department about the problem, and tell them that you believe that software is preventing your from doing your job.

If you've done all of these and none of them help, you may want to contact your ISP to see if there's a network problem on your connection.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...