cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
12684
Views
0
Helpful
1
Replies
kasai
Cisco Employee

opkg update is failing with server connection

I am able to pull the base images for ie4k but the opkg update is failing with below error:

 

iotg-u@iotg-u:~/sdk/capp$ sudo docker build -t capp:1.0 .
Sending build context to Docker daemon 4.096kB
Step 1/6 : FROM devhub-docker.cisco.com/iox-docker/ie4k/base-rootfs:latest as builder
---> 162e8a8f6a82
Step 2/6 : RUN sed -i 's/\(option http_auth iox_docker.gen:\).*/\AKCp5bAif2TtEvpouKmHpjWk5Jc94TXHv6vbD5QhqVuRutE16ZJXKSz2eSvrZUrceL4Ve6eF1/' /etc/opkg/opkg.conf
---> Using cache
---> 009aa38ef927
Step 3/6 : RUN opkg update
---> Running in 518e90a9e5a8
Collected errors:
* opkg_validate_cached_file: Failed to download https://devhub.cisco.com/artifactory/iox-opkg/yocto-1.7.2/ie4k/464/Packages.gz headers: Couldn't connect to server.
* opkg_validate_cached_file: Failed to download https://devhub.cisco.com/artifactory/iox-opkg/yocto-1.7.2/ie4k/ie4k_lxc/Packages.gz headers: Couldn't connect to server.
* opkg_validate_cached_file: Failed to download https://devhub.cisco.com/artifactory/iox-opkg/yocto-1.7.2/all/Packages.gz headers: Couldn't connect to server.
* opkg_validate_cached_file: Failed to download https://devhub.cisco.com/artifactory/iox-opkg-alpha/yocto-1.7.2/ie4k/464/Packages.gz headers: Couldn't connect to server.
* opkg_validate_cached_file: Failed to download https://devhub.cisco.com/artifactory/iox-opkg-alpha/yocto-1.7.2/ie4k/ie4k_lxc/Packages.gz headers: Couldn't connect to server.
* opkg_validate_cached_file: Failed to download https://devhub.cisco.com/artifactory/iox-opkg-alpha/yocto-1.7.2/all/Packages.gz headers: Couldn't connect to server.

 

Checks from my side:

1. config.json is correctly updated with proxy settings.2

2. Even the Docker daemon is started with dns option but no luck.

 

1 REPLY 1
Steve Zhang
Cisco Employee

Seems it did not connect the dev-hub successfully. Please make sure you could login the dev-hub first. For details, please refer to https://community.cisco.com/t5/cisco-iox-discussions/login-credentials-for-https-devhub-cisco-com/m-p/3696358.
Content for Community-Ad

This widget could not be displayed.