Error on pushing git repo

I got the following error on pushing to my gitlab repo today:

fatal: protocol error: bad line length character: Fail

The issue was fixed by running the following command on the machine with gitlab installed:

sudo gitlab-ctl reconfigure

You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.