Error at docker login on registry

Hi,

i am trying to setup the registry feature on my private gitlab since this morning and i have an error at docker login why i try my config.

So there is my config gitlab.rb

 ###############################
# Container Registry settings #
###############################
# See https://docs.gitlab.com/ce/administration/container_registry.html
#

 registry_external_url 'https://registry.gitlab.company.net:4567'

## Settings used by GitLab application
 gitlab_rails['registry_enabled'] = true
 gitlab_rails['registry_host'] = "registry.company.net"
 gitlab_rails['registry_port'] = "5005"
 gitlab_rails['registry_path'] = "/var/opt/gitlab/gitlab-rails/shared/registry"
#
## Do not change the following 3 settings unless you know what you are doing
#
 gitlab_rails['registry_api_url'] = "http://localhost:5000"
 gitlab_rails['registry_key_path'] = "/var/opt/gitlab/gitlab-rails/certificate.key"
 gitlab_rails['registry_issuer'] = "omnibus-gitlab-issuer"

## Settings used by Registry application
 registry['enable'] = true
# registry['username'] = "registry"
# registry['group'] = "registry"
# registry['uid'] = nil
# registry['gid'] = nil
# registry['dir'] = "/var/opt/gitlab/registry"
# registry['registry_http_addr'] = "localhost:5000"
# registry['debug_addr'] = "localhost:5001"
# registry['log_directory'] = "/var/log/gitlab/registry"
# registry['log_level'] = "info"
# registry['rootcertbundle'] = "/etc/letsencrypt/live/gitlab.company.net/fullchain.pem"
# registry['storage_delete_enabled'] = true

 registry_nginx['ssl_certificate'] = "/etc/letsencrypt/live/registry.gitlab.company.net/cert.pem"
 registry_nginx['ssl_certificate_key'] = "/etc/letsencrypt/live/registry.gitlab.company.net/privkey.pem"
 registry_nginx['listen_port'] = 4567 

And the Apache configuration for the vhost

Listen 4567
<VirtualHost *:4567>
  ServerName registry.gitlab.company.net
  ServerSignature Off

  SSLEngine On
  SSLProtocol ALL -SSLv2 -SSLv3
  SSLHonorCipherOrder On
  SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!3DES:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA
  Header add Strict-Transport-Security: "max-age=15768000;includeSubdomains"
  SSLCertificateFile /etc/letsencrypt/live/registry.gitlab.company.net/fullchain.pem
  SSLCertificateKeyFile /etc/letsencrypt/live/registry.company.net/privkey.pem


  Header set Host "registry.gitlab.example.com:4567"
  RequestHeader set X-Forwarded-Proto "https"

  ProxyRequests Off
  ProxyPreserveHost On
  TimeOut 900

  <Location />

    Require all granted

    ProxyPass http://localhost:5000/ timeout=900
    ProxyPassReverse http://localhost:5000/
  </Location>

  ErrorLog /var/log/apache2/registry-error.log
  LogLevel warn
  CustomLog /var/log/apache2/registry-access.log combined
</VirtualHost>

Anf finally my error

Error response from daemon: Get https://registry.gitlab.company.net:4567/v2/: unauthorized: HTTP Basic: Access denied

Logs

==> /var/log/gitlab/gitlab-workhorse/current <==
2018-04-23_16:27:54.16065 gitlab.company.net 127.0.0.1:54267 - - [2018/04/23:18:27:54 +0200] "POST /api/v4/jobs/request HTTP/1.1" 204 0 "" "gitlab-runner 10.7.0 (10-7-stable; go1.8.7; linux/amd64)" 0.000
2018-04-23_16:27:57.16125 gitlab.company.net 127.0.0.1:54270 - - [2018/04/23:18:27:57 +0200] "POST /api/v4/jobs/request HTTP/1.1" 204 0 "" "gitlab-runner 10.7.0 (10-7-stable; go1.8.7; linux/amd64)" 0.000

==> /var/log/gitlab/registry/current <==
2018-04-23_16:27:58.76198 time="2018-04-23T18:27:58.752591913+02:00" level=warning msg="error authorizing context: authorization token required" environment=production go.version=go1.9.2 http.request.host="registry.company.net:4567" http.request.id=4612271c-09a2-4349-a9c9-6e7e964ff0df http.request.method=GET http.request.remoteaddr=193.70.72.120 http.request.uri="/v2/" http.request.useragent="docker/18.03.0-ce go/go1.9.4 git-commit/0520e24 kernel/4.9.0-6-amd64 os/linux arch/amd64 UpstreamClient(Docker-Client/18.03.0-ce \\(linux\\))" instance.id=783c74d4-4484-46ec-8280-c0b4d3a6dc50 service=registry version=v2.6.2-2-g91c17ef
2018-04-23_16:27:58.76838 127.0.0.1 - - [23/Apr/2018:18:27:58 +0200] "GET /v2/ HTTP/1.1" 401 87 "" "docker/18.03.0-ce go/go1.9.4 git-commit/0520e24 kernel/4.9.0-6-amd64 os/linux arch/amd64 UpstreamClient(Docker-Client/18.03.0-ce \\(linux\\))"

==> /var/log/gitlab/gitlab-rails/production.log <==
Started GET "/jwt/auth?account=toto&client_id=docker&offline_token=[FILTERED]&service=container_registry" for 177.177.177.177 at 2018-04-23 18:27:58 +0200
Processing by JwtController#auth as HTML
  Parameters: {"account"=>"toto", "client_id"=>"docker", "offline_token"=>"[FILTERED]", "service"=>"container_registry"}
Filter chain halted as :authenticate_project_or_user rendered or redirected
Completed 401 Unauthorized in 12ms (Views: 0.3ms | ActiveRecord: 1.5ms)

==> /var/log/gitlab/gitlab-rails/production_json.log <==
{"method":"GET","path":"/jwt/auth","format":"html","controller":"JwtController","action":"auth","status":401,"duration":13.08,"view":0.34,"db":1.52,"time":"2018-04-23T16:27:58.818Z","params":[{"key":"account","value":"toto"},{"key":"client_id","value":"docker"},{"key":"offline_token","value":"[FILTERED]"},{"key":"service","value":"container_registry"}],"remote_ip":"177.177.177.177","user_id":null,"username":null}

==> /var/log/gitlab/gitlab-workhorse/current <==
2018-04-23_16:27:58.83239 gitlab.arka-studio.net 127.0.0.1:54275 - - [2018/04/23:18:27:58 +0200] "GET /jwt/auth?account=toto&client_id=docker&offline_token=true&service=container_registry HTTP/1.1" 401 74 "" "docker/18.03.0-ce go/go1.9.4 git-commit/0520e24 kernel/4.9.0-6-amd64 os/linux arch/amd64 UpstreamClient(Docker-Client/18.03.0-ce \\(linux\\))" 0.034