部署时出现Heroku错误。错误:RPC失败;HTTP 504请求的URL返回错误:504

2024-09-28 05:22:20 发布

您现在位置:Python中文网/ 问答频道 /正文

我过去通过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

有人知道如何解决这个问题吗?我在网上找到的资源很少,而且没有一个能解决这个问题


Tags: thehttpherokuobjectsremote部署错误error
1条回答
网友
1楼 · 发布于 2024-09-28 05:22:20

我向Heroku提出了一张支持票,答案是重置Git回购协议

heroku plugins:install heroku-repo
heroku repo:reset -a <app-name>

在我这样做之后,我对部署没有任何问题

相关问题 更多 >

    热门问题