-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: "unauthorized: authentication required` in the middle of push process #22
Comments
Did you |
Yes of course, otherwise there would be no |
I noticed one more thing that is iportant here:
So I suppose token is expiring during push operation. |
In case when a pushing image has big size, pushing time can overhead default token expiry time. It can interrupt push process with token expire error. User can override default token expire time with TokenTTL option.
In case when a pushing image has big size, pushing time can overhead default token expiry time. It can interrupt push process with token expire error. User can override default token expire time with TokenTTL option.
added TokenTTL option for registry auth token #22
I think you are right, because I added You can try it with updated docker image with tag
and add # registry-admin config file
...
registry:
...
token_ttl: 3600 # value in seconds
...
... I will add release tag later, after thoroughly test of all changes. |
It works, thank you. I think we can close this ticket. |
I'm recieveing
unauthorized: authentication required
error in the middle of image push process:In logs I found:
I'm using NGINX Proxy Manager, so I'm not sure if it's actually registry-admin problem.
The text was updated successfully, but these errors were encountered: