Gitlab-shell Keeps giving error

Hello,

I have installed gitlab using this guide. Everything seems to be working, but when I run sudo -u gitlabusername -H bundle exec rake gitlab:check RAILS_ENV=production, I get the following error:

Check GitLab API access: FAILED: Failed to connect to internal API

This doesn’t give much of information on what might be wrong. I tried to look for possible errors on internet but couldn’t find anything. What is this referring to?