Skip to content
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

crane: copy between public registries fails with unexpected status code 400 Bad Request: {"details":"invalid repository name"} #1741

Closed
matthewfeickert opened this issue Jun 21, 2023 · 2 comments · Fixed by #1743
Labels
bug Something isn't working

Comments

@matthewfeickert
Copy link

matthewfeickert commented Jun 21, 2023

Describe the bug

Hi. I'm experiencing a problem similar to Issue #1404 for two public image repositories that I own (source: https://gitlab.cern.ch/feickert/multiplatform-docker-build-example/container_registry, target: https://hub.docker.com/r/matthewfeickert/hep-simulation-stack). Here's my workflow:

To Reproduce

$ docker pull gcr.io/go-containerregistry/crane:debug
$ docker run --rm -it --entrypoint "/busybox/sh" gcr.io/go-containerregistry/crane:debug
/ # crane version
2472cbbbf289ba63c82649f2b7fd0fc5c9c4845c
/ # crane auth login docker.io -u matthewfeickert -p 'secret'
2023/06/21 15:18:42 logged in via /root/.docker/config.json
/ # crane validate --remote gitlab-registry.cern.ch/feickert/multiplatform-docker-build-example/hep-simulation-stack:debug
PASS: gitlab-registry.cern.ch/feickert/multiplatform-docker-build-example/hep-simulation-stack:debug
/ # crane validate --remote index.docker.io/matthewfeickert/hep-simulation-stack:latest
PASS: index.docker.io/matthewfeickert/hep-simulation-stack:latest
/ # crane copy gitlab-registry.cern.ch/feickert/multiplatform-docker-build-example/hep-simulation-stack:debug index.docker.io/matthewfeickert/hep-simulation-stack:latest
2023/06/21 15:28:00 existing blob: sha256:eab07d76182c7372f89134fd0e87c5b4188ba8cfb392ea59693c3dc13e1e92d8
2023/06/21 15:28:00 existing blob: sha256:f363414be586ff8e07811ddff526caeea7e6fe7397bea31873965192e96a1494
2023/06/21 15:28:00 existing blob: sha256:759700526b7894aa9c150feb2ebfcd00cf06d2890df739e71555edcfd13669e3
2023/06/21 15:28:00 existing blob: sha256:0167f939c9b58bec1e7ef553ba33cbd94584d3ec53663a22b009dfe8a48ccfc1
2023/06/21 15:28:00 existing blob: sha256:26fdba5dcbb4b12bb18ce6f9894ae569af59f750ec5e288adeec2a33bcd3d013
2023/06/21 15:28:00 existing blob: sha256:322a003635b312f06821119f8fc1d31e781250de7163a2426b1ed5f06e28b856
2023/06/21 15:28:00 existing blob: sha256:92ad4775570054c645678402c8b75eb489b8e05313c9ccd7867bb591266db4d8
2023/06/21 15:28:00 existing blob: sha256:fd1824a7075e24768d87d3a3126d5a7671319a0ab419e2a81fdda2113b0be483
2023/06/21 15:28:00 existing blob: sha256:7382d9c58fa5c6387ea3448262d0e9b606379d541dc831ae6333b85e5a0adfa7
2023/06/21 15:28:00 existing blob: sha256:787925d8e667f6396f1c34d819b03c7dc2b35535ca7f1075f4e610c08f9440c0
2023/06/21 15:28:00 existing blob: sha256:b56c2911faa47836058fa1390b8af1288610fa60842209993eb495b3e00a1361
2023/06/21 15:28:00 existing blob: sha256:3b9a1ef81cf71da85094ee030cec851e0d16703538a2b545be5171284b7cfce4
2023/06/21 15:28:00 existing blob: sha256:03525f140eaffeb3393aad0261d35b600f6008e234def2bacea6509e12763c57
2023/06/21 15:28:00 existing blob: sha256:2f18fd8064937ef2cc4a25db594623c3d3c77b4176d1c98017429068da7448b8
2023/06/21 15:28:00 existing blob: sha256:51f200ffec83ebb727a23ec1b56e82d07e4f648cb4fe1b35744631a3dc757957
2023/06/21 15:28:00 existing blob: sha256:757d1ab6ed1137e647a19797fe5fa3c5fa309ba79cba8034a376123ab02dea60
2023/06/21 15:28:00 existing blob: sha256:a1cf56ebc337020334e9eb64eea6041eee0703e11a48e37a9bf25169525fc569
2023/06/21 15:28:00 existing blob: sha256:ed71cdd088341e3ebcccb7a6de4654ff7022895cf66b160e6cde91d2a8ba28f0
2023/06/21 15:28:00 existing blob: sha256:bd29db6c7ebf6354034d25e781d41f9e98e78ab69e28d20c220e29995e54968a
2023/06/21 15:28:00 existing blob: sha256:6a6f315566a523716835cd3dc93077cdc90d3c5055dbfe1ff8d6f8d35df77fe0
2023/06/21 15:28:00 existing blob: sha256:93bd91783f8316b4f839e338800e3f982a3e2185970b0bb3e40d9480025708a3
2023/06/21 15:28:00 existing blob: sha256:37bb52c99a4cd3b3a731acbcb8acd8d8bffaf280812a36b645ffc3ea5e8d98a0
2023/06/21 15:28:00 existing blob: sha256:011f30d49f0d8d2be7453f51297c227b6fac879c8cf41a5a9985fe259f68ed79
2023/06/21 15:28:00 existing blob: sha256:ef92947120ddd6a222da47385c71cf5505814ccf24d1be349f5b03404e4d1ae5
2023/06/21 15:28:00 existing blob: sha256:fa41077097960e3ab42da0dcbaf8d3f33129890880cfbdfd23c4ae53c56fda34
2023/06/21 15:28:00 existing blob: sha256:1a6323f7254f11913dec73893bcb9c240e6ac25a052587ee3affb5b55f6d11e9
2023/06/21 15:28:00 existing blob: sha256:51187eb2af20294ac9f076bd9c59dec20f3a6fe44f5eb1b64036f6295188d12f
2023/06/21 15:28:00 existing blob: sha256:b318479a43de074bb4f0b7f9614be649aba51b3c91f1d058869b383d8bb40344
2023/06/21 15:28:00 existing blob: sha256:63d2426ee0427394daf8b8f43070b6acefee97e3ded0593f755d214e693f75a1
2023/06/21 15:28:00 existing blob: sha256:86eb2161904dcba517018511c3ff9ddbcf20331923eea8b8bf0593f1937d031b
2023/06/21 15:28:00 existing blob: sha256:6f7fcb58acd94530a334818705ac67db4dc942f6cb5d13ce454137a8f0401d62
2023/06/21 15:28:00 existing blob: sha256:0a8d0b0b961204f4378f9ef264e67b60cbfecef574aec38dcbd23da931c6c687
2023/06/21 15:28:01 existing blob: sha256:a60a3c1372dfa9effd1ba884f301d4b0db6262490fe3597b314e9c5fdf727d3d
2023/06/21 15:28:01 existing blob: sha256:f8611b607a258babd36093f272e0e4f94d802a1d917a8048783fb6d9189e3251
2023/06/21 15:28:01 existing blob: sha256:2357b735e4d1bf048f4955d1b4ca2c4ba40cda0926961b383a6a425c4a7d2e13
2023/06/21 15:28:01 existing blob: sha256:513d440aeb2cc9de5c89c5de725ec5fe58fe53d73a839315fd81d3b3193b38f6
2023/06/21 15:28:01 existing blob: sha256:09885fdd105034969e920347668da2f08543d2e8f66eb4dcb5252a3cf5516459
2023/06/21 15:28:01 existing blob: sha256:a7b1f14c168c12de055a2f09a5a6016df3c50faa5a1e0a274ab3615328b76d48
2023/06/21 15:28:01 existing blob: sha256:5cd705fb52d0b0ee4ea4692860999829165593ff5bf8ebc326b38bcf2e101fec
2023/06/21 15:28:01 existing blob: sha256:0e7036574bfd9e64744aa39aa644016b078ff4dc80cda4b7133933abfbc8e462
2023/06/21 15:28:01 existing blob: sha256:43486d8d9fa30b9ccc7af2ebc543cbe2d9f05e07f6063480e3b9adfa6e56c1a0
2023/06/21 15:28:01 existing blob: sha256:2f74e8f178c0c6df9a625263c7d0746a1cd1764ab368da2464015e6baea7a8f3
2023/06/21 15:28:01 existing blob: sha256:d5d870a41bab5aee5a7ddd7cf0cd5262d7cdcc4176e1b9e5bdc6923baf32b36c
2023/06/21 15:28:01 existing blob: sha256:b904b2f6df1afc26d8541effe967c2714be5f4ab6d22ece634c9d6a681e43fdd
2023/06/21 15:28:01 existing blob: sha256:bef430945a35b7767e1e17ebfe1ed95d3c74d184de5be02fd9346f2778e7e4a2
2023/06/21 15:28:01 existing blob: sha256:bd706c0553922e430ef23d40245548217b1bdcde1f6282699973e4bd2ea1c609
2023/06/21 15:28:01 existing blob: sha256:5c8e95158e464107a05756bd0f78027af453edb3fb248cee678b2d40c1ab4e8c
2023/06/21 15:28:01 existing blob: sha256:ac2122b957d7aad43ef4b289f146c3ebc7b74274025b2c7057c2af65890c5688
2023/06/21 15:28:01 existing blob: sha256:59288d6c68dc174203582a813326f29d1bfccd7a4831cb1e3f94e758107cf64f
2023/06/21 15:28:01 existing blob: sha256:6129af1c55778c2e100799181287c2da1cd2fa3e4836ab4be20c3d7db2e1093b
2023/06/21 15:28:01 existing blob: sha256:31e0d8aa495104533c955bced4aa38bd0200fc232bc6094ae0e31d25a6137c9f
2023/06/21 15:28:01 existing blob: sha256:998ed4b49d2e4a77b5dbc9580d3d882cda7a4abe3c542feda1fef587fcea53f8
2023/06/21 15:28:01 existing blob: sha256:cddea77db0a9261e9cff42152cfe49270049af86d1a79d3ab7a2496c6c34bcdf
2023/06/21 15:28:01 existing blob: sha256:da2ecb63ffbb44acc360130c46de2e559e55960672dce8c75ecf6dc99295e7a5
2023/06/21 15:28:01 retrying without mount: Post "https://index.docker.io/v2/matthewfeickert/hep-simulation-stack/blobs/uploads/?from=feickert%2Fmultiplatform-docker-build-example%2Fhep-simulation-stack&mount=sha256%3A3b2b39410ab25dbe02205d587a045a1d5c015966d5be6617fc6bc96de0402942&origin=gitlab-registry.cern.ch": GET https://auth.docker.io/token?scope=repository%3Amatthewfeickert%2Fhep-simulation-stack%3Apull%2Cpush+repository%3Afeickert%2Fmultiplatform-docker-build-example%2Fhep-simulation-stack%3Apull&scope=repository%3Amatthewfeickert%2Fhep-simulation-stack%3Apush%2Cpull&service=registry.docker.io: unexpected status code 400 Bad Request: {"details":"invalid repository name"}
2023/06/21 15:28:01 retrying without mount: Post "https://index.docker.io/v2/matthewfeickert/hep-simulation-stack/blobs/uploads/?from=feickert%2Fmultiplatform-docker-build-example%2Fhep-simulation-stack&mount=sha256%3A353d6d69d381c64f2ea24368a26c0fef477a4d048f35d041135fa8fa8d295208&origin=gitlab-registry.cern.ch": GET https://auth.docker.io/token?scope=repository%3Afeickert%2Fmultiplatform-docker-build-example%2Fhep-simulation-stack%3Apull+repository%3Amatthewfeickert%2Fhep-simulation-stack%3Apull%2Cpush&scope=repository%3Amatthewfeickert%2Fhep-simulation-stack%3Apull%2Cpush+repository%3Afeickert%2Fmultiplatform-docker-build-example%2Fhep-simulation-stack%3Apull&scope=repository%3Amatthewfeickert%2Fhep-simulation-stack%3Apush%2Cpull&service=registry.docker.io: unexpected status code 400 Bad Request: {"details":"invalid repository name"}

