Uploading artifacts to coordinator. Couldn't execute POST against. Connection refused
I'm running local CE and local Runner for CI. Runner is registered and uses custom docker image as environment. Gitlab version: 10.2.4
CI Log
Running with gitlab-ci-multi-runner 9.5.1 (96b34cc)
on ideacenter (e36023ef)
Using Docker executor with image docker:latest ...
Using docker image sha256:2f8e0975def0116fce7bf837a706a33d737605f0226c41f2bf94498ee5ce8ef2 for predefined container...
Pulling docker image docker:latest ...
Using docker image docker:latest ID=sha256:c366ed0677a88229d289aef46f788d4d333bb2fdd605ebdc41f7ab30778e4180 for build container...
Running on runner-e36023ef-project-140-concurrent-0 via ideacenter...
Fetching changes...
HEAD is now at c3e6621 Update .gitlab-ci.yml
Checking out c3e66216 as master...
Skipping Git submodules setup
$ clear
Uploading artifacts...
web/: found 2 matching files
ERROR: Uploading artifacts to coordinator... error error=couldn't execute POST against http://gitlab.dev/api/v4/jobs/229/artifacts?: Post http://gitlab.dev/api/v4/jobs/229/artifacts?: dial tcp 127.0.53.53:80: getsockopt: connection refused id=229 token=xxx
WARNING: Retrying...
ERROR: Uploading artifacts to coordinator... error error=couldn't execute POST against http://gitlab.dev/api/v4/jobs/229/artifacts?: Post http://gitlab.dev/api/v4/jobs/229/artifacts?: dial tcp 127.0.53.53:80: getsockopt: connection refused id=229 token=xxx
WARNING: Retrying...
ERROR: Uploading artifacts to coordinator... error error=couldn't execute POST against http://gitlab.dev/api/v4/jobs/229/artifacts?: Post http://gitlab.dev/api/v4/jobs/229/artifacts?: dial tcp 127.0.53.53:80: getsockopt: connection refused id=229 token=xxx
FATAL: invalid argument
ERROR: Job failed: exit code 1
Gitlab runner config.toml
concurrent = 1
check_interval = 0
[[runners]]
name = "ideacenter"
url = "http://gitlab.dev/"
token = "ххх"
executor = "docker"
[runners.docker]
tls_verify = false
image = "docker:latest"
privileged = false
disable_cache = false
volumes = ["/cache"]
extra_hosts = ["gitlab.dev:192.168.1.50"] # without this string don't work git clone
shm_size = 0
[runners.cache]
Gitlab check log:
Checking GitLab Shell ...
GitLab Shell version >= 5.9.4 ? ... OK (5.9.4)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:root, or git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
...
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Redis available via internal API: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Reply by email is disabled in config/gitlab.yml
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured correctly? ... yes
Database config exists? ... yes
All migrations up? ...
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config up to date? ... yes
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory exists? ... yes
Uploads directory has correct permissions? ... yes
Uploads directory tmp has correct permissions? ... yes
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
Redis version >= 2.8.0? ... yes
Ruby version >= 2.3.5 ? ... yes (2.3.5)
Git version >= 2.7.3 ? ... yes (2.13.6)
Git user has default SSH configuration? ... yes
Active users: ... 1
Checking GitLab ... Finished
Nginx vhost config:
upstream gitlab-workhorse {
server unix:/var/opt/gitlab/gitlab-workhorse/socket;
}
server {
listen *:80;
server_name gitlab.dev;
...
location ~ (\.git/gitlab-lfs/objects|\.git/info/lfs/objects/batch$) {
proxy_cache off;
proxy_pass http://gitlab-workhorse;
proxy_request_buffering off;
}
location / {
proxy_cache off;
proxy_pass http://gitlab-workhorse;
}
location /assets {
proxy_pass http://gitlab-workhorse;
}
}
Gitlab.rb
external_url: "http://gitlab.dev"
web_server['external_user'] = ['www-data']
nginx['enable'] = false
Gitlab shell config.yml
user: git
gitlab_url: "http://127.0.0.1:8080"