git错误:RPC失败; HTTP 502 curl 22请求的URL返回错误:502代理错误 [英] git error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Proxy Error

查看:620
本文介绍了git错误:RPC失败; HTTP 502 curl 22请求的URL返回错误:502代理错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在实际项目中使用Torrise git.自上周以来,我和其他成员在使用我们的存储库时遇到了麻烦(以前工作得很好).

I work with tortoise git for my actual project. Me and the other members have some trouble since last week with our repository (worked perfect before).

当我要推/拉/克隆(HTTPS)时,出现以下错误:

When I want to push/pull/clone (HTTPS), I get the following error:

致命:远程端意外挂起错误:RPC失败; HTTP 502 curl 22请求的URL返回错误:502代理错误

fatal: The remote end hung up unexpectedly error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Proxy Error

似乎代理服务器出了点问题.我可以像往常一样在学院的局域网中使用该存储库,但是我无法从家里访问该存储库.

Seems like something went wrong with the proxy server. I can use the repository as usual in the local network of my institute, but I get no access from home.

有人知道如何解决此错误吗?不幸的是,我找不到有关此问题的其他任何帖子.

Does anyone has an idea how to fix this error? Unfortunately i can't find any other posts about this problem.

问候, 荷马

推荐答案

发生这种错误的原因主要有两个:

This kind of error happens mostly because of 2 reasons:

  1. 将二进制文件/jar文件推送回购

  1. pushing binary files/jar files to repo

如果文件很大.

解决方案:
1.使用管理员凭据来推送代码更改
2.按下之前执行命令git config --local http.postBuffer 157286400.

Solution:
1. Use admin credential for pushing code change
2. execute the command git config --local http.postBuffer 157286400 before pushing.

这篇关于git错误:RPC失败; HTTP 502 curl 22请求的URL返回错误:502代理错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