Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error message after successfully pushing to Heroku

Tags:

remote: Verifying deploy... done. fatal: protocol error: bad line length character: fata error: error in sideband demultiplexer 

This just randomly started showing up. My changes are being saved in git and pushing successfully to Heroku. I have no idea what this means or what caused it as I have not done anything new at all.

like image 775
Timmy Von Heiss Avatar asked Mar 20 '16 06:03

Timmy Von Heiss


People also ask

Why my Heroku app is not working?

There are some errors which only occur when the app is rebooting so you will need to restart the app to see these log messages appear. For most apps, we also recommend enabling one of the free logging addons from https://elements.heroku.com/addons#logging to make sure that your historical log data is being saved.

How do I push to github after pushing to Heroku?

To deploy your app to Heroku, use the git push command to push the code from your local repository's main branch to your heroku remote. For example: $ git push heroku main Initializing repository, done.

How do I update my Heroku?

To upgrade via the Heroku Dashboard, navigate to your app settings page and click the Upgrade Stack button. Confirm that you want to upgrade, which will set the stack to the latest version.


2 Answers

Just had this issue myself. What worked for me was this response directly from Heroku Support

$ Upgrade GIT on your local machine $ heroku plugins:install heroku-repo $ heroku repo:reset -a <app-name> $ git commit --allow-empty -m "Reset repo" $ git push heroku master 
like image 166
IT_puppet_master Avatar answered Jan 02 '23 23:01

IT_puppet_master


Having spoken to Heroku support recently regarding this, you can pass the below environment variables when pushing to your Heroku remote to reveal more about what's going on:

GIT_CURL_VERBOSE=1 GIT_TRACE=1 git push https://heroku:[email protected]/app-name.git develop:develop 
like image 43
adaam Avatar answered Jan 02 '23 22:01

adaam