Impossible Gitlab website access from remote

Hi! I installed gitlab on redhat 7 and I cannot get in by web browser.

[gitlab@stages ~]$ sudo gitlab-ctl status
run: gitlab-workhorse: (pid 3786) 4s; run: log: (pid 7598) 23755s
run: logrotate: (pid 3801) 4s; run: log: (pid 7697) 23747s
run: nginx: (pid 3790) 4s; run: log: (pid 7652) 23749s
run: postgresql: (pid 3823) 4s; run: log: (pid 7311) 23814s
run: redis: (pid 3811) 4s; run: log: (pid 7174) 23820s
run: sidekiq: (pid 3848) 2s; run: log: (pid 7552) 23757s
run: unicorn: (pid 3830) 3s; run: log: (pid 7497) 23763s

so everything seems to be ok,

also when I type in shell commandline:
[gitlab@stages ~]$ curl ‘http://xxxxxxx.com

You are being redirected.

but I cannot get access trough local machine web browser.

please advice.
regards,
Andrzej

Hi

There could be some configuration issues. Try to run rake commands to find if there is any issue.

Try Rake commands:

sudo gitlab-rake gitlab:check SANITIZE=true --trace
sudo gitlab-rake gitlab:gitlab_shell:check --trace
sudo gitlab-rake gitlab:sidekiq:check --trace

Check your firewall if anything is blocking you can run below commands

sudo firewall-cmd --permanent --add-service=http
sudo systemctl reload firewalld

Try doing reconfigure and restart

sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart

Hi!
Thanks for the response, but none of this helps. firewalld is off. restarting and reconfigurating doesn’t help as well.

Is there any directive in gitlab forbids/allows to connect from non localhost machines?

regards
Andrzej

Hi

What is the error you are seeing. 500 error or any other.
Can you check the log when you try to login to the webpage.

[gitlab@stages ~] gitlab-ctl tail production [gitlab@stages ~] gitlab-ctl tail ngnix

[gitlab@stages ~] cd /var/opt/gitlab/logs/ [gitlab@stages ~] cd ngninx/
[gitlab@stages ~]$ cd gitlab-rails

Have you enabled HTTPS?
Created any self signed certificates ?

Do you see any error (in red) in reconfigure command.
Is it possible for you to connect to the server in which Gitlab is installed via VNC view and open a browser and verify if it is accessible from the same machine bit not from other machines.