Jordan Sitkin
Jordan Sitkin

Reputation: 2343

git push heroku master hangs in the middle of the push

When pushing to Heroku (git push heroku master), my git client stops producing output after about 20 seconds. It usually hangs while processing the Gemfile. The pushes always work - I just stop getting output.

If it helps, here is the output i get from ssh -v [email protected] https://gist.github.com/4496219

Upvotes: 5

Views: 4331

Answers (5)

littlebird99
littlebird99

Reputation: 371

I was having this issue and resolved it by running heroku login and logging in again.

Upvotes: 18

Ben
Ben

Reputation: 837

I was experiencing the same issue, though my pushes never went through - the deploy just hanged and nothing happened. It turned out to be a problem on Heroku side - on the Heroku Status page they had posted that they are having issues with builds failing (which they fixed shortly).

Upvotes: 2

Mohit Burkule
Mohit Burkule

Reputation: 161

try git pull origin master followed by git push heroku master

Upvotes: 0

Victor Christensen
Victor Christensen

Reputation: 3

I had this happen to me and someone told me to to a git pull origin master, then retry the git push heroku master. That worked. Still don't know why it hung in the first place, though.

Upvotes: 0

dB.
dB.

Reputation: 4770

Most likely this is a problem with Bundler. It's not reproducible locally because you have a cache with some gems. See http://artsy.github.com/blog/2013/01/15/debugging-bundler-issues-with-heroku, you want to follow instructions in https://github.com/carlhuda/bundler/blob/master/ISSUES.md first.

Upvotes: 0

Related Questions