Gitlab Registry HTTP 403 response body: no error details found in HTTP response body
I am running gitlab-ce:8.10.3-ce.0 docker image in conjuction with a caddy proxy docker container to host a gitlab instance along with docker registry in gitlab. When I try docker login docker login docker.hostname.com I get the following errors locally and in the server logs
Other posts on this topic have not been helpful. I would mention this is also a backup restore, however the registry was replaced manually.
I am running docker version 1.12.0
[user@mickey]$ docker login docker.hostname.com
Username (wphesch):
Password:
Error response from daemon: Get https://docker.hostname.com/v2/: error parsing HTTP 403 response body: no error details found in HTTP response body: "{\"message\":\"forbidden\",\"status\":\"error\",\"http_status\":403}"
/var/log/gitlab/registry/current
2016-08-12_17:20:22.31891 time="2016-08-12T17:20:22.318759065Z" level=warning msg="error authorizing context: authorization token required" environment=production go.version=go1.5.4 http.request.host=docker.hostname.com http.request.id=b846900e-7af8-4d38-9cca-c552e95f4fb8 http.request.method=GET http.request.remoteaddr=10.1.1.14 http.request.uri="/v2/" http.request.useragent="docker/1.12.0 go/go1.6.3 git-commit/8eab29e kernel/3.10.0-123.el7.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.0 \\(linux\\))" instance.id=8c85ee13-7a9a-4ebc-b698-94e411aef73b service=registry version=v2.4.1
2016-08-12_17:20:22.31901 127.0.0.1 - - [12/Aug/2016:17:20:22 +0000] "GET /v2/ HTTP/1.0" 401 87 "" "docker/1.12.0 go/go1.6.3 git-commit/8eab29e kernel/3.10.0-123.el7.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/1.12.0 \\(linux\\))"
/var/opt/gitlab/registry/config.yml
version: 0.1
log:
level: info
fields:
service: registry
environment: production
storage: {"filesystem":{"rootdirectory":"/var/opt/gitlab/gitlab-rails/shared/registry"},"cache":{"blobdescriptor":"inmemory"},"delete":{"enabled":true}}
http:
addr: localhost:5000
secret: "c1f3d1540f4273375c501d3a603a43cc4ba151b1cb96b17b66b22bc520c8d77a4b6d7b8ac8a1966b38f7200afc60f3c1ab06ce22f804f4031248312c435fb6e1"
headers:
X-Content-Type-Options: [nosniff]
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3
auth:
token:
realm: http://git.hostname.com/jwt/auth
service: container_registry
issuer: omnibus-gitlab-issuer
rootcertbundle: /var/opt/gitlab/registry/gitlab-registry.crt
Any idea what i should try?