Git push to in "Total"

Asked

Viewed 111 times

0

I have some projects hosted on Azure and I use git for versioning, they all worked well but from one moment to another one of these repositories started to give problem and does not end the push (but only with me, with other people of the project works normally. I already deleted the project and downloaded again from scratch, but it didn’t work.

There are two kinds of mistakes:

Error 1 (processing stops in "Total" and nothing happens, neither ends nor error):

$ git push
Enumerating objects: 1167, done.
Counting objects: 100% (1146/1146), done.
Delta compression using up to 8 threads
Compressing objects: 100% (1115/1115), done.
Writing objects: 100% (1115/1115), 292.52 MiB | 16.12 MiB/s, done.
Total 1115 (delta 549), reused 76 (delta 0), pack-reused 0

Error 2 (pass this point of the total with error 503):

$ git push
Enumerating objects: 1167, done.
Counting objects: 100% (1146/1146), done.
Delta compression using up to 8 threads
Compressing objects: 100% (1115/1115), done.
Writing objects: 100% (1115/1115), 292.52 MiB | 16.12 MiB/s, done.
Total 1115 (delta 549), reused 76 (delta 0), pack-reused 0
error: RPC failed; HTTP 503 curl 22 The requested URL returned error: 503
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date

I’ve followed a lot of things that could work, but none of them worked, I increased the http.postBuffer both globally and only for the project, nothing solved.

I also tried to download the Fork and push through the graphical interface, even though it showed no error, stayed almost an hour processing the push and canceled.

And I’ve got three local commits here that can’t be lost because they involve a lot of work, someone knows how to get out of it?


EDIT Print with git status and error:

inserir a descrição da imagem aqui

  • because of error 503 I would say you are having network problems (the message already shows this "Unexpected Disconnect while Reading sideband Packet"). At the time of terminating the failed command, this happens to me sometimes in gitlab, either by too many connections or other network problem.

  • The strange thing is that all other repositories work normally, on the same network, same computer, and this 5003 error is very difficult to happen, 90% of the time it only stops in the "Total" same, but I will try in another network as soon as possible

  • I tested now in another network, the same, stands still in "Total".

1 answer

0

Update your git!

Most connection errors, when other people continue to push, for example, if it is due to lack of git update.

In Windows a good idea is to install git by Chocolatey, a package manager, using:

choco install git.install -y
  • Always use Terminal/Prompt in Administrative mode
  • The git.install package is optimized for Windows, although there is a "git" package, I always recommend git install. in that ONLY
  • Parameter -y will automatically accept all questions during installation

Then just check from time to time if there are updates to the package or when there is an error of this time check if there is a new!

choco upgrade git.install

Imagem do terminal executando o comando acima

When running this command it checks if there is a new version, it shows the version that is installed and the last one, as shown above. If you use the meter -y, the update will be executed.

To just check if there is an upgrade to the package, use:

choco outdated

All packages installed by Chocolatey will be verified.

  • Still nothing, I uninstalled my old git and installed via Chocolatey, everything went right and installed the version 2.30.2.windows.1, but still in the same, gets locked in "Total", I suspect it may be some file giving problem at the time of going up to the Archive, the problem is to find out which.

  • Please print the bug, print with git status and send it here

  • Another test point: are you on a wi-fi/cable network? Tried on a completely different network? Maybe for 3G/4G? I’ve had trouble with operator and gir.

  • I edited the question by adding the print. I haven’t tried the test on 3G yet, but I have logged in to the VPN of my work and undocked, neither of the two modes worked, I use wifi and only this repository error, altogether I have other several repositories that use git or svn, and all the others work, but I will test on 3G as soon as possible.

  • How long have you waited to see if the push moves on? Try to wait to find out what happens... You have not lost the permissions in that folder?

  • I waited around 30 to 40 minutes, then I gave up, because even if it was some very big file (something that is not), it is a long time. Permissions are OK, I already took and put again, I logged in with the account responsible for the repository, none worked, it’s very strange.

  • I tested on 3G now, same problem.

Show 2 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.