error parsing HTTP 403 response body: invalid character ‘F’ looking for beginning of value: “Forbidden\n”

By September 13, 2017Linux

To fix this Gitlab error please edit your /etc/gitlab/gitlab.rb file and update your whitelist with

[raw] gitlab_rails[‘rack_attack_git_basic_auth’] = {
‘enabled’ => true,
‘ip_whitelist’ => [“, x.x.x.x”],
‘maxretry’ => 20,
‘findtime’ => 60,
‘bantime’ => 360

Replacing x.x.x.x with the IP you are trying to login with.

Then do [raw]gitlab-ctl reconfigure[/raw]

Bonus round, also [raw]docker login -u <your username> -p <token>[/raw] Should help.

Leave a Reply