카테고리 없음

GitLab 설치 후 502 GitLab is taking too much time to respond 에러가 발생할 때

노루아부지 2022. 1. 11. 09:22

GitLab을 설치 후, 브라우저에 접속하면 GitLab 설치 후 502 GitLab is taking too much time to respond 에러가 발생하며 접속이 안되는 경우가 있습니다.

이 경우 /etc/gitlab/gitlab.rb 파일에서 8080을 찾아서 전부 변경하면 됩니다.

 

단계는 다음과 같습니다.

    1. gitlab-ctl stop
    2. vi /etc/gitlab/gitlab.rb
    3. 다음 port를 안쓰는 port로 변경
      1. unicorn['port]=port
      2. external_url 'http://서버주소:port'
      3. puma['port'] = port 변경 후 주석해제
    4. gitlab-ctl reconfigure
    5. gitlab-ctl start

 

[참고]

  1. puma의 port가 이미 사용중이라 502오류가 발생하는 경우에는 gitlab-ctl tail puma 명령어를 사용하면 Errno::EADDRINUSE: Address already in use - bind(2) for "127.0.0.1" port 8080 오류가 발생하는 것을 볼 수 있습니다.
  2. gitlab.rb 파일을 변경 후 restart를 하면 안되고, 반드시 gitlab-ctl reconfigure 명령어 사용 후 재시작 해야 합니다.

 

[참고사이트]

https://forum.gitlab.com/t/502-whoops-gitlab-is-taking-too-much-time-to-respond/52522

 

502-Whoops, GitLab is taking too much time to respond

Аfter installing gitlab on my server (specifications below) I get the error “502-Whoops, GitLab is taking too much time to respond” when following the link I specified in /etc/gitlab/gitlab.rb external_url ‘http://185.183.120.92:7788’ I attach the

forum.gitlab.com

https://stackoverflow.com/questions/33254100/502-whoops-gitlab-is-taking-too-much-time-to-respond

 

502 Whoops, GitLab is taking too much time to respond

I installed Gitlab on Raspberry Pi2, and it had worked well for a couple of months. But since shutting down the power of RPi, it doesn't work anymore. The webpage returns 502 error. 502 Whoops, ...

stackoverflow.com

 

728x90
loading