Heroku error while deploying. error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504
Heroku error while deploying. error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504
过去我通过 HTTP 传输部署到 Heroku 没有问题,但最近我无法部署。
这是我遇到的错误:
Enumerating objects: 58668, done.
Counting objects: 100% (57434/57434), done.
Delta compression using up to 16 threads
Compressing objects: 100% (16705/16705), done.
Writing objects: 100% (57124/57124), 50.77 MiB | 76.23 MiB/s, done.
Total 57124 (delta 44149), reused 52353 (delta 40249)
error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
我已经尝试切换到 SSH 传输并且它可以工作,但是 Heroku 正在停用 SSH 传输,所以我需要找出这个错误。
我也尝试根据atlassian's page更改postBuffer,但我又报错了。
git config --global http.postBuffer 157286400
有人知道如何解决这个问题吗?我在网上找到的资源很少,其中 none 正在解决问题。
我向 Heroku 提出了支持请求,答案是重置 Git 存储库
heroku plugins:install heroku-repo
heroku repo:reset -a <app-name>
我这样做之后,我的部署就没有问题了
过去我通过 HTTP 传输部署到 Heroku 没有问题,但最近我无法部署。
这是我遇到的错误:
Enumerating objects: 58668, done.
Counting objects: 100% (57434/57434), done.
Delta compression using up to 16 threads
Compressing objects: 100% (16705/16705), done.
Writing objects: 100% (57124/57124), 50.77 MiB | 76.23 MiB/s, done.
Total 57124 (delta 44149), reused 52353 (delta 40249)
error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
我已经尝试切换到 SSH 传输并且它可以工作,但是 Heroku 正在停用 SSH 传输,所以我需要找出这个错误。
我也尝试根据atlassian's page更改postBuffer,但我又报错了。
git config --global http.postBuffer 157286400
有人知道如何解决这个问题吗?我在网上找到的资源很少,其中 none 正在解决问题。
我向 Heroku 提出了支持请求,答案是重置 Git 存储库
heroku plugins:install heroku-repo
heroku repo:reset -a <app-name>
我这样做之后,我的部署就没有问题了