我正在将代码上传到我的gitlabs代码库,我收到了这个错误
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
我想不出如何解决这个问题,请帮我解决这个问题。
发布于 2020-08-23 05:10:48
502 Bad Gateway错误意味着您的请求成功地向某种类型的代理发送了一条消息,但它背后的服务器无法访问或发送了无效的响应。与其他5xx错误一样,它指示客户端无法独立修复的服务器端问题。
我相信GitLab和许多web应用一样,在主web应用前面使用了nginx。主web应用程序可能已经崩溃,或者发生了其他问题,但无论如何,您都需要联系GitLab实例的管理员,让他们修复该问题;您无法修复该问题。
如果您正在托管自己的GitLab实例,那么我建议您确保服务正在运行,并查看日志以了解哪里出了问题。
发布于 2020-08-25 15:39:30
我使用SSH解决了这个问题,我猜如果有人遇到这个问题,可以尝试使用ssh克隆repo,然后尝试推送代码:)
https://stackoverflow.com/questions/63540582
复制相似问题