Error installing Gitlab on Red Hat 7

Hi! I was assigned a project to install GitLab on a server so i tried first on a lab server. I am running Red Hat Enterprise Linux Server release 7.3 (Maipo). I followed the stepts here https://about.gitlab.com/installation/#centos-7 but i am stuck at step 2. When i run this command

curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash

i am getting this error:

Downloading repository file: https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/config_file.repo?os=rhel&dist=7&source=script
curl: (7) Failed connect to packages.gitlab.com:443; Connection refused

Unable to run:
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/config_file.repo?os=rhel&dist=7&source=script

Double check your curl installation and try again.

I tried executing curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/config_file.repo?os=rhel&dist=7&source=script by itself but i am getting a 404, strange thing is that in my browser (outside the server) i am putting that URL and it gives me information. I configured the proxy, which is working because both curl google.com and curl https://packages.gitlab.com/ works, so i have internet access, do you know what’s happening? or what could be the problem? I didn’t find much information on google search, so i decided to come to the source, aka, here
Thanks a lot for help

1 Like