Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.1K
Views
Heroku error while deploying. error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504

I had no problems in the past with the deployment to Heroku via HTTP transport, but recently I am unable to deploy.

This is the error I am getting:

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

I've tried switching to SSH transport and it works, but Heroku is retiring SSH transport, so I need to figure out this error.

Also I tried to change the postBuffer according to atlassian's page, but I got the error again.

git config --global http.postBuffer 157286400

Does anybody have an idea how to solve this? There are very few resources on the web that I found, and none of them are fixing the problem.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I raised a support ticket to Heroku and the answer was to reset the Git repo

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

After I did this, I had no problems with the deployment

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!