0

我已经使用此处提供的文档设置了 gitlab 6.1 实例:https ://github.com/gitlabhq/gitlabhq/blob/6-1-stable/doc/install/installation.md

我还进行了所有检查,一切都是绿色的。

我还在 gitlab/config/gitlab.yml 中设置了 oauth 设置以使用 google 作为提供程序:

production: &base
  omniauth:
    enabled: true
    allow_single_sign_on: true
    block_auto_created_users: false
    providers:
      - { name: 'google_oauth2', app_id: 'XXXXX.apps.googleusercontent.com',
          app_secret: 'XXXXX',
          args: { access_type: 'offline', approval_prompt: '' } }

当我尝试使用 google oauth 身份验证连接到 gitlab 时,我得到 nginx 的回复“错误网关”。看着 gitlab 日志我没有太多:

E, [2013-09-24T18:30:27.609795 #1818] ERROR -- : worker=0 PID:1903 timeout (31s > 30s), killing
E, [2013-09-24T18:30:27.626498 #1818] ERROR -- : reaped #<Process::Status: pid 1903 SIGKILL (signal 9)> worker=0
I, [2013-09-24T18:30:27.661134 #2058]  INFO -- : worker=0 ready

你们知道是什么导致了这个问题,或者有什么关于在哪里看的提示吗?

4

0 回答 0