我正在嘗試設置一個docker runner併成功註冊了與gitlab-ce的runner。然而,當作業運行它總是失敗,出現如下:Gitlab-ci-token用戶無法克隆版本庫
Running with gitlab-ci-multi-runner 1.10.2 (d171b73)
Using Docker executor with image python:3.4 ...
Starting service postgres:latest ...
Pulling docker image postgres:latest ...
Waiting for services to be up and running...
Pulling docker image python:3.4 ...
Running on runner-b35ff618-project-96-concurrent-0 via toucan...
Cloning repository...
Cloning into '/builds/amrstratus/webportal'...
fatal: unable to access 'https://gitlab-ci-token:[email protected]/amrstratus/webportal.git/': Failed to connect to gitlab.xxxxxx port 443: Connection refused
ERROR: Build failed: exit code 1
我想簡單地克隆庫,並得到了類似的錯誤:
[email protected]:/tmp# git clone https://gitlab-ci-token:[email protected]/amrstratus/webportal.git/
Cloning into 'webportal'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'https://gitlab-ci-token:[email protected]/amrstratus/webportal.git/'
通過HTTPS訪問似乎好工作和其他一切似乎工作。
任何想法?我完全卡住了。
系統細節:
Debian 8 (Jessie)
GitLab 8.16.2
GitLab Shell 4.1.1
GitLab Workhorse v1.3.0
GitLab API v3
Git 2.10.2
Ruby 2.3.3p222
Rails 4.2.7.1
PostgreSQL 9.6.1
謝謝,你的文章幫我弄清楚了這個問題。這不是一個身份驗證問題,而是一個與我的防火牆阻止請求相關的問題。使用 碼頭運行python:3.4/usr/bin/curl https://gitlab.xxxx 幫我解決了它。 –