Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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")
like image 722
Murad theOZ Avatar asked Sep 06 '25 15:09

Murad theOZ


1 Answers

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.

like image 88
bk2204 Avatar answered Sep 09 '25 02:09

bk2204