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 401 when operations take more than 5min #526
Comments
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Same problem happening here. Slow Internet results in error 401 eventually. /remove-lifecycle stale |
I ran into the same issue. A solution for this would be highly appreciated. |
I also ran into the same issue. It seems that expires_in is set to 300 seconds for registry.redhat.io and if there is more than 5 minutes (300 seconds) between the initial token request and a subsequent access to registry.redhat.io, the access is denied due to the expired token. |
As a workaround for now I pulled the catalog images I want to mirror from using podman, retagged them and pushed them without signatures to my local registry to then use those images as the catalog for oc-mirror.
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
A solution for this issue would be really appreciated, I'm experiencing the same issue. |
Version
What happened?
What did you expect to happen?
When operations are too long i experience 401 error
How to reproduce it (as minimally and precisely as possible)?
Use
cpulimit
to artificially make tasks longer$ cpulimit -l 1 ./oc-mirror --config config.yml docker://localhost:5000 --dest-skip-tls --dest-use-http --verbose 9
Anything else we need to know?
my
config.yml
I suspect that after 5min auth with registry expire and there no refresh mecanism.
The text was updated successfully, but these errors were encountered: