Closed c4milo closed 8 years ago
@c4milo did you leave -e REGISTRY_STORAGE_S3_ACCESSKEY="" -e REGISTRY_STORAGE_S3_SECRETKEY=""
blank for the post, or do you really run your command that way?
If its the latter and you are using IAM roles to authenticate, just remove those two environment variables, they cause problems :fire:
That did it @djenriquez, thank you. The documentation is confusing then, it says those parameters are required.
cc @BrianBland
I am having this same issue or at least, the same symptoms - it's been working fine for weeks and now suddenly I get 503's with no clue as to the reason.
EDIT: This is the reason (for others reference):
time="2016-01-04T15:51:53.422028138Z" level=error msg="response completed with error" err.code="MANIFEST_UNKNOWN" err.detail="s3: The difference between the request time and the current time is too large." err.message="manifest unknown" go.version=go1.5.2 http.request.host=dockerregistry.blacksky.com http.request.id=bb5fd136-99de-482c-bbbb-54c4e9810acb http.request.method=GET http.request.remoteaddr="192.168.100.62:57683" http.request.uri="/v2/bsg/mission_control/manifests/0.0.21" http.request.useragent="docker/1.9.1 go/go1.4.2 git-commit/a34a1d5 kernel/3.19.0-15-generic os/linux arch/amd64" http.response.contenttype="application/json; charset=utf-8" http.response.duration=24.670284ms http.response.status=404 http.response.written=381 instance.id=d07825d1-442d-4d18-a28c-965e170c8508 service=registry vars.name="bsg/mission_control" vars.reference=0.0.21 version=v2.2.1
@jaychris : I see err.detail="s3: The difference between the request time and the current time is too large."
in your logs. Do you have clock skew on your server?
Closing.
docker run
starts the service just fine, it returns 200 when queried in/v2/
but after a couple of seconds it only returns 503 errors, including requests to/debug/health
Logs