Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

Random 401 errors when converting private Docker hub repos #151

Open
iaguis opened this issue Apr 8, 2016 · 1 comment
Open

Random 401 errors when converting private Docker hub repos #151

iaguis opened this issue Apr 8, 2016 · 1 comment

Comments

@iaguis
Copy link
Member

iaguis commented Apr 8, 2016

I was trying to download a private image from the Docker hub and I seem to get random 401 errors:

$ docker2aci docker://secret/image
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:831a6feb5ab: [==============================] 67.5 MB/67.5 MB
Downloading sha256:b32559aac4d: [==============================] 71.5 KB/71.5 KB
Downloading sha256:e69473d2293: [==============================] 375 B/375 B
Downloading sha256:aa076096cff: [==============================] 681 B/681 B
Downloading sha256:423664404a4: [==============================] 1.87 MB/1.87 MB
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:dd5124cae42: [==============================] 82.4 MB/82.4 MB
Downloading sha256:7f543c8e669: [==============================] 167 B/167 B
Downloading sha256:b3af5d17d69: [==============================] 134 B/134 B
Downloading sha256:82dc3a16c6b: [==============================] 440 B/440 B
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:bce61c6891d: [==============================] 212 B/212 B
Downloading sha256:b743306e71c: [==============================] 250 B/250 B
Downloading sha256:6248b1d03b5: [==============================] 251 B/251 B
Downloading sha256:813090dac20: [==============================] 284 B/284 B
Downloading sha256:5f9ee7d9186: [==============================] 627 B/627 B
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:fdf856fb457: [==============================] 693 B/693 B
Downloading sha256:bd22983ac4d: [==============================] 301 B/301 B
Downloading sha256:3522a58d229: [==============================] 53.1 KB/53.1 KB
Downloading sha256:af0146629fd: [==============================] 152 B/152 B
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:37fd957517b: [==============================] 620 B/620 B
Downloading sha256:8df9f0eab75: [==============================] 114 B/114 B
Downloading sha256:0745ac20d57: [==============================] 17.2 MB/17.2 MB
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:310219923b0: [==============================] 2.04 KB/2.04 KB
Downloading sha256:96c40853498: [==============================] 3.9 MB/3.9 MB 
Downloading sha256:035f44f6dce: [==============================] 848 B/848 B
Downloading sha256:50ac0164b2b: [==============================] 328 B/328 B
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:876900f756f: [==============================] 24.7 MB/24.7 MB
Error: conversion error: error building layer: error getting the remote layer: HTTP code: 401. URL: https://registry-1.docker.io/v2/secret/image/blobs/sha256:b5510b4cdb3870eedcb1a5c0217d2ab9cbc73e6b4e278c54bc9d5d9cce5a5fc8
$ docker2aci docker://secret/image
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:831a6feb5ab: [==============================] 67.5 MB/67.5 MB
Downloading sha256:b32559aac4d: [==============================] 71.5 KB/71.5 KB
Downloading sha256:e69473d2293: [==============================] 375 B/375 B
Downloading sha256:aa076096cff: [==============================] 681 B/681 B
Downloading sha256:423664404a4: [==============================] 1.87 MB/1.87 MB
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:a3ed95caeb0: [==============================] 32 B/32 B
Downloading sha256:dd5124cae42: [==============================] 82.4 MB/82.4 MB
Error: conversion error: error building layer: error getting the remote layer: HTTP code: 401. URL: https://registry-1.docker.io/v2/secret/image/blobs/sha256:7f543c8e669fa02693667fdd2d3dfa75c3eaae2d72c5be08f43a0e44c5aa3272

cc @s-urbaniak

@iaguis iaguis added this to the 0.9.4 milestone Apr 8, 2016
@iaguis iaguis modified the milestones: v0.11.0, v0.9.4, v0.12.0 May 25, 2016
@iaguis iaguis modified the milestones: v0.12.0, v0.13.0 Jul 7, 2016
@lucab lucab modified the milestones: 0.14.0, v0.13.0 Oct 24, 2016
@lucab
Copy link
Contributor

lucab commented Oct 24, 2016

We haven't experienced this anymore in the wild, so I think it has been fixed in the meanwhile. I'm still keeping this open for the moment, but may close later if this is not spotted anymore.

@lucab lucab modified the milestones: vfuture, 0.14.0 Nov 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants