GitLab学习笔记:502-Whoops, GitLab is taking too much time to respond

GitLab学习笔记:报502错误,信息内容为502-Whoops, GitLab is taking too much time to respond

Gitlab服务器突然宕机,报:502-Whoops, GitLab is taking too much time to respond

GitLab学习笔记:502-Whoops, GitLab is taking too much time to respond_第1张图片
网上搜到解决办法:
https://gitlab.com/gitlab-org/gitlab-foss/-/issues/30095

Thank you for the guidance to resolve this problem. Now this problem is resolved by changing the unicorn worker time out.

修改Gitlab配置文件:/etc/gitlab/gitlab.rb

 unicorn['worker_timeout'] = 90

修改完配置文件后重启Gitlab服务,问题解决。
gitlab-ctl reconfigure不推荐使用,网上有帖子说会把一些过去的config还原,导致修改的端口以及域名等都没有了,但是我执行了没有出现这个问题。

gitlab-ctl reconfigure
gitlab-ctl stop
gitlab-ctl start
gitlab-ctl restart

你可能感兴趣的:(开发运维)