openruko/gitmouth

"error in sideband demultiplexer" after pushing

simonlopez opened this issue · 2 comments

When pushing to openruko, I've got the following message at the end:

-----> Launching... done v 12
http://mmxmax.mymachine.me/ deployed to Openruko

fatal: The remote end hung up unexpectedly
error: error in sideband demultiplexer
To ssh://mymachine.me:12222/mmxmax.git
4b63e8c..5b840c2 master -> master
error: failed to push some refs to 'ssh://z53.mymachine.me:12222/mmxmax.git'

Indeed, this error is quite frequent.

I tried to solve it with this stackoverflow, but it didn't work
http://stackoverflow.com/questions/9592908/error-in-sideband-demultiplexer-with-a-git-post-receive-hook

Looks like reading STDIN with `while read ...' in the post-receive hook (as well the pre-receive hook) fixes this. See openruko/codonhooks@a17c4b4