Git提交错误(RPC failed; HTTP 502 curl 22 The requested URL returned error: 502)

531 阅读1分钟

Writing objects: 100% (64045/64045), 306.66 MiB | 265.44 MiB/s, done. Total 64045 (delta 34420), reused 60977 (delta 32112), pack-reused 0 error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 send-pack: unexpected disconnect while reading sideband packet fatal: the remote end hung up unexpectedly Done

image.png

解决办法(使用命令行进行操作成功了)

  1. 使用管理员凭据推送代码更改
  2. git config --local http.postBuffer 157286400推送前执行命令。
  3. git push

image.png