I have a gitlab-runner installed on an EC2 instance. Gitlab itself is installed on another instance. Using run, everything works fine (jobs will run if something is available):
> sudo gitlab-runner run ... Checking for jobs... nothing runner=95942e00
However it fails when starting the service
> sudo gitlab-runner --debug start Runtime platform arch=amd64 os=linux revision=35e8515d version=11.2.0 > sudo gitlab-runner status gitlab-runner: Service is running! > journalctl -f -u gitlab-runner Aug 28 02:11:05 ip-XXX-XXX-XXX-XXX.ec2.internal gitlab-runner: time="2018-08-28T02:11:05Z" level=warning msg="Checking for jobs... failed" runner=95942e00 status="couldn't execute POST against https://XXX>com/api/v4/jobs/request: Post https://XXX.com/api/v4/jobs/request: dial tcp XX.XX.XX.XX:443: connect: permission denied"
Any ideas where I can start looking?