/ # 

This is extra confusing to me as this stopped working recently, but I have in the past successfully done this operation.

I'm experiencing the same thing with

$ crane version
0.15.2

on my local machine.

Does anyone have advice on how to proceed with debugging?

Expected behavior

For crane copy to successfully copy the image between the registries.

Additional context

Add any other context about the problem here.

  • Output of crane version
$ crane version
0.15.2

and

/ # crane version
2472cbbbf289ba63c82649f2b7fd0fc5c9c4845c
  • Registry used (e.g., GCR, ECR, Quay)

    • gitlab-registry.cern.ch (CERN GitLab container reigstry)
    • index.docker.io (Docker Hub)
@matthewfeickert
Copy link
Author

@jonjohnsonjr Thanks for the fast response on this. My apologies as I realize that in my rush I actually forgot to add my crane copy command to my original example (:grimacing:), which I've corrected there and in the below:

crane copy gitlab-registry.cern.ch/feickert/multiplatform-docker-build-example/hep-simulation-stack:debug index.docker.io/matthewfeickert/hep-simulation-stack:latest

Pulling gcr.io/go-containerregistry/crane:debug again so that I get

/ # crane version
fe268b7c97b3a0d6b4d593f81dc1b1b6569b6a98

(for others fe268b7 is the result of PR #1743)

With valid auth, I'm now not explicitly getting errors, but things are hanging without finishing with messages of the form "use of closed network connection":

/ # crane tag index.docker.io/matthewfeickert/hep-simulation-stack:latest crane-debug  # example just to show that I've authenticated correctly
2023/06/22 22:33:40 existing manifest: sha256:db2abc08e2fdcf0d9aa4fd0226a94748ec9632aba7d1945792ce57b2de64c28c
2023/06/22 22:33:40 existing manifest: sha256:d12fd5ae8db4617064df0a60884bf88c468e3ab5f5d244ed59c2571e669e6e64
2023/06/22 22:33:40 index.docker.io/matthewfeickert/hep-simulation-stack:crane-debug: digest: sha256:d9ceec0b0c605ae6c01c96af68dde0cbbc2629ff1eeca23cee599b2e0886d3b0 size: 685
/ # crane copy gitlab-registry.cern.ch/feickert/multiplatform-docker-build-example/hep-simulation-stack:debug index.docker.io/matthewfeickert/hep-simulation-stack:latest
2023/06/22 22:37:40 Copying from gitlab-registry.cern.ch/feickert/multiplatform-docker-build-example/hep-simulation-stack:debug to index.docker.io/matthewfeickert/hep-simulation-stack:latest
2023/06/22 22:37:42 existing blob: sha256:f363414be586ff8e07811ddff526caeea7e6fe7397bea31873965192e96a1494
2023/06/22 22:37:42 existing blob: sha256:0167f939c9b58bec1e7ef553ba33cbd94584d3ec53663a22b009dfe8a48ccfc1
2023/06/22 22:37:42 existing blob: sha256:759700526b7894aa9c150feb2ebfcd00cf06d2890df739e71555edcfd13669e3
2023/06/22 22:37:42 existing blob: sha256:322a003635b312f06821119f8fc1d31e781250de7163a2426b1ed5f06e28b856
2023/06/22 22:37:42 existing blob: sha256:eab07d76182c7372f89134fd0e87c5b4188ba8cfb392ea59693c3dc13e1e92d8
2023/06/22 22:37:42 existing blob: sha256:92ad4775570054c645678402c8b75eb489b8e05313c9ccd7867bb591266db4d8
2023/06/22 22:37:42 existing blob: sha256:26fdba5dcbb4b12bb18ce6f9894ae569af59f750ec5e288adeec2a33bcd3d013
2023/06/22 22:37:42 existing blob: sha256:fd1824a7075e24768d87d3a3126d5a7671319a0ab419e2a81fdda2113b0be483
2023/06/22 22:37:42 existing blob: sha256:787925d8e667f6396f1c34d819b03c7dc2b35535ca7f1075f4e610c08f9440c0
2023/06/22 22:37:42 existing blob: sha256:7382d9c58fa5c6387ea3448262d0e9b606379d541dc831ae6333b85e5a0adfa7
2023/06/22 22:37:42 existing blob: sha256:3b9a1ef81cf71da85094ee030cec851e0d16703538a2b545be5171284b7cfce4
2023/06/22 22:37:42 existing blob: sha256:03525f140eaffeb3393aad0261d35b600f6008e234def2bacea6509e12763c57
2023/06/22 22:37:42 existing blob: sha256:b56c2911faa47836058fa1390b8af1288610fa60842209993eb495b3e00a1361
2023/06/22 22:37:42 existing blob: sha256:51f200ffec83ebb727a23ec1b56e82d07e4f648cb4fe1b35744631a3dc757957
2023/06/22 22:37:42 existing blob: sha256:2f18fd8064937ef2cc4a25db594623c3d3c77b4176d1c98017429068da7448b8
2023/06/22 22:37:42 existing blob: sha256:757d1ab6ed1137e647a19797fe5fa3c5fa309ba79cba8034a376123ab02dea60
2023/06/22 22:37:42 existing blob: sha256:a1cf56ebc337020334e9eb64eea6041eee0703e11a48e37a9bf25169525fc569
2023/06/22 22:37:42 existing blob: sha256:ed71cdd088341e3ebcccb7a6de4654ff7022895cf66b160e6cde91d2a8ba28f0
2023/06/22 22:37:42 existing blob: sha256:bd29db6c7ebf6354034d25e781d41f9e98e78ab69e28d20c220e29995e54968a
2023/06/22 22:37:42 existing blob: sha256:6a6f315566a523716835cd3dc93077cdc90d3c5055dbfe1ff8d6f8d35df77fe0
2023/06/22 22:37:42 existing blob: sha256:93bd91783f8316b4f839e338800e3f982a3e2185970b0bb3e40d9480025708a3
2023/06/22 22:37:42 existing blob: sha256:37bb52c99a4cd3b3a731acbcb8acd8d8bffaf280812a36b645ffc3ea5e8d98a0
2023/06/22 22:37:42 existing blob: sha256:011f30d49f0d8d2be7453f51297c227b6fac879c8cf41a5a9985fe259f68ed79
2023/06/22 22:37:42 existing blob: sha256:ef92947120ddd6a222da47385c71cf5505814ccf24d1be349f5b03404e4d1ae5
2023/06/22 22:37:43 existing blob: sha256:1a6323f7254f11913dec73893bcb9c240e6ac25a052587ee3affb5b55f6d11e9
2023/06/22 22:37:43 existing blob: sha256:fa41077097960e3ab42da0dcbaf8d3f33129890880cfbdfd23c4ae53c56fda34
2023/06/22 22:37:43 existing blob: sha256:b318479a43de074bb4f0b7f9614be649aba51b3c91f1d058869b383d8bb40344
2023/06/22 22:37:43 existing blob: sha256:51187eb2af20294ac9f076bd9c59dec20f3a6fe44f5eb1b64036f6295188d12f
2023/06/22 22:37:43 existing blob: sha256:63d2426ee0427394daf8b8f43070b6acefee97e3ded0593f755d214e693f75a1
2023/06/22 22:37:43 existing blob: sha256:86eb2161904dcba517018511c3ff9ddbcf20331923eea8b8bf0593f1937d031b
2023/06/22 22:37:43 existing blob: sha256:0a8d0b0b961204f4378f9ef264e67b60cbfecef574aec38dcbd23da931c6c687
2023/06/22 22:37:43 existing blob: sha256:6f7fcb58acd94530a334818705ac67db4dc942f6cb5d13ce454137a8f0401d62
2023/06/22 22:37:43 existing blob: sha256:a60a3c1372dfa9effd1ba884f301d4b0db6262490fe3597b314e9c5fdf727d3d
2023/06/22 22:37:43 existing blob: sha256:2357b735e4d1bf048f4955d1b4ca2c4ba40cda0926961b383a6a425c4a7d2e13
2023/06/22 22:37:43 existing blob: sha256:f8611b607a258babd36093f272e0e4f94d802a1d917a8048783fb6d9189e3251
2023/06/22 22:37:43 existing blob: sha256:513d440aeb2cc9de5c89c5de725ec5fe58fe53d73a839315fd81d3b3193b38f6
2023/06/22 22:37:43 existing blob: sha256:a7b1f14c168c12de055a2f09a5a6016df3c50faa5a1e0a274ab3615328b76d48
2023/06/22 22:37:43 existing blob: sha256:09885fdd105034969e920347668da2f08543d2e8f66eb4dcb5252a3cf5516459
2023/06/22 22:37:43 existing blob: sha256:5cd705fb52d0b0ee4ea4692860999829165593ff5bf8ebc326b38bcf2e101fec
2023/06/22 22:37:43 existing blob: sha256:0e7036574bfd9e64744aa39aa644016b078ff4dc80cda4b7133933abfbc8e462
2023/06/22 22:37:43 existing blob: sha256:2f74e8f178c0c6df9a625263c7d0746a1cd1764ab368da2464015e6baea7a8f3
2023/06/22 22:37:43 existing blob: sha256:43486d8d9fa30b9ccc7af2ebc543cbe2d9f05e07f6063480e3b9adfa6e56c1a0
2023/06/22 22:37:43 existing blob: sha256:b904b2f6df1afc26d8541effe967c2714be5f4ab6d22ece634c9d6a681e43fdd
2023/06/22 22:37:43 existing blob: sha256:5c8e95158e464107a05756bd0f78027af453edb3fb248cee678b2d40c1ab4e8c
2023/06/22 22:37:43 existing blob: sha256:bef430945a35b7767e1e17ebfe1ed95d3c74d184de5be02fd9346f2778e7e4a2
2023/06/22 22:37:43 existing blob: sha256:d5d870a41bab5aee5a7ddd7cf0cd5262d7cdcc4176e1b9e5bdc6923baf32b36c
2023/06/22 22:37:43 existing blob: sha256:bd706c0553922e430ef23d40245548217b1bdcde1f6282699973e4bd2ea1c609
2023/06/22 22:37:43 existing blob: sha256:ac2122b957d7aad43ef4b289f146c3ebc7b74274025b2c7057c2af65890c5688
2023/06/22 22:37:43 existing blob: sha256:59288d6c68dc174203582a813326f29d1bfccd7a4831cb1e3f94e758107cf64f
2023/06/22 22:37:43 existing blob: sha256:6129af1c55778c2e100799181287c2da1cd2fa3e4836ab4be20c3d7db2e1093b
2023/06/22 22:37:43 existing blob: sha256:da2ecb63ffbb44acc360130c46de2e559e55960672dce8c75ecf6dc99295e7a5
2023/06/22 22:37:43 existing blob: sha256:31e0d8aa495104533c955bced4aa38bd0200fc232bc6094ae0e31d25a6137c9f
2023/06/22 22:37:43 existing blob: sha256:cddea77db0a9261e9cff42152cfe49270049af86d1a79d3ab7a2496c6c34bcdf
2023/06/22 22:37:43 existing blob: sha256:998ed4b49d2e4a77b5dbc9580d3d882cda7a4abe3c542feda1fef587fcea53f8
2023/06/22 22:46:02 retrying Patch "https://index.docker.io/v2/matthewfeickert/hep-simulation-stack/blobs/uploads/8afc0d53-537c-4bd1-bfbe-680412dee47a?_state=iQgrdaRCc7xPnDkRHN_JoWyoI2BcYpWj34Nb7srXigp7Ik5hbWUiOiJtYXR0aGV3ZmVpY2tlcnQvaGVwLXNpbXVsYXRpb24tc3RhY2siLCJVVUlEIjoiOGFmYzBkNTMtNTM3Yy00YmQxLWJmYmUtNjgwNDEyZGVlNDdhIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTA2LTIyVDIyOjM3OjQ0LjI2Nzg5MTgxWiJ9": use of closed network connection
2023/06/22 22:46:02 retrying Patch "https://index.docker.io/v2/matthewfeickert/hep-simulation-stack/blobs/uploads/f73ebe50-5428-47e6-92e4-c9116daa0a5d?_state=mrBGZxCy1zraHkHo9l9VXnVfLn763mOxs6qrBouDlAd7Ik5hbWUiOiJtYXR0aGV3ZmVpY2tlcnQvaGVwLXNpbXVsYXRpb24tc3RhY2siLCJVVUlEIjoiZjczZWJlNTAtNTQyOC00N2U2LTkyZTQtYzkxMTZkYWEwYTVkIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTA2LTIyVDIyOjM3OjQ0LjI0NjY4ODYzMloifQ%3D%3D": use of closed network connection
...

I'm guessing from #1609 (comment) that this is a problem on Docker Hub's side and not really crane's?

@matthewfeickert
Copy link
Author

Woops, just looks like it was a very very slow copy as it finally finished

...
2BcYpWj34Nb7srXigp7Ik5hbWUiOiJtYXR0aGV3ZmVpY2tlcnQvaGVwLXNpbXVsYXRpb24tc3RhY2siLCJVVUlEIjoiOGFmYzBkNTMtNTM3Yy00YmQxLWJmYmUtNjgwNDEyZGVlNDdhIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTA2LTIyVDIyOjM3OjQ0LjI2Nzg5MTgxWiJ9": use of closed network connection
2023/06/22 22:46:02 retrying Patch "https://index.docker.io/v2/matthewfeickert/hep-simulation-stack/blobs/uploads/f73ebe50-5428-47e6-92e4-c9116daa0a5d?_state=mrBGZxCy1zraHkHo9l9VXnVfLn763mOxs6qrBouDlAd7Ik5hbWUiOiJtYXR0aGV3ZmVpY2tlcnQvaGVwLXNpbXVsYXRpb24tc3RhY2siLCJVVUlEIjoiZjczZWJlNTAtNTQyOC00N2U2LTkyZTQtYzkxMTZkYWEwYTVkIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDIzLTA2LTIyVDIyOjM3OjQ0LjI0NjY4ODYzMloifQ%3D%3D": use of closed network connection
2023/06/22 22:54:26 pushed blob: sha256:353d6d69d381c64f2ea24368a26c0fef477a4d048f35d041135fa8fa8d295208
2023/06/22 22:54:27 index.docker.io/matthewfeickert/hep-simulation-stack@sha256:aa72b661e776ad3c16d895d78a00259907ef73a463ca396939c56006809b3e39: digest: sha256:aa72b661e776ad3c16d895d78a00259907ef73a463ca396939c56006809b3e39 size: 4665
2023/06/22 22:55:42 pushed blob: sha256:3b2b39410ab25dbe02205d587a045a1d5c015966d5be6617fc6bc96de0402942
2023/06/22 22:55:42 index.docker.io/matthewfeickert/hep-simulation-stack@sha256:99d56712743993f5f18f4921818a473faeccfd4cde2283f7e7119643f47cca46: digest: sha256:99d56712743993f5f18f4921818a473faeccfd4cde2283f7e7119643f47cca46 size: 4664
2023/06/22 22:55:42 index.docker.io/matthewfeickert/hep-simulation-stack:latest: digest: sha256:64c80968d422853079095a484bf248968c13d126de1c58b16162bc3606a4e88b size: 685
/ # crane copy gitlab-registry.cern.ch/feickert/multiplatform-docker-build-example/hep-simulation-stack:debug index.docker.io/matthewfeickert/hep-simulation-stack:latest
2023/06/22 22:56:54 Copying from gitlab-registry.cern.ch/feickert/multiplatform-docker-build-example/hep-simulation-stack:debug to index.docker.io/matthewfeickert/hep-simulation-stack:latest
2023/06/22 22:56:55 existing manifest: latest@sha256:64c80968d422853079095a484bf248968c13d126de1c58b16162bc3606a4e88b
/ # 

Thanks and never mind!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant