Skip to content

GRPC::Unavailable: 14:Connect Failed

Summary

Since GitLab-CE 10.5.0 - 10.5.6 (10.6.0 too) - installation from source, the 503 error is thrown on main page and on every page which works with repository. Page e.g. /help works fine.

Results of GitLab environment info

Expand for output related to GitLab environment info
System information
System:         Ubuntu 16.04
Current User:   git
Using RVM:      no
Ruby Version:   2.3.5p376
Gem Version:    2.5.2.1
Bundler Version:1.16.1
Rake Version:   12.3.0
Redis Version:  3.0.6
Git Version:    2.9.3
Sidekiq Version:5.0.5
Go Version:     go1.8.3 linux/386

GitLab information Version: 10.6.0-rc7 Revision: e9613d4 Directory: /home/git/gitlab DB Adapter: mysql2 URL: http://git HTTP Clone URL: http://git/some-group/some-project.git SSH Clone URL: git@git:some-group/some-project.git Using LDAP: no Using Omniauth: no

GitLab Shell Version: 6.0.4 Repository storage paths:

  • default: /home/git/repositories Hooks: /home/git/gitlab-shell/hooks Git: /usr/bin/git

Results of GitLab application Check

Expand for output related to the GitLab application check
Checking GitLab Shell ...

GitLab Shell version >= 6.0.4 ? ... OK (6.0.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 hooks directories in repos are links: ... David Hron / obcanstvi ... rake aborted! GRPC::Unavailable: 14:Connect Failed /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/grpc-1.10.0-x86-linux/src/ruby/lib/grpc/generic/active_call.rb:31:in check_status' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/grpc-1.10.0-x86-linux/src/ruby/lib/grpc/generic/active_call.rb:180:in attach_status_results_and_complete_call' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/grpc-1.10.0-x86-linux/src/ruby/lib/grpc/generic/active_call.rb:372:in request_response' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/grpc-1.10.0-x86-linux/src/ruby/lib/grpc/generic/client_stub.rb:178:in block in request_response' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/grpc-1.10.0-x86-linux/src/ruby/lib/grpc/generic/interceptors.rb:170:in intercept!' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/grpc-1.10.0-x86-linux/src/ruby/lib/grpc/generic/client_stub.rb:177:in request_response' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/grpc-1.10.0-x86-linux/src/ruby/lib/grpc/generic/service.rb:170:in block (3 levels) in rpc_stub_class' /home/git/gitlab/lib/gitlab/gitaly_client.rb:127:in call' /home/git/gitlab/lib/gitlab/gitaly_client/repository_service.rb:17:in exists?' /home/git/gitlab/lib/gitlab/git/repository.rb:142:in block in exists?' /home/git/gitlab/lib/gitlab/gitaly_client.rb:255:in block (2 levels) in migrate' /home/git/gitlab/lib/gitlab/gitaly_client.rb:293:in allow_n_plus_1_calls' /home/git/gitlab/lib/gitlab/gitaly_client.rb:250:in block in migrate' /home/git/gitlab/lib/gitlab/metrics/influx_db.rb:98:in measure' /home/git/gitlab/lib/gitlab/gitaly_client.rb:248:in migrate' /home/git/gitlab/lib/gitlab/git/repository.rb:140:in exists?' /home/git/gitlab/app/models/repository.rb:479:in exists?' /home/git/gitlab/lib/gitlab/repository_cache_adapter.rb:17:in block (2 levels) in cache_method' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache.rb:299:in block in fetch' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache.rb:585:in block in save_block_result_to_cache' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache.rb:547:in block in instrument' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:166:in instrument' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache.rb:547:in instrument' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache.rb:584:in save_block_result_to_cache' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.10/lib/active_support/cache.rb:299:in fetch' /home/git/gitlab/lib/gitlab/repository_cache.rb:22:in fetch' /home/git/gitlab/lib/gitlab/repository_cache_adapter.rb:54:in cache_method_output' /home/git/gitlab/lib/gitlab/repository_cache_adapter.rb:16:in block in cache_method' /home/git/gitlab/app/models/repository.rb:487:in empty?' /home/git/gitlab/app/models/project.rb:500:in empty_repo?' /home/git/gitlab/lib/tasks/gitlab/check.rake:186:in block in check_repos_hooks_directory_is_link' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/relation/batches.rb:51:in block (2 levels) in find_each' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/relation/batches.rb:51:in each' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/relation/batches.rb:51:in block in find_each' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/relation/batches.rb:124:in find_in_batches' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/relation/batches.rb:50:in find_each' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/querying.rb:9:in find_each' /home/git/gitlab/lib/tasks/gitlab/check.rake:182:in check_repos_hooks_directory_is_link' /home/git/gitlab/lib/tasks/gitlab/check.rake:51:in block (3 levels) in <top (required)>' /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/rake-12.3.0/exe/rake:27:in <top (required)>' /usr/local/bin/bundle:22:in load' /usr/local/bin/bundle:22:in ' Tasks: TOP => gitlab:check => gitlab:gitlab_shell:check (See full trace by running task with --trace)