Encountering "net/http: timeout awaiting response headers" error when running imgpkg cli
search cancel

Encountering "net/http: timeout awaiting response headers" error when running imgpkg cli

book

Article ID: 429621

calendar_today

Updated On:

Products

VMware Tanzu Application Platform

Issue/Introduction

Users were attempting to relocate an image from the Broadcom registry to their own registry but failed with the following error.

$ imgpkg copy -b BUILDPACK-IMAGE-URL --to-repo ${INSTALL_REGISTRY_HOSTNAME}/${INSTALL_REPO}/tbs-deps/BUILDPACK-LANGUAGE

imgpkg: Error: Get "https://tanzu-build.packages.broadcom.com/v2/tanzu-nodejs-buildpack/nodejs/blobs/sha256:SOME-SHA": net/http: timeout awaiting response headers

 

Resolution

To successfully relocate an image from the Broadcom registry to own registry, users need to login to both Broadcom registry and own registry:

  • docker login tanzu-build.packages.broadcom.com
  • docker login ACR/ECR/etc..

Failure to do so will cause authentication or timeout error.