We’d like to download a RDK code to verify if our environment is ok to Build RDK code.

       Howerver we have run into some issues as below :

    Run this cmd is ok :  curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

      

root@tw-H87-HD3:~/rdkb# repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-20170327

gpg: keyring `/home/tw/.repoconfig/gnupg/secring.gpg' created

gpg: keyring `/home/tw/.repoconfig/gnupg/pubring.gpg' created

gpg: /home/tw/.repoconfig/gnupg/trustdb.gpg: trustdb created

gpg: key 920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported

gpg: key 692B382C: public key "Conley Owens <cco3@android.com>" imported

gpg: Total number processed: 2

gpg:               imported: 2  (RSA: 1)

 

fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle

fatal: error [Errno 101] Network is unreachable

 

       We have tried to use nslookup to find code.rdkcentral.com and code.rdkcentral.com ,then add this to /etc/hosts

34.192.125.120  code.rdkcentral.com

74.125.204.82   gerrit.googlesource.com

 

Still , the issue exit.

       So we hope:

1 . Could you help to give some advice on why we get unreachable network even we can use curl to download repo.

please help to give us the useful way to fix it

2. Is there any places we can direct download these code and get the correct build cmd related ? currently we cannot visit code.rdkcentral.com directly.

1 Comment

  1.        We’d like to download a RDK code to verify if our environment is ok to Build RDK code.

           Howerver we have run into some issues as below :

        Run this cmd is ok :  curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

          

    root@tw-H87-HD3:~/rdkb# repo init -u https://code.rdkcentral.com/r/manifests -m rdkb.xml -b rdkb-20170327

    gpg: keyring `/home/tw/.repoconfig/gnupg/secring.gpg' created

    gpg: keyring `/home/tw/.repoconfig/gnupg/pubring.gpg' created

    gpg: /home/tw/.repoconfig/gnupg/trustdb.gpg: trustdb created

    gpg: key 920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported

    gpg: key 692B382C: public key "Conley Owens <cco3@android.com>" imported

    gpg: Total number processed: 2

    gpg:               imported: 2  (RSA: 1)

     

    fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle

    fatal: error [Errno 101] Network is unreachable

     

           We have tried to use nslookup to find code.rdkcentral.com and code.rdkcentral.com ,then add this to /etc/hosts

    34.192.125.120  code.rdkcentral.com

    74.125.204.82   gerrit.googlesource.com

     

    Still , the issue exit.

           So we hope:

    1 . Could you help to give some advice on why we get unreachable network even we can use curl to download repo.

    please help to give us the useful way to fix it

    2. Is there any places we can direct download these code and get the correct build cmd related ? currently we cannot visit code.rdkcentral.com directly.