# ERROR: Get https://registry-1.docker.io/v2/

**URL:** <https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618>\
**Category:** Get Help\
**Created:** [April 13, 2017, 9:36am UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618 "2017-04-13T09:36:32Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![DZAUKER](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/dzauker/32/3013_2.png) [@DZAUKER](https://community.xibo.org.uk/u/DZAUKER)\
**Post date:** [April 13, 2017, 9:36am UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618/1 "2017-04-13T09:36:32Z")

</div>

Hello,

I’m trying to update Xibo to 1.8.1 but I got this error:

Creating network “xibodocker\_default” with the default driver  
Pulling cms-xmr (xibosignage/xibo-xmr:release\_1.8.1)…  
ERROR: Get [https://registry-1.docker.io/v2/:](https://registry-1.docker.io/v2/:) net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

No issues running the docker hello world test

docker run hello-world

It could be a proxy issue ?

---

<div class="post-metadata">

**Author:** ![alex](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/alex/32/5782_2.png) [@alex](https://community.xibo.org.uk/u/alex)\
**Post date:** [April 13, 2017, 10:00am UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618/2 "2017-04-13T10:00:18Z")

</div>

It’s definitely a connection issue. I presume you’ve retried a few times?

`docker run hello-world` won’t download anything if you’ve already run it once before, so that may not be diagnostic

---

<div class="post-metadata">

**Author:** ![DZAUKER](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/dzauker/32/3013_2.png) [@DZAUKER](https://community.xibo.org.uk/u/DZAUKER)\
**Post date:** [April 13, 2017, 10:01am UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618/3 "2017-04-13T10:01:01Z")

</div>

yes, I have tested many times ☹  
I’m in contact with our network team to see if we can bypass the proxy, I have no problem with standard apt commands.

---

<div class="post-metadata">

**Author:** ![alex](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/alex/32/5782_2.png) [@alex](https://community.xibo.org.uk/u/alex)\
**Post date:** [April 13, 2017, 10:02am UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618/4 "2017-04-13T10:02:27Z")

</div>

I presume when you say “update” you have a working 1.8.0 install with Docker? So the proxy setup you had was working before?

Is your HTTP\_PROXY environment variable set appropriately? apt has it’s own configuration and so the two aren’t valid tests.

---

<div class="post-metadata">

**Author:** ![DZAUKER](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/dzauker/32/3013_2.png) [@DZAUKER](https://community.xibo.org.uk/u/DZAUKER)\
**Post date:** [April 13, 2017, 10:04am UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618/5 "2017-04-13T10:04:52Z")

</div>

It’s complicated, I have prepared the virtual machine using VMWare Workstation and a non-proxed connection, it worked well, then I have deployed the VM to prouction ESXi environment (that’s behind a proxy).  
I have configured the Linux box proxy parameters( I have no problems with apt-get update etc etc) but I’m stuck with Docker.  
I will move again the VM from ESXi to VMWare for updating, then I will re-deploy it but it’s a waste of time ☹

EDIT

Also, I cannot ping the remote server:

C:\Users\thatguy\>ping [registry-1.docker.io](http://registry-1.docker.io)

Pinging [registry-1.docker.io](http://registry-1.docker.io) [34.239.237.19] with 32 bytes of data:  
Request timed out.  
Request timed out.

---

<div class="post-metadata">

**Author:** ![alex](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/alex/32/5782_2.png) [@alex](https://community.xibo.org.uk/u/alex)\
**Post date:** [April 13, 2017, 10:13am UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618/6 "2017-04-13T10:13:17Z")

</div>

If you can’t work around the proxy issues, you can transfer the images out of band.

So on a machine without proxy, run the following:

```
docker pull xibosignage/xibo-xmr:release_1.8.1
docker pull xibosignage/xibo-cms:release_1.8.1
docker pull mysql:5.6
docker save xibosignage/xibo-xmr:release_1.8.1 > xmr.tar.gz
docker save xibosignage/xibo-cms:release_1.8.1 > cms.tar.gz
docker save mysql:5.6 > mysql.tar.gz

```

Copy those three tar.gz files over to the production box, then run

```
docker load -i xmr.tar.gz
docker load -i cms.tar.gz
docker load -i mysql.tar.gz

```

Then do your `docker-compose up -d` or whatever as normal, and it won’t need to download those images.

---

<div class="post-metadata">

**Author:** ![alex](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/alex/32/5782_2.png) [@alex](https://community.xibo.org.uk/u/alex)\
**Post date:** [April 13, 2017, 10:16am UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618/7 "2017-04-13T10:16:32Z")

</div>

> [@DZAUKER](#):
>
> Also, I cannot ping the remote server:
> 
> C:\Users\thatguy\>ping [registry-1.docker.io](http://registry-1.docker.io)
> 
> Pinging [registry-1.docker.io](http://registry-1.docker.io) [34.239.237.19] with 32 bytes of data:Request timed out.Request timed out.

I can’t either, but I can pull from it. Those aren’t our servers. They’re the DockerHub public registry.

As I mentioned, `apt` uses different proxy settings to almost every other Linux command line tool that uses proxy settings. That `apt` works is not therefore diagnostic. Please check that when you run `env` in your console, the `HTTP_PROXY` environment variable is set and has the correct value.

---

<div class="post-metadata">

**Author:** ![DZAUKER](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/dzauker/32/3013_2.png) [@DZAUKER](https://community.xibo.org.uk/u/DZAUKER)\
**Post date:** [April 13, 2017, 11:41am UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618/8 "2017-04-13T11:41:50Z")

</div>

There’s a way to download these files without use Docker ?

---

<div class="post-metadata">

**Author:** ![alex](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/alex/32/5782_2.png) [@alex](https://community.xibo.org.uk/u/alex)\
**Post date:** [April 13, 2017, 11:59am UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618/9 "2017-04-13T11:59:15Z")

</div>

You need to use docker to download them because they are stored as multiple layers, each in it’s own file. Docker downloads and merges the appropriate layers to deliver the image your require, and then can save that as a tar.gz

---

<div class="post-metadata">

**Author:** ![DZAUKER](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/dzauker/32/3013_2.png) [@DZAUKER](https://community.xibo.org.uk/u/DZAUKER)\
**Post date:** [April 13, 2017, 3:05pm UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618/10 "2017-04-13T15:05:29Z")

</div>

A good idea would be that you provide these files as offline upgrading option 😉

---

<div class="post-metadata">

**Author:** ![alex](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/alex/32/5782_2.png) [@alex](https://community.xibo.org.uk/u/alex)\
**Post date:** [April 13, 2017, 3:17pm UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618/11 "2017-04-13T15:17:27Z")

</div>

They get rebuilt as the base image is updated (by Ubuntu in this case) so they’d be out of date, and potentially have security issues.

I’m not willing to commit to checking them every day and uploading them I’m afraid.

---

<div class="post-metadata">

**Author:** ![DZAUKER](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/dzauker/32/3013_2.png) [@DZAUKER](https://community.xibo.org.uk/u/DZAUKER)\
**Post date:** [April 18, 2017, 7:59am UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618/12 "2017-04-18T07:59:28Z")

</div>

UPDATE

I have successfully update xibo using Docker offline option.  
Unfortunately the proxy cannot be modified to allow Docker to pull the package ☹

---

<div class="post-metadata">

**Author:** ![alex](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/alex/32/5782_2.png) [@alex](https://community.xibo.org.uk/u/alex)\
**Post date:** [April 18, 2017, 11:02am UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618/13 "2017-04-18T11:02:02Z")

</div>

It just uses https so that seems very strange to me. It would mean that your proxy doesn’t allow HTTPS traffic through 😕

---

<div class="post-metadata">

**Author:** ![DZAUKER](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/dzauker/32/3013_2.png) [@DZAUKER](https://community.xibo.org.uk/u/DZAUKER)\
**Post date:** [April 26, 2017, 2:34pm UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618/14 "2017-04-26T14:34:01Z")

</div>

Very difficult to sort out… our proxy is a bit “nazi” for not approved connections.  
Anyway the offline installation is really a good thing !

---

<div class="post-metadata">

**Author:** ![system](https://community.xibo.org.uk/uploads/default/original/2X/a/a8759c2d8cc561474733895ac75beeb830f5d8ca.png) [@system](https://community.xibo.org.uk/u/system)\
**Post date:** [March 4, 2020, 5:07pm UTC](https://community.xibo.org.uk/t/error-get-https-registry-1-docker-io-v2/9618/15 "2020-03-04T17:07:07Z")

</div>

Closed on March 4, 2020, 5:07pm UTC


