Reputation: 2218
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.
Upvotes: 27
Views: 5109
Reputation: 702
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
Upvotes: 37
Reputation: 89
Cleaning the heroku repo and then pushing again from scratch did the trick for me.
https://stackoverflow.com/a/37925714
Upvotes: 0
Reputation: 3706
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
Upvotes: 4
Reputation: 2218
This was resolved by Heroku and was apparently an error on their end.
Upvotes: 0
Reputation: 142632
There is a problem on the server.
Your remote git server didn't reply with the expected git response.
First of all check your server .bashrc
file. It might print error or there is a syntax problem with it.
Possible related questions:
https://askubuntu.com/questions/210381/git-fatal-protocol-error-bad-line-length-character-ssh
Git push results in fatal: protocol error: bad line length character: This
Strange error in gitlab: fatal: protocol error: bad line length character: Depl
Upvotes: 0