GitLab辅助地理代码推送失败,无法访问内部API



代码大小为6GB。当尝试从git客户端系统推送到辅助地理节点时,失败,错误如下。

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

这与网络相关的问题有关吗?任何解决问题的方向都会有很大帮助。

这看起来像是GitLab 12.5+(2019年11月(引入的显示内部GitLab服务器错误的新方法

这需要在GitLab服务器级别进行检查,看看它的日志是否包含任何线索
也就是说,如果不是6GB,请确保提交推送自己。。。它可能会被自己(太大(的拒绝

OP Kishore在评论中证实:

我尝试使用6-GB代码,但由于它不起作用,后来662M&1.4-GB代码我可以成功推送。

解决方案仍然是将大型提交拆分为多个较小的提交。

最新更新