gitlab_rails['allowed_hosts'] might be the issue. at least for me. as many of gitlab functions do need localhost services. they don't have explicit hostnames allocated. not sure but for someone it might help.