nrfUtil Offline Install Failing

Hello, 

I attempted to follow the nrfutil offline install instructions. However, I keep receiving the following error when trying to install the device package on the remote pc. 

Error: Failed to bootstrap core functionality before executing command.

HTTP request to default bootstrap resource

files.nordicsemi.com/.../bootstrap.json

failed.

Please check that your internet connection is functioning. If you use a proxy, please try the --detect-proxy flag or manually set the appropriate HTTP_PROXY-style environment variable(s).

To use a custom bootstrap config, set NRFUTIL_BOOTSTRAP_CONFIG_URL. To bootstrap directly from a nrfutil-core package tarball, set NRFUTIL_BOOTSTRAP_TARBALL_PATH.


Caused by:
0: error sending request for url (files.nordicsemi.com/.../bootstrap.json)
1: client error (Connect)
2: dns error: failed to lookup address information: Temporary failure in name resolution
3: failed to lookup address information: Temporary failure in name resolution

How can I fix this issue? I am really in need of getting this software installed on machines not connected to the internet. 

Thanks!

Parents
  • Hello,

    Have you verified that you are using the correct path to the USB drive? Please include the commands you are using, but feel free to omit any sensitive information.

    Best regards,

    Maria

  • Hi Maria,

    I retried the same process again this morning. Also, I am using the Linux version of nrfutil on Ubuntu. 

     1. Download nrfutil (linux) to usb stick

      2. Run ./nrfutil prepare-offline ./nrfutil-offline

      3. nrfutil offline preparation success

      4. Move usb to offline ubuntu machine

      5. Mount usb on ubuntu

      6. run ./nrfutil install trace --from-offline ./nrfutil-offline/

       7. Same error as above

    Thanks!

  • Hi,

    Thank you for your patience. It took me some time to find possible solutions to this issue.

    The core issue is that an upgraded version of nrfutil is needed to use the offline install, but upgrading needs access to the internet. The team is aware about this paradox, and there are two possible workarounds for now:

    1. When installing nrfutil online on a machine with internet access, a .bin is created in .nrfutil/bin/. you can use this binary to install the nrfutil commands offline.

    2. From your error log you can see a reference to NRFUTIL_BOOTSTRAP_TARBALL_PATH. This can be set to the path to a tarball of the nrfutil-core package. I don't have details on how to create or get this tarball, but I can request some details internally if you want to use this workaround.

    Best regards,

    Maria

Reply
  • Hi,

    Thank you for your patience. It took me some time to find possible solutions to this issue.

    The core issue is that an upgraded version of nrfutil is needed to use the offline install, but upgrading needs access to the internet. The team is aware about this paradox, and there are two possible workarounds for now:

    1. When installing nrfutil online on a machine with internet access, a .bin is created in .nrfutil/bin/. you can use this binary to install the nrfutil commands offline.

    2. From your error log you can see a reference to NRFUTIL_BOOTSTRAP_TARBALL_PATH. This can be set to the path to a tarball of the nrfutil-core package. I don't have details on how to create or get this tarball, but I can request some details internally if you want to use this workaround.

    Best regards,

    Maria

Children
No Data
Related