1

Code size is 6GB. While trying to push to secondary geo node from git client system, it fails with below error.

git push -u origin master
remote:
remote: You're pushing to a Geo secondary! We'll help you by proxying this
remote: request to the primary:
remote:
remote:   ssh://git@ssh.gitlab-primary.domain.com:443/upload_grp/upload_from_secondary_geo.git
remote:
Enumerating objects: 175198, done.
Counting objects: 100% (175198/175198), done.
Delta compression using up to 16 threads
Compressing objects: 100% (114761/114761), done.
Writing objects: 100% (175198/175198), 1.40 GiB | 103.54 MiB/s, done.
Total 175198 (delta 50871), reused 175198 (delta 50871)
remote:
remote: ========================================================================
remote:
remote: Internal API unreachable
remote:
remote: ========================================================================
remote:
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly

Is it something related with network related problem? Any direction to fix the problem would help a lot.

user4948798
  • 1,924
  • 4
  • 43
  • 89

1 Answers1

1

That looks like the new way to display an internal GitLab server error, as introduced with GitLab 12.5+ (Nov. 2019)

That needs to be checked at the GitLab server level, to see if its log includes any clue.
That being said, make sure the commit pushed itself if not 6GB... that would likely be rejected on its own (too big)

The OP Kishore confirms in the comments:

I tried with 6-GB code where as it didn’t work, Later 662M & 1.4-GB code I could able to push successfully.

The solution remains to break your large commit in multiple smaller ones.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250