-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 building image: dial tcp i/o timeout occurs with v0.10.0 #711
Comments
I checked the relevant code about retrieving a remote image. And I doubt the error occurs in v0.10.0 because of the changes in vendor "github.com/google/go-containerregistry/pkg/v1/remote" between v0.9.0 and v0.10.0. |
Thanks for your reply. The problem has no relationship with golang image version. In fact, it occurs due to the commit dbc4da of go-containerregistry/pkg/v1/remote/transport/bearer.go. It overwrote the redirect scheme, causing failure when requesting an https registry but redirecting to another http downloading URL. And it is now fixed by commit ec69c4, so it should be fine when updating to the new version of go-containerregistry. |
@drpmma , I get the same error while i use the private registry. |
Actual behavior
The error: error building image: Get https://xxx/v2/xxx: dial tcp xx:443: i/o timeout occurs when running build process with v0.10.0. However, the same build process works totally fine in v0.9.0.
And the flags --skip-tls-verify-pull and --insecure-pull have no effect on this problem.
Expected behavior
Build and push success.
To Reproduce
Additional Information
Kaniko Image (fully qualified with digest)
gcr.io/kaniko-project/executor:latest (v0.10.0)
Digest: sha256:78d44ec4e9cb5545d7f85c1924695c89503ded86a59f92c7ae658afa3cff5400
log
The text was updated successfully, but these errors were encountered: