EGit push operation giving error: "Error occurred during unpacking the remote end"
Solution 1
This issue is not specific to Egit. It occurs when git cannot write to the destination folder on the remote system. This could be, as noted in another answer, that the folder did not have the correct permissions. It could also be for other reasons, such as in my case where the file system had reached full capacity.
Solution 2
The only "pipe closed" error on Egit is mentioned in bug 314107 and isn't related to your case.
The only suspicious element in your scenario is the address of your remote repo. With the file protocol, I would specify:
file:///192.168.100.28/Git/repo.git
As the OP Abhay comments, the destination folder was write protected, which was enough to trigger that error message.
Abhay
Updated on February 11, 2020Comments
-
Abhay over 4 years
Error occurred during unpacking the remote end
Steps, which I followed: On system A (remote):
- Installed EGit
- Create a project
- Share that project
- Create repository
- Add and commit that project to repository
- (share the repository folder)
On system B (local):
- Install EGit
- Import project (by cloning remote repository)
- select clone (not add)
- give the path of remote repository like 192.168.10.28\Git\repo
- check the branch
- give destination path(local)
- follow simple steps and import the project
- Modify the code
- commit it to local repository
- Now go to repository view and push the local repository content to the remote 1
- ERROR window pops up saying
"Can't connect to any repository: \192.168.100.28\Git\repo (An internal Exception occurred during push: \192.168.100.28\Git\repo: Pipe closed)"
-
Abhay about 13 yearsThanks buddy, actually mistake was silly. Destination folder was write protected. Now I gave the permission and its working well.
-
VonC about 13 years@Abhay: excellent. I have included that root cause in my answer.
-
Jan M over 8 yearsI had the same "pipe closed" issue because of I ran out of space on my disk. Your hint gave me the right idea.