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
  • Update 2024/03/15

    Installation of  nRF Connect for Desktop v4.4.1 behind my proxy works. Using this new version installation of quite a lot of components works now for me - except of:

    • nPM PowerUP v1.2.1 and v1.2.0 (v1.1.1 can be installed)
    • Toolchain Manager v1.3.1 and v1.3.0 (v1.2.6 was installed successfully)

    Regards - Mattthias

    p.s.

    The Power Profiler v4.0.0 failes to get https://raw.githubusercontent.com/NordicSemiconductor on startup while v3.5.5 is still working.

    Are there other comonents not using browser like proxy protocol? They will suffer from the same problem.

  • Hello,

    I reached out to our Tools group, who are working on the nRF Connect for Desktop, and asked if they could look into this comment. I will let you know when I hear back from them.

    Best regards,

    Edvin

  • 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

Reply
  • 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

Children
Related