Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git 错误:RPC失败;HTTP 502 curl 22请求的URL返回错误:502坏网关致命_Git_Github_Gitlab_Git Push_Bad Gateway - Fatal编程技术网

Git 错误:RPC失败;HTTP 502 curl 22请求的URL返回错误:502坏网关致命

Git 错误:RPC失败;HTTP 502 curl 22请求的URL返回错误:502坏网关致命,git,github,gitlab,git-push,bad-gateway,Git,Github,Gitlab,Git Push,Bad Gateway,我正在将代码上传到我的gitlabs repo,我收到了这个错误 Counting objects: 29295, done. Delta compression using up to 4 threads. Compressing objects: 100% (21490/21490), done. Writing objects: 100% (29295/29295), 31.10 MiB | 167.62 MiB/s, done. Total 29295 (delta 6225), reu

我正在将代码上传到我的gitlabs repo,我收到了这个错误

Counting objects: 29295, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (21490/21490), done.
Writing objects: 100% (29295/29295), 31.10 MiB | 167.62 MiB/s, done.
Total 29295 (delta 6225), reused 29295 (delta 6225)
error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Bad Gateway
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

无法找到解决此问题的方法,请在此问题上提供帮助。

502错误网关表示您的请求成功地向某种代理发送了消息,但无法访问其背后的服务器或发送了无效响应。与其他5xx错误一样,它表示客户端无法独立修复的服务器端问题

我相信GitLab和许多web应用程序一样,在主web应用程序前面使用nginx。可能是主web应用程序崩溃了,或者出现了其他问题,但无论如何,您需要联系GitLab实例的管理员,并要求他们解决该问题;你无法修复它


如果您正在托管自己的GitLab实例,那么我建议您确保服务正在运行并查看日志,以查看出了什么问题。

502坏网关错误意味着您的请求成功地向某种代理发送了消息,但无法访问其背后的服务器或发送了无效响应。与其他5xx错误一样,它表示客户端无法独立修复的服务器端问题

我相信GitLab和许多web应用程序一样,在主web应用程序前面使用nginx。可能是主web应用程序崩溃了,或者出现了其他问题,但无论如何,您需要联系GitLab实例的管理员,并要求他们解决该问题;你无法修复它


如果您正在托管自己的GitLab实例,那么我建议您确保服务正在运行并查看日志,以查看出了什么问题。

我使用SSH解决了这个问题,我想如果有人遇到这个问题,请尝试使用SSH克隆repo,然后尝试推送代码:)

我使用SSH解决了这个问题,我想如果有人面临这个问题,请尝试使用ssh克隆repo,然后尝试推送代码:)

Ohh我会尝试联系gitlab,如果问题是这样的,我会尝试联系gitlab,然后再联系您