Proxy Settings for nRF Connect SDK 4.4.0

I stuck with installing Toolchain Manager (and some other components) behind a Proxy from inside a newly installed nRF Connect SDK 4.4.0.

Unfortunately I do not know where and how to set "--detect-proxy" or HTTP_PROXY environment (see error message below).

The target of the link inside documentation sends me to a non existing page (404)

This is the error message

Unable to install downloadable app.

Show technical details

Error: Failed with exit code 1.
Failed to bootstrap core functionality before executing command.

HTTP request to default bootstrap resource

  raw.githubusercontent.com/.../
master/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 (raw.githubusercontent.com/.../bootstrap.json): error trying to connect: proxy authentication required
    1: error trying to connect: proxy authentication required
    2: proxy authentication required.

Parents Reply Children
  • Hello Edvin,

    I was able to update to nRF Connect for Desktop v 4.4.1. Quite a lot update installations run now, except Board Configurator and Toolchain Manager.

    If installing nRF SDK v2.4.3 from Toolchain Manager the toolchain is installed correctly, but SDK is still missing - only an empty .west directory is created.

    Meanwhile I've found a workaround:

    • Uninstall SDK using Toolchain Manager
    • Remove all files and folders of corresponding toolchain and SDK manually if uninstall hasn't done the job yet completely
    • Install SDK first, then toolchain from within VS Studio Code -> Nordic WELCOME menu or screen:
      Manage SDKs -> Install SDK
      Manage toolchains -> Install Toolchain
      Manage SDKs -> Set Active SDK
      Manage toolchains -> Set Active Toolchain

    Best regards, 

    Matthiias

  • Hello Edvin,

    you can close this ticket.

    Yesterday we've found the reason why installation of only a few components fails - a git setting concerning proxy... sorry. 
    I would appreciate it if there would be an error message during installation if "git clone" or something similar failes.

    Best regards - Matthias

  • Thank you for the feedback, Matthias, I will forward it to our nRF Connect for Desktop developers.

    I do also know that there are plans to move away from git, since it is not available in all countries. However, I agree that it should give some feedback when things doesn't go as planned. That is something that several modules in the nRF Connect for Desktop should implement. 

    I am glad to hear that you figured it out!

    Cheers,

    Edvin

Related