Unable to install SDK via VS Code

I have installed nRF connect 2025.9.732 on my VS code Version: 1.103.2 on Ubuntu 22.04.

I am able to install the toolchains successful but I am getting this weird error message

[14:05:44] nrfutil-sdk-manager install,v3.1.0,--sdk-path,/home/akshay/ncs/v3.1.0,--type,nrf: Install toolchain v3.1.0
[14:05:44] nrfutil-sdk-manager install,v3.1.0,--sdk-path,/home/akshay/ncs/v3.1.0,--type,nrf: Toolchain with version v3.1.0 already installed: success
[14:05:44] nrfutil-sdk-manager install,v3.1.0,--sdk-path,/home/akshay/ncs/v3.1.0,--type,nrf: Calculating SDK checksum
[14:05:53] nrfutil-sdk-manager install,v3.1.0,--sdk-path,/home/akshay/ncs/v3.1.0,--type,nrf: Verified previously download file: success
[14:05:53] nrfutil-sdk-manager install,v3.1.0,--sdk-path,/home/akshay/ncs/v3.1.0,--type,nrf: Unpack SDK v3.1.0
[14:06:06] nrfutil-sdk-manager install,v3.1.0,--sdk-path,/home/akshay/ncs/v3.1.0,--type,nrf: Unpacked SDK tarball: success
[west]: usage: west [-h] [-z ZEPHYR_BASE] [-v] [-q] [-V] <command> ...
[west]: west: unknown command "zephyr-export"; workspace /home/akshay/ncs/v3.1.0 does not define this extension command -- try "west help" and "west -vv status"

[west]: exited with code 1.

[west]: FATAL ERROR: failed manifest import in zephyr (zephyr):
[west]:   Failed importing "west.yml" from revision "ncs-v3.1.0"
[west]:   Hint: zephyr must be cloned, owned by the user and its manifest-rev ref must point to a commit with the import data
[west]:   To fix, run "west update. If it still fails, try "west -vv ..."

[west]: exited with code 1.

[west]: FATAL ERROR: failed manifest import in zephyr (zephyr):
[west]:   Failed importing "west.yml" from revision "ncs-v3.1.0"
[west]:   Hint: zephyr must be cloned, owned by the user and its manifest-rev ref must point to a commit with the import data
[west]:   To fix, run "west update. If it still fails, try "west -vv ..."

[west]: exited with code 1.

I have west installed globally via pip, but I do NOT have ZEPHYR os installed in ~/zephyrproject.

I am not sure what that error is, do I have to go to /home/akshay/ncs/v3.1.0 and type west update?

Parents
  • I have an almost identical problem. I updated toolchain (using 'Manage toolchain') and SDK (using 'Manage SDKs'), both from a happily working v3.0.2. I'm running Windows 10 on a PC.


    Installs seemed to go OK but building my projects with these updates fail, exactly as per this thread. I tried suggested solution 'west update' and also 'west -v update'. Creating a new project with these updated tools also fails.


    Note that I am new to Zephyr and have no idea what these commands do. But they seemed to run OK. But underlying problem persists.

    Just a guess - Could it be a permissions thing ? Do I have to run VS Code as administrator to do these updates ?

  • I also have pretty much the same issue for macOS 15.6

  • Excellent work. Thank you. I know that must have taken ages. I am up and running again using a previous version (3.0.2). So I'm happy enough for now

  • Thank you everyone for your inputs. We will take a look at this.

    -Priyanka

  • Here is a debug log from nrfutil-sdk-manager.log

    [2025-09-12T05:41:44.822Z] [43933] INFO - [nrfutil_common::logger] nrfutil-sdk-manager (version = 1.6.2, platform = x86_64-unknown-linux-gnu, classification = nrf-external) invoked with install v3.1.0 --log-level debug 
    [2025-09-12T05:41:44.822Z] [43933] INFO - [nrfutil_sdk_manager::config::file] Loading config from default location
    [2025-09-12T05:41:44.822Z] [43933] INFO - [nrfutil_sdk_manager::config::file] Resolving configuration
    [2025-09-12T05:41:44.822Z] [43933] INFO - [kms_common] Environment variable 'NRFUTIL_SDK_MANAGER_TOOLCHAIN_REMOTE_CONFIG_TOKEN' not found for token access
    [2025-09-12T05:41:44.822Z] [43933] DEBUG - [ureq_proto::client] Call<Prepare>
    [2025-09-12T05:41:44.822Z] [43933] DEBUG - [ureq::run] GET https://files.nordicsemi.com/******
    [2025-09-12T05:41:45.093Z] [43933] DEBUG - [ureq::unversioned::resolver] Resolved: ArrayVec { len: 1, arr: [108.141.12.92:443] }
    [2025-09-12T05:41:45.358Z] [43933] DEBUG - [ureq::unversioned::transport::tcp] Connected TcpStream to 108.141.12.92:443
    [2025-09-12T05:41:45.364Z] [43933] DEBUG - [rustls::webpki::anchors] add_parsable_certificates processed 147 valid and 0 invalid certs
    [2025-09-12T05:41:45.364Z] [43933] DEBUG - [rustls_platform_verifier::verification::others] Loaded 147 CA root certificates from the system
    [2025-09-12T05:41:45.364Z] [43933] DEBUG - [rustls::client::hs] No cached session for DnsName("files.nordicsemi.com")
    [2025-09-12T05:41:45.364Z] [43933] DEBUG - [rustls::client::hs] Not resuming any session
    [2025-09-12T05:41:45.364Z] [43933] DEBUG - [ureq::tls::rustls] Wrapped TLS
    [2025-09-12T05:41:45.364Z] [43933] DEBUG - [ureq_proto::client] Call<SendRequest>
    [2025-09-12T05:41:45.364Z] [43933] DEBUG - [ureq::run] Request { method: GET, uri: https://files.nordicsemi.com/******, version: HTTP/1.1, headers: {"accept-encoding": "gzip", "user-agent": "ureq/3.1.0", "accept": "*/*", "host": "files.nordicsemi.com"} }
    [2025-09-12T05:41:45.698Z] [43933] DEBUG - [rustls::client::hs] ALPN protocol is None
    [2025-09-12T05:41:45.698Z] [43933] DEBUG - [rustls::client::hs] Using ciphersuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
    [2025-09-12T05:41:45.699Z] [43933] DEBUG - [rustls::client::tls12] ECDHE curve is EcParameters { curve_type: NamedCurve, named_group: X25519 }
    [2025-09-12T05:41:45.699Z] [43933] DEBUG - [rustls::client::tls12] Server DNS name is DnsName("files.nordicsemi.com")
    [2025-09-12T05:41:46.107Z] [43933] DEBUG - [ureq_proto::client] Call<RecvResponse>
    [2025-09-12T05:41:46.388Z] [43933] DEBUG - [ureq_proto::client] Call<RecvBody>
    [2025-09-12T05:41:46.388Z] [43933] DEBUG - [ureq::run] Response { status: 200, version: HTTP/1.1, headers: {"date": "Fri, 12 Sep 2025 05:41:46 GMT", "content-type": "application/json", "content-length": "1750", "connection": "keep-alive", "<NOTICE>": "12 HEADERS ARE REDACTED"} }
    [2025-09-12T05:41:46.388Z] [43933] DEBUG - [ureq_proto::client] Call<Cleanup>
    [2025-09-12T05:41:46.388Z] [43933] DEBUG - [ureq::pool] Pool gone: PoolKey { scheme: "https", authority: files.nordicsemi.com, proxy: None }
    [2025-09-12T05:41:46.388Z] [43933] INFO - [kms_common] Environment variable 'NRFUTIL_SDK_MANAGER_SDK_REMOTE_CONFIG_TOKEN' not found for token access
    [2025-09-12T05:41:46.388Z] [43933] DEBUG - [ureq_proto::client] Call<Prepare>
    [2025-09-12T05:41:46.388Z] [43933] DEBUG - [ureq::run] GET https://files.nordicsemi.com/******
    [2025-09-12T05:41:46.393Z] [43933] DEBUG - [ureq::unversioned::resolver] Resolved: ArrayVec { len: 1, arr: [108.141.12.92:443] }
    [2025-09-12T05:41:46.722Z] [43933] DEBUG - [ureq::unversioned::transport::tcp] Connected TcpStream to 108.141.12.92:443
    [2025-09-12T05:41:46.730Z] [43933] DEBUG - [rustls::webpki::anchors] add_parsable_certificates processed 147 valid and 0 invalid certs
    [2025-09-12T05:41:46.730Z] [43933] DEBUG - [rustls_platform_verifier::verification::others] Loaded 147 CA root certificates from the system
    [2025-09-12T05:41:46.730Z] [43933] DEBUG - [rustls::client::hs] No cached session for DnsName("files.nordicsemi.com")
    [2025-09-12T05:41:46.730Z] [43933] DEBUG - [rustls::client::hs] Not resuming any session
    [2025-09-12T05:41:46.730Z] [43933] DEBUG - [ureq::tls::rustls] Wrapped TLS
    [2025-09-12T05:41:46.730Z] [43933] DEBUG - [ureq_proto::client] Call<SendRequest>
    [2025-09-12T05:41:46.730Z] [43933] DEBUG - [ureq::run] Request { method: GET, uri: https://files.nordicsemi.com/******, version: HTTP/1.1, headers: {"accept-encoding": "gzip", "user-agent": "ureq/3.1.0", "accept": "*/*", "host": "files.nordicsemi.com"} }
    [2025-09-12T05:41:47.131Z] [43933] DEBUG - [rustls::client::hs] ALPN protocol is None
    [2025-09-12T05:41:47.131Z] [43933] DEBUG - [rustls::client::hs] Using ciphersuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
    [2025-09-12T05:41:47.131Z] [43933] DEBUG - [rustls::client::tls12] ECDHE curve is EcParameters { curve_type: NamedCurve, named_group: X25519 }
    [2025-09-12T05:41:47.131Z] [43933] DEBUG - [rustls::client::tls12] Server DNS name is DnsName("files.nordicsemi.com")
    [2025-09-12T05:41:47.439Z] [43933] DEBUG - [ureq_proto::client] Call<RecvResponse>
    [2025-09-12T05:41:47.746Z] [43933] DEBUG - [ureq_proto::client] Call<RecvBody>
    [2025-09-12T05:41:47.746Z] [43933] DEBUG - [ureq::run] Response { status: 200, version: HTTP/1.1, headers: {"date": "Fri, 12 Sep 2025 05:41:47 GMT", "content-type": "application/json", "content-length": "1044", "connection": "keep-alive", "<NOTICE>": "13 HEADERS ARE REDACTED"} }
    [2025-09-12T05:41:47.746Z] [43933] DEBUG - [ureq_proto::client] Call<Cleanup>
    [2025-09-12T05:41:47.746Z] [43933] DEBUG - [ureq::pool] Pool gone: PoolKey { scheme: "https", authority: files.nordicsemi.com, proxy: None }
    [2025-09-12T05:41:47.746Z] [43933] INFO - [nrfutil_sdk_manager::sdk::package_index] Downloading SDK package index from: https://files.nordicsemi.com/artifactory/ncs-src-mirror/external/sdk-manager/index.json
    [2025-09-12T05:41:47.746Z] [43933] DEBUG - [ureq_proto::client] Call<Prepare>
    [2025-09-12T05:41:47.746Z] [43933] DEBUG - [ureq::run] GET https://files.nordicsemi.com/******
    [2025-09-12T05:41:47.752Z] [43933] DEBUG - [ureq::unversioned::resolver] Resolved: ArrayVec { len: 1, arr: [108.141.12.92:443] }
    [2025-09-12T05:41:48.020Z] [43933] DEBUG - [ureq::unversioned::transport::tcp] Connected TcpStream to 108.141.12.92:443
    [2025-09-12T05:41:48.028Z] [43933] DEBUG - [rustls::webpki::anchors] add_parsable_certificates processed 147 valid and 0 invalid certs
    [2025-09-12T05:41:48.028Z] [43933] DEBUG - [rustls_platform_verifier::verification::others] Loaded 147 CA root certificates from the system
    [2025-09-12T05:41:48.028Z] [43933] DEBUG - [rustls::client::hs] No cached session for DnsName("files.nordicsemi.com")
    [2025-09-12T05:41:48.028Z] [43933] DEBUG - [rustls::client::hs] Not resuming any session
    [2025-09-12T05:41:48.028Z] [43933] DEBUG - [ureq::tls::rustls] Wrapped TLS
    [2025-09-12T05:41:48.028Z] [43933] DEBUG - [ureq_proto::client] Call<SendRequest>
    [2025-09-12T05:41:48.028Z] [43933] DEBUG - [ureq::run] Request { method: GET, uri: https://files.nordicsemi.com/******, version: HTTP/1.1, headers: {"accept-encoding": "gzip", "user-agent": "ureq/3.1.0", "accept": "*/*", "host": "files.nordicsemi.com"} }
    [2025-09-12T05:41:48.304Z] [43933] DEBUG - [rustls::client::hs] ALPN protocol is None
    [2025-09-12T05:41:48.304Z] [43933] DEBUG - [rustls::client::hs] Using ciphersuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
    [2025-09-12T05:41:48.306Z] [43933] DEBUG - [rustls::client::tls12] ECDHE curve is EcParameters { curve_type: NamedCurve, named_group: X25519 }
    [2025-09-12T05:41:48.306Z] [43933] DEBUG - [rustls::client::tls12] Server DNS name is DnsName("files.nordicsemi.com")
    [2025-09-12T05:41:48.667Z] [43933] DEBUG - [ureq_proto::client] Call<RecvResponse>
    [2025-09-12T05:41:48.981Z] [43933] DEBUG - [ureq_proto::client] Call<RecvBody>
    [2025-09-12T05:41:48.981Z] [43933] DEBUG - [ureq::run] Response { status: 200, version: HTTP/1.1, headers: {"date": "Fri, 12 Sep 2025 05:41:48 GMT", "content-type": "application/json", "content-length": "16280", "connection": "keep-alive", "<NOTICE>": "13 HEADERS ARE REDACTED"} }
    [2025-09-12T05:41:49.283Z] [43933] DEBUG - [ureq_proto::client] Call<Cleanup>
    [2025-09-12T05:41:49.283Z] [43933] DEBUG - [ureq::pool] Pool gone: PoolKey { scheme: "https", authority: files.nordicsemi.com, proxy: None }
    [2025-09-12T05:41:49.283Z] [43933] INFO - [toolchain_manager_core::sdk] Retrieving toolchains from file /home/akshay/ncs/toolchains/toolchains.json
    [2025-09-12T05:41:49.283Z] [43933] INFO - [toolchain_manager_core::index] Downloading from https://files.nordicsemi.com/artifactory/NCS/external/bundles/v3/index-linux-x86_64.json
    [2025-09-12T05:41:49.283Z] [43933] DEBUG - [ureq_proto::client] Call<Prepare>
    [2025-09-12T05:41:49.283Z] [43933] DEBUG - [ureq::run] GET https://files.nordicsemi.com/******
    [2025-09-12T05:41:49.289Z] [43933] DEBUG - [ureq::unversioned::resolver] Resolved: ArrayVec { len: 1, arr: [108.141.12.92:443] }
    [2025-09-12T05:41:49.589Z] [43933] DEBUG - [ureq::unversioned::transport::tcp] Connected TcpStream to 108.141.12.92:443
    [2025-09-12T05:41:49.595Z] [43933] DEBUG - [rustls::webpki::anchors] add_parsable_certificates processed 147 valid and 0 invalid certs
    [2025-09-12T05:41:49.595Z] [43933] DEBUG - [rustls_platform_verifier::verification::others] Loaded 147 CA root certificates from the system
    [2025-09-12T05:41:49.596Z] [43933] DEBUG - [rustls::client::hs] No cached session for DnsName("files.nordicsemi.com")
    [2025-09-12T05:41:49.596Z] [43933] DEBUG - [rustls::client::hs] Not resuming any session
    [2025-09-12T05:41:49.596Z] [43933] DEBUG - [ureq::tls::rustls] Wrapped TLS
    [2025-09-12T05:41:49.596Z] [43933] DEBUG - [ureq_proto::client] Call<SendRequest>
    [2025-09-12T05:41:49.596Z] [43933] DEBUG - [ureq::run] Request { method: GET, uri: https://files.nordicsemi.com/******, version: HTTP/1.1, headers: {"accept-encoding": "gzip", "user-agent": "ureq/3.1.0", "accept": "*/*", "host": "files.nordicsemi.com"} }
    [2025-09-12T05:41:49.896Z] [43933] DEBUG - [rustls::client::hs] ALPN protocol is None
    [2025-09-12T05:41:49.897Z] [43933] DEBUG - [rustls::client::hs] Using ciphersuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
    [2025-09-12T05:41:49.897Z] [43933] DEBUG - [rustls::client::tls12] ECDHE curve is EcParameters { curve_type: NamedCurve, named_group: X25519 }
    [2025-09-12T05:41:49.897Z] [43933] DEBUG - [rustls::client::tls12] Server DNS name is DnsName("files.nordicsemi.com")
    [2025-09-12T05:41:50.204Z] [43933] DEBUG - [ureq_proto::client] Call<RecvResponse>
    [2025-09-12T05:41:50.614Z] [43933] DEBUG - [ureq_proto::client] Call<RecvBody>
    [2025-09-12T05:41:50.614Z] [43933] DEBUG - [ureq::run] Response { status: 200, version: HTTP/1.1, headers: {"date": "Fri, 12 Sep 2025 05:41:50 GMT", "content-type": "application/json", "content-length": "56182", "connection": "keep-alive", "<NOTICE>": "12 HEADERS ARE REDACTED"} }
    [2025-09-12T05:41:50.614Z] [43933] INFO - [toolchain_manager_core::index] Get request to https://files.nordicsemi.com/artifactory/NCS/external/bundles/v3/index-linux-x86_64.json returned status code 200: OK
    [2025-09-12T05:41:51.229Z] [43933] DEBUG - [ureq_proto::client] Call<Cleanup>
    [2025-09-12T05:41:51.229Z] [43933] DEBUG - [ureq::pool] Pool gone: PoolKey { scheme: "https", authority: files.nordicsemi.com, proxy: None }
    [2025-09-12T05:41:51.229Z] [43933] INFO - [toolchain_manager_core::index] Download finished
    [2025-09-12T05:41:51.231Z] [43933] DEBUG - [toolchain_manager_core::install] Downloading version v3.1.0 from index
    [2025-09-12T05:41:51.232Z] [43933] INFO - [toolchain_manager_core::index] Downloading from https://publicburan.blob.core.windows.net/artifactory/NCS/external/bundles/v3/ncs-toolchain-x86_64-linux-c5be9c56c7.tar.gz to /home/akshay/ncs/downloads/ncs-toolchain-x86_64-linux-c5be9c56c7.tar.gz
    [2025-09-12T05:41:51.232Z] [43933] INFO - [nrfutil_http::download] No '-part' file found for resumable download
    [2025-09-12T05:41:51.232Z] [43933] DEBUG - [ureq_proto::client] Call<Prepare>
    [2025-09-12T05:41:51.232Z] [43933] DEBUG - [ureq::run] GET https://publicburan.blob.core.windows.net/******
    [2025-09-12T05:41:51.308Z] [43933] DEBUG - [ureq::unversioned::resolver] Resolved: ArrayVec { len: 1, arr: [20.150.37.196:443] }
    [2025-09-12T05:41:51.573Z] [43933] DEBUG - [ureq::unversioned::transport::tcp] Connected TcpStream to 20.150.37.196:443
    [2025-09-12T05:41:51.579Z] [43933] DEBUG - [rustls::webpki::anchors] add_parsable_certificates processed 147 valid and 0 invalid certs
    [2025-09-12T05:41:51.579Z] [43933] DEBUG - [rustls_platform_verifier::verification::others] Loaded 147 CA root certificates from the system
    [2025-09-12T05:41:51.579Z] [43933] DEBUG - [rustls::client::hs] No cached session for DnsName("publicburan.blob.core.windows.net")
    [2025-09-12T05:41:51.579Z] [43933] DEBUG - [rustls::client::hs] Not resuming any session
    [2025-09-12T05:41:51.579Z] [43933] DEBUG - [ureq::tls::rustls] Wrapped TLS
    [2025-09-12T05:41:51.579Z] [43933] DEBUG - [ureq_proto::client] Call<SendRequest>
    [2025-09-12T05:41:51.579Z] [43933] DEBUG - [ureq::run] Request { method: GET, uri: https://publicburan.blob.core.windows.net/******, version: HTTP/1.1, headers: {"accept-encoding": "gzip", "user-agent": "ureq/3.1.0", "accept": "*/*", "host": "publicburan.blob.core.windows.net"} }
    [2025-09-12T05:41:52.252Z] [43933] DEBUG - [rustls::client::hs] Using ciphersuite TLS13_AES_256_GCM_SHA384
    [2025-09-12T05:41:52.252Z] [43933] DEBUG - [rustls::client::tls13] Not resuming
    [2025-09-12T05:41:52.254Z] [43933] DEBUG - [rustls::client::tls13] TLS1.3 encrypted extensions: ServerExtensions { unknown_extensions: {}, .. }
    [2025-09-12T05:41:52.254Z] [43933] DEBUG - [rustls::client::hs] ALPN protocol is None
    [2025-09-12T05:41:52.254Z] [43933] DEBUG - [ureq_proto::client] Call<RecvResponse>
    [2025-09-12T05:41:52.577Z] [43933] DEBUG - [ureq_proto::client] Call<RecvBody>
    [2025-09-12T05:41:52.577Z] [43933] DEBUG - [ureq::run] Response { status: 200, version: HTTP/1.1, headers: {"content-length": "1094183885", "content-type": "application/octet-stream", "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "date": "Fri, 12 Sep 2025 05:41:52 GMT", "<NOTICE>": "6 HEADERS ARE REDACTED"} }
    [2025-09-12T05:41:52.577Z] [43933] INFO - [nrfutil_http::download] Server doesn't support partial content (status: 200, accept-ranges: None) - switching to complete download
    [2025-09-12T08:45:33.098Z] [43933] DEBUG - [ureq_proto::client] Call<Cleanup>
    [2025-09-12T08:45:33.098Z] [43933] DEBUG - [ureq::pool] Pool gone: PoolKey { scheme: "https", authority: publicburan.blob.core.windows.net, proxy: None }
    [2025-09-12T08:45:33.098Z] [43933] INFO - [toolchain_manager_core::index] Download finished
    [2025-09-12T08:45:33.098Z] [43933] INFO - [toolchain_manager_core::index] Verifying toolchain tarball /home/akshay/ncs/downloads/ncs-toolchain-x86_64-linux-c5be9c56c7.tar.gz
    [2025-09-12T08:45:46.663Z] [43933] INFO - [toolchain_manager_core::sdk] Retrieving toolchains from file /home/akshay/ncs/toolchains/toolchains.json
    [2025-09-12T08:45:46.663Z] [43933] INFO - [toolchain_manager_core::sdk] Retrieving toolchains from file /home/akshay/ncs/toolchains/toolchains.json
    [2025-09-12T08:45:46.663Z] [43933] INFO - [toolchain_manager_core] Registering the NcsToolchainConfig.cmake package
    [2025-09-12T08:45:46.669Z] [43933] DEBUG - [toolchain_manager_core] CMake stdout: 
    [2025-09-12T08:45:46.670Z] [43933] DEBUG - [toolchain_manager_core] CMake stderr: 
    [2025-09-12T08:45:46.670Z] [43933] INFO - [nrfutil_sdk_manager::sdk::package_index] Attempting download from 'https://publicburan.blob.core.windows.net/artifactory/ncs-src-mirror/external/sdk-nrf/v3.1.0/src.tar.gz'
    [2025-09-12T08:45:46.670Z] [43933] INFO - [nrfutil_http::download] No '-part' file found for resumable download
    [2025-09-12T08:45:46.670Z] [43933] DEBUG - [ureq_proto::client] Call<Prepare>
    [2025-09-12T08:45:46.670Z] [43933] DEBUG - [ureq::run] GET https://publicburan.blob.core.windows.net/******
    [2025-09-12T08:45:46.732Z] [43933] DEBUG - [ureq::unversioned::resolver] Resolved: ArrayVec { len: 1, arr: [20.150.37.196:443] }
    [2025-09-12T08:45:47.024Z] [43933] DEBUG - [ureq::unversioned::transport::tcp] Connected TcpStream to 20.150.37.196:443
    [2025-09-12T08:45:47.031Z] [43933] DEBUG - [rustls::webpki::anchors] add_parsable_certificates processed 147 valid and 0 invalid certs
    [2025-09-12T08:45:47.031Z] [43933] DEBUG - [rustls_platform_verifier::verification::others] Loaded 147 CA root certificates from the system
    [2025-09-12T08:45:47.031Z] [43933] DEBUG - [rustls::client::hs] No cached session for DnsName("publicburan.blob.core.windows.net")
    [2025-09-12T08:45:47.031Z] [43933] DEBUG - [rustls::client::hs] Not resuming any session
    [2025-09-12T08:45:47.031Z] [43933] DEBUG - [ureq::tls::rustls] Wrapped TLS
    [2025-09-12T08:45:47.031Z] [43933] DEBUG - [ureq_proto::client] Call<SendRequest>
    [2025-09-12T08:45:47.031Z] [43933] DEBUG - [ureq::run] Request { method: GET, uri: https://publicburan.blob.core.windows.net/******, version: HTTP/1.1, headers: {"accept-encoding": "gzip", "user-agent": "ureq/3.1.0", "accept": "*/*", "host": "publicburan.blob.core.windows.net"} }
    [2025-09-12T08:45:47.638Z] [43933] DEBUG - [rustls::client::hs] Using ciphersuite TLS13_AES_256_GCM_SHA384
    [2025-09-12T08:45:47.638Z] [43933] DEBUG - [rustls::client::tls13] Not resuming
    [2025-09-12T08:45:47.639Z] [43933] DEBUG - [rustls::client::tls13] TLS1.3 encrypted extensions: ServerExtensions { unknown_extensions: {}, .. }
    [2025-09-12T08:45:47.639Z] [43933] DEBUG - [rustls::client::hs] ALPN protocol is None
    [2025-09-12T08:45:47.640Z] [43933] DEBUG - [ureq_proto::client] Call<RecvResponse>
    [2025-09-12T08:45:48.003Z] [43933] DEBUG - [ureq_proto::client] Call<RecvBody>
    [2025-09-12T08:45:48.003Z] [43933] DEBUG - [ureq::run] Response { status: 200, version: HTTP/1.1, headers: {"content-length": "2688115278", "content-type": "application/octet-stream", "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "date": "Fri, 12 Sep 2025 08:45:47 GMT", "<NOTICE>": "6 HEADERS ARE REDACTED"} }
    [2025-09-12T08:45:48.003Z] [43933] INFO - [nrfutil_http::download] Server doesn't support partial content (status: 200, accept-ranges: None) - switching to complete download
    [2025-09-12T11:35:10.593Z] [43933] ERROR - [nrfutil_sdk_manager::sdk::package_index] Source 'https://publicburan.blob.core.windows.net/artifactory/ncs-src-mirror/external/sdk-nrf/v3.1.0/src.tar.gz' returned unexpected error: I/O Error: 
    [2025-09-12T11:35:10.593Z] [43933] INFO - [nrfutil_sdk_manager::sdk::package_index] Attempting download from 'https://files.nordicsemi.com/artifactory/ncs-src-mirror/external/sdk-nrf/v3.1.0/src.tar.gz'
    [2025-09-12T11:35:10.737Z] [43933] INFO - [nrfutil_http::download] Found '-part' file for resumable download: /home/akshay/ncs/downloads/sdk-nrf-bundle-v3.1.0.tar.gz-part
    [2025-09-12T11:35:10.737Z] [43933] DEBUG - [ureq_proto::client] Call<Prepare>
    [2025-09-12T11:35:10.737Z] [43933] DEBUG - [ureq::run] GET https://files.nordicsemi.com/******
    [2025-09-12T11:35:10.897Z] [43933] DEBUG - [ureq::unversioned::resolver] Resolved: ArrayVec { len: 1, arr: [108.141.12.92:443] }
    [2025-09-12T11:35:11.200Z] [43933] DEBUG - [ureq::unversioned::transport::tcp] Connected TcpStream to 108.141.12.92:443
    [2025-09-12T11:35:11.203Z] [43933] DEBUG - [rustls::webpki::anchors] add_parsable_certificates processed 147 valid and 0 invalid certs
    [2025-09-12T11:35:11.203Z] [43933] DEBUG - [rustls_platform_verifier::verification::others] Loaded 147 CA root certificates from the system
    [2025-09-12T11:35:11.203Z] [43933] DEBUG - [rustls::client::hs] No cached session for DnsName("files.nordicsemi.com")
    [2025-09-12T11:35:11.203Z] [43933] DEBUG - [rustls::client::hs] Not resuming any session
    [2025-09-12T11:35:11.203Z] [43933] DEBUG - [ureq::tls::rustls] Wrapped TLS
    [2025-09-12T11:35:11.203Z] [43933] DEBUG - [ureq_proto::client] Call<SendRequest>
    [2025-09-12T11:35:11.203Z] [43933] DEBUG - [ureq::run] Request { method: GET, uri: https://files.nordicsemi.com/******, version: HTTP/1.1, headers: {"accept-encoding": "gzip", "user-agent": "ureq/3.1.0", "accept": "*/*", "host": "files.nordicsemi.com"} }
    [2025-09-12T11:35:11.480Z] [43933] DEBUG - [rustls::client::hs] ALPN protocol is None
    [2025-09-12T11:35:11.480Z] [43933] DEBUG - [rustls::client::hs] Using ciphersuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
    [2025-09-12T11:35:11.480Z] [43933] DEBUG - [rustls::client::tls12] ECDHE curve is EcParameters { curve_type: NamedCurve, named_group: X25519 }
    [2025-09-12T11:35:11.481Z] [43933] DEBUG - [rustls::client::tls12] Server DNS name is DnsName("files.nordicsemi.com")
    [2025-09-12T11:35:11.816Z] [43933] DEBUG - [ureq_proto::client] Call<RecvResponse>
    [2025-09-12T11:35:12.121Z] [43933] DEBUG - [ureq_proto::client] Call<RecvBody>
    [2025-09-12T11:35:12.121Z] [43933] DEBUG - [ureq::run] Response { status: 200, version: HTTP/1.1, headers: {"date": "Fri, 12 Sep 2025 11:35:11 GMT", "content-type": "application/x-gzip", "content-length": "2688115278", "connection": "keep-alive", "<NOTICE>": "13 HEADERS ARE REDACTED"} }
    [2025-09-12T11:35:12.121Z] [43933] INFO - [nrfutil_http::download] Server supported partial content to resumable downloads are possible
    [2025-09-12T12:16:21.250Z] [43933] DEBUG - [ureq_proto::client] Call<Cleanup>
    [2025-09-12T12:16:21.250Z] [43933] DEBUG - [ureq::pool] Pool gone: PoolKey { scheme: "https", authority: files.nordicsemi.com, proxy: None }
    [2025-09-12T12:16:40.442Z] [43933] INFO - [toolchain_manager_core::sdk] Retrieving toolchains from file /home/akshay/ncs/toolchains/toolchains.json
    [2025-09-12T12:16:41.187Z] [43933] ERROR - [nrfutil_sdk_manager::sdk::register] Failed to run 'west zephyr-export' in SDK directory.
    Exit status: Some(1)
    Stdout: 
    Stderr: usage: west [-h] [-z ZEPHYR_BASE] [-v] [-q] [-V] <command> ...
    west: unknown command "zephyr-export"; workspace /home/akshay/ncs/v3.1.0 does not define this extension command -- try "west help" and "west -vv status"
    
    

    And nrfutil.log has only one line

    [2025-09-12T05:41:44.820Z] [43932] INFO - [nrfutil_common::logger] nrfutil (version = 8.1.1, platform = x86_64-unknown-linux-gnu, classification = nrf-external) invoked with sdk-manager install v3.1.0 --log-level debug 

  • Hi,

    Could you try to do nrfutil sdk-manager toolchain launch --ncs-version v3.1.0 --shell and run west zephyr-export from the root of the SDK v3.1.0 directory with that. That's all sdk-manager is doing.

    Also, as of sdk-manager v1.6.0 there is a separate sdk register command which runs this west zephyr-export command. The same underlying function is called as in the last step of the install. So you can try to run nrfutil sdk-manager sdk register v3.1.0 and report back on that too.

    -Priyanka

  • For your first suggestion, this is what I did-

    1. nrfutil sdk-manager toolchain launch --ncs-version v3.1.0 --shell
    2. cd ~/ncs/v3.1.0
    3. west zephyr-export

    And I get 

    usage: west [-h] [-z ZEPHYR_BASE] [-v] [-q] [-V] <command> ...
    west: unknown command "zephyr-export"; workspace /home/akshay/ncs/v3.1.0 does not define this extension command -- try "west help" and "west -vv status"

    This is on west v1.4.0

    For your second suggestion, this is the error:

    Error: Failed to run west zephyr-export in SDK directory '/home/akshay/ncs/v3.1.0'. Check the log for details.

    The log shows

    [2025-09-16T07:17:42.613Z] [25258] INFO - [nrfutil_common::logger] nrfutil-sdk-manager (version = 1.6.2, platform = x86_64-unknown-linux-gnu, classification = nrf-external) invoked with sdk register v3.1.0 
    [2025-09-16T07:17:42.613Z] [25258] INFO - [nrfutil_sdk_manager::config::file] Loading config from default location
    [2025-09-16T07:17:42.613Z] [25258] INFO - [toolchain_manager_core::sdk] Retrieving toolchains from file /home/akshay/ncs/toolchains/toolchains.json
    [2025-09-16T07:17:42.791Z] [25258] ERROR - [nrfutil_sdk_manager::sdk::register] Failed to run 'west zephyr-export' in SDK directory.
    Exit status: Some(1)
    Stdout: 
    Stderr: usage: west [-h] [-z ZEPHYR_BASE] [-v] [-q] [-V] <command> ...
    west: unknown command "zephyr-export"; workspace /home/akshay/ncs/v3.1.0 does not define this extension command -- try "west help" and "west -vv status"
    
    

    I feel there seems to be a west version mismatch. Is there a specific version you want me to install?

Reply
  • For your first suggestion, this is what I did-

    1. nrfutil sdk-manager toolchain launch --ncs-version v3.1.0 --shell
    2. cd ~/ncs/v3.1.0
    3. west zephyr-export

    And I get 

    usage: west [-h] [-z ZEPHYR_BASE] [-v] [-q] [-V] <command> ...
    west: unknown command "zephyr-export"; workspace /home/akshay/ncs/v3.1.0 does not define this extension command -- try "west help" and "west -vv status"

    This is on west v1.4.0

    For your second suggestion, this is the error:

    Error: Failed to run west zephyr-export in SDK directory '/home/akshay/ncs/v3.1.0'. Check the log for details.

    The log shows

    [2025-09-16T07:17:42.613Z] [25258] INFO - [nrfutil_common::logger] nrfutil-sdk-manager (version = 1.6.2, platform = x86_64-unknown-linux-gnu, classification = nrf-external) invoked with sdk register v3.1.0 
    [2025-09-16T07:17:42.613Z] [25258] INFO - [nrfutil_sdk_manager::config::file] Loading config from default location
    [2025-09-16T07:17:42.613Z] [25258] INFO - [toolchain_manager_core::sdk] Retrieving toolchains from file /home/akshay/ncs/toolchains/toolchains.json
    [2025-09-16T07:17:42.791Z] [25258] ERROR - [nrfutil_sdk_manager::sdk::register] Failed to run 'west zephyr-export' in SDK directory.
    Exit status: Some(1)
    Stdout: 
    Stderr: usage: west [-h] [-z ZEPHYR_BASE] [-v] [-q] [-V] <command> ...
    west: unknown command "zephyr-export"; workspace /home/akshay/ncs/v3.1.0 does not define this extension command -- try "west help" and "west -vv status"
    
    

    I feel there seems to be a west version mismatch. Is there a specific version you want me to install?

Children
  • Hi Akshay,

    I have reported this internally and we are trying to find the issue. I have also been able to reproduce similar issue on Windows.

    Will keep you updated.

    -Priyanka

  • Thank you. Just to let you know that v3.1.1 has the same issue

    nrfutil sdk-manager install v3.1.1
    [02:22:49] ###### 100% [Download toolchain v3.1.1] Toolchain downloaded
    [00:00:12] ###### 100% [Unpack toolchain v3.1.1] Toolchain unpacked to /home/akshay/ncs/tmp/.tmpZTFdDa
    [00:00:00] ###### 100% [Install toolchain v3.1.1] Toolchain installed at /home/akshay/ncs/toolchains/b2ecd2435d
    [01:21:55] ###### 100% [Download SDK v3.1.1] Download SDK v3.1.1
    [00:00:06] ###### 100% [Calculating SDK checksum] Verified download
    [00:00:14] ###### 100% [Unpack SDK v3.1.1] Unpacked SDK tarball
    Error: Failed to run west zephyr-export in SDK directory '/home/akshay/ncs/v3.1.1'. Check the log for details.

  • Hi Akshay,

    Could you provide the detailed logs for this as well?

    Also, maybe it could be that you have a topdir that shadows these path. Could you open a terminal with any toolchain available and go in the target folder and check topdir: 

    $ nrfutil sdk-manager toolchain launch --shell --ncs-version v3.1.1
    $ cd /home/akshay/ncs/v3.1.1
    $ west topdir
    <strong>/home/akshay/ncs/v3.1.1</strong>

    -Priyanka

  • Here is a full debug log for installing the SDK. FYI I had the binaries already downloaded, I uninstalled the SDK and reinstalled it with debug flag, so you may not see anything downloading

    [2025-09-19T07:51:59.513Z] [14744] INFO - [nrfutil_common::logger] nrfutil-sdk-manager (version = 1.6.2, platform = x86_64-unknown-linux-gnu, classification = nrf-external) invoked with install v3.1.1 --log-level debug 
    [2025-09-19T07:51:59.513Z] [14744] INFO - [nrfutil_sdk_manager::config::file] Loading config from default location
    [2025-09-19T07:51:59.513Z] [14744] INFO - [nrfutil_sdk_manager::config::file] Resolving configuration
    [2025-09-19T07:51:59.513Z] [14744] INFO - [kms_common] Environment variable 'NRFUTIL_SDK_MANAGER_TOOLCHAIN_REMOTE_CONFIG_TOKEN' not found for token access
    [2025-09-19T07:51:59.515Z] [14744] DEBUG - [ureq_proto::client] Call<Prepare>
    [2025-09-19T07:51:59.515Z] [14744] DEBUG - [ureq::run] GET https://files.nordicsemi.com/******
    [2025-09-19T07:51:59.614Z] [14744] DEBUG - [ureq::unversioned::resolver] Resolved: ArrayVec { len: 1, arr: [108.141.12.92:443] }
    [2025-09-19T07:51:59.879Z] [14744] DEBUG - [ureq::unversioned::transport::tcp] Connected TcpStream to 108.141.12.92:443
    [2025-09-19T07:51:59.895Z] [14744] DEBUG - [rustls::webpki::anchors] add_parsable_certificates processed 147 valid and 0 invalid certs
    [2025-09-19T07:51:59.895Z] [14744] DEBUG - [rustls_platform_verifier::verification::others] Loaded 147 CA root certificates from the system
    [2025-09-19T07:51:59.896Z] [14744] DEBUG - [rustls::client::hs] No cached session for DnsName("files.nordicsemi.com")
    [2025-09-19T07:51:59.896Z] [14744] DEBUG - [rustls::client::hs] Not resuming any session
    [2025-09-19T07:51:59.897Z] [14744] DEBUG - [ureq::tls::rustls] Wrapped TLS
    [2025-09-19T07:51:59.897Z] [14744] DEBUG - [ureq_proto::client] Call<SendRequest>
    [2025-09-19T07:51:59.897Z] [14744] DEBUG - [ureq::run] Request { method: GET, uri: https://files.nordicsemi.com/******, version: HTTP/1.1, headers: {"accept-encoding": "gzip", "user-agent": "ureq/3.1.0", "accept": "*/*", "host": "files.nordicsemi.com"} }
    [2025-09-19T07:52:00.203Z] [14744] DEBUG - [rustls::client::hs] ALPN protocol is None
    [2025-09-19T07:52:00.203Z] [14744] DEBUG - [rustls::client::hs] Using ciphersuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
    [2025-09-19T07:52:00.211Z] [14744] DEBUG - [rustls::client::tls12] ECDHE curve is EcParameters { curve_type: NamedCurve, named_group: X25519 }
    [2025-09-19T07:52:00.211Z] [14744] DEBUG - [rustls::client::tls12] Server DNS name is DnsName("files.nordicsemi.com")
    [2025-09-19T07:52:00.508Z] [14744] DEBUG - [ureq_proto::client] Call<RecvResponse>
    [2025-09-19T07:52:00.816Z] [14744] DEBUG - [ureq_proto::client] Call<RecvBody>
    [2025-09-19T07:52:00.816Z] [14744] DEBUG - [ureq::run] Response { status: 200, version: HTTP/1.1, headers: {"date": "Fri, 19 Sep 2025 07:52:00 GMT", "content-type": "application/json", "content-length": "1750", "connection": "keep-alive", "<NOTICE>": "12 HEADERS ARE REDACTED"} }
    [2025-09-19T07:52:00.816Z] [14744] DEBUG - [ureq_proto::client] Call<Cleanup>
    [2025-09-19T07:52:00.816Z] [14744] DEBUG - [ureq::pool] Pool gone: PoolKey { scheme: "https", authority: files.nordicsemi.com, proxy: None }
    [2025-09-19T07:52:00.817Z] [14744] INFO - [kms_common] Environment variable 'NRFUTIL_SDK_MANAGER_SDK_REMOTE_CONFIG_TOKEN' not found for token access
    [2025-09-19T07:52:00.817Z] [14744] DEBUG - [ureq_proto::client] Call<Prepare>
    [2025-09-19T07:52:00.817Z] [14744] DEBUG - [ureq::run] GET https://files.nordicsemi.com/******
    [2025-09-19T07:52:00.822Z] [14744] DEBUG - [ureq::unversioned::resolver] Resolved: ArrayVec { len: 1, arr: [108.141.12.92:443] }
    [2025-09-19T07:52:01.124Z] [14744] DEBUG - [ureq::unversioned::transport::tcp] Connected TcpStream to 108.141.12.92:443
    [2025-09-19T07:52:01.131Z] [14744] DEBUG - [rustls::webpki::anchors] add_parsable_certificates processed 147 valid and 0 invalid certs
    [2025-09-19T07:52:01.131Z] [14744] DEBUG - [rustls_platform_verifier::verification::others] Loaded 147 CA root certificates from the system
    [2025-09-19T07:52:01.131Z] [14744] DEBUG - [rustls::client::hs] No cached session for DnsName("files.nordicsemi.com")
    [2025-09-19T07:52:01.131Z] [14744] DEBUG - [rustls::client::hs] Not resuming any session
    [2025-09-19T07:52:01.131Z] [14744] DEBUG - [ureq::tls::rustls] Wrapped TLS
    [2025-09-19T07:52:01.131Z] [14744] DEBUG - [ureq_proto::client] Call<SendRequest>
    [2025-09-19T07:52:01.131Z] [14744] DEBUG - [ureq::run] Request { method: GET, uri: https://files.nordicsemi.com/******, version: HTTP/1.1, headers: {"accept-encoding": "gzip", "user-agent": "ureq/3.1.0", "accept": "*/*", "host": "files.nordicsemi.com"} }
    [2025-09-19T07:52:01.430Z] [14744] DEBUG - [rustls::client::hs] ALPN protocol is None
    [2025-09-19T07:52:01.430Z] [14744] DEBUG - [rustls::client::hs] Using ciphersuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
    [2025-09-19T07:52:01.430Z] [14744] DEBUG - [rustls::client::tls12] ECDHE curve is EcParameters { curve_type: NamedCurve, named_group: X25519 }
    [2025-09-19T07:52:01.430Z] [14744] DEBUG - [rustls::client::tls12] Server DNS name is DnsName("files.nordicsemi.com")
    [2025-09-19T07:52:01.738Z] [14744] DEBUG - [ureq_proto::client] Call<RecvResponse>
    [2025-09-19T07:52:02.017Z] [14744] DEBUG - [ureq_proto::client] Call<RecvBody>
    [2025-09-19T07:52:02.017Z] [14744] DEBUG - [ureq::run] Response { status: 200, version: HTTP/1.1, headers: {"date": "Fri, 19 Sep 2025 07:52:01 GMT", "content-type": "application/json", "content-length": "1044", "connection": "keep-alive", "<NOTICE>": "13 HEADERS ARE REDACTED"} }
    [2025-09-19T07:52:02.017Z] [14744] DEBUG - [ureq_proto::client] Call<Cleanup>
    [2025-09-19T07:52:02.017Z] [14744] DEBUG - [ureq::pool] Pool gone: PoolKey { scheme: "https", authority: files.nordicsemi.com, proxy: None }
    [2025-09-19T07:52:02.018Z] [14744] INFO - [nrfutil_sdk_manager::sdk::package_index] Downloading SDK package index from: https://files.nordicsemi.com/artifactory/ncs-src-mirror/external/sdk-manager/index.json
    [2025-09-19T07:52:02.018Z] [14744] DEBUG - [ureq_proto::client] Call<Prepare>
    [2025-09-19T07:52:02.018Z] [14744] DEBUG - [ureq::run] GET https://files.nordicsemi.com/******
    [2025-09-19T07:52:02.023Z] [14744] DEBUG - [ureq::unversioned::resolver] Resolved: ArrayVec { len: 1, arr: [108.141.12.92:443] }
    [2025-09-19T07:52:02.356Z] [14744] DEBUG - [ureq::unversioned::transport::tcp] Connected TcpStream to 108.141.12.92:443
    [2025-09-19T07:52:02.362Z] [14744] DEBUG - [rustls::webpki::anchors] add_parsable_certificates processed 147 valid and 0 invalid certs
    [2025-09-19T07:52:02.362Z] [14744] DEBUG - [rustls_platform_verifier::verification::others] Loaded 147 CA root certificates from the system
    [2025-09-19T07:52:02.362Z] [14744] DEBUG - [rustls::client::hs] No cached session for DnsName("files.nordicsemi.com")
    [2025-09-19T07:52:02.362Z] [14744] DEBUG - [rustls::client::hs] Not resuming any session
    [2025-09-19T07:52:02.362Z] [14744] DEBUG - [ureq::tls::rustls] Wrapped TLS
    [2025-09-19T07:52:02.362Z] [14744] DEBUG - [ureq_proto::client] Call<SendRequest>
    [2025-09-19T07:52:02.362Z] [14744] DEBUG - [ureq::run] Request { method: GET, uri: https://files.nordicsemi.com/******, version: HTTP/1.1, headers: {"accept-encoding": "gzip", "user-agent": "ureq/3.1.0", "accept": "*/*", "host": "files.nordicsemi.com"} }
    [2025-09-19T07:52:02.659Z] [14744] DEBUG - [rustls::client::hs] ALPN protocol is None
    [2025-09-19T07:52:02.659Z] [14744] DEBUG - [rustls::client::hs] Using ciphersuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
    [2025-09-19T07:52:02.659Z] [14744] DEBUG - [rustls::client::tls12] ECDHE curve is EcParameters { curve_type: NamedCurve, named_group: X25519 }
    [2025-09-19T07:52:02.659Z] [14744] DEBUG - [rustls::client::tls12] Server DNS name is DnsName("files.nordicsemi.com")
    [2025-09-19T07:52:02.928Z] [14744] DEBUG - [ureq_proto::client] Call<RecvResponse>
    [2025-09-19T07:52:03.276Z] [14744] DEBUG - [ureq_proto::client] Call<RecvBody>
    [2025-09-19T07:52:03.276Z] [14744] DEBUG - [ureq::run] Response { status: 200, version: HTTP/1.1, headers: {"date": "Fri, 19 Sep 2025 07:52:03 GMT", "content-type": "application/json", "content-length": "16984", "connection": "keep-alive", "<NOTICE>": "13 HEADERS ARE REDACTED"} }
    [2025-09-19T07:52:03.581Z] [14744] DEBUG - [ureq_proto::client] Call<Cleanup>
    [2025-09-19T07:52:03.581Z] [14744] DEBUG - [ureq::pool] Pool gone: PoolKey { scheme: "https", authority: files.nordicsemi.com, proxy: None }
    [2025-09-19T07:52:03.581Z] [14744] INFO - [toolchain_manager_core::sdk] Retrieving toolchains from file /home/akshay/ncs/toolchains/toolchains.json
    [2025-09-19T07:52:03.581Z] [14744] INFO - [toolchain_manager_core::index] Downloading from https://files.nordicsemi.com/artifactory/NCS/external/bundles/v3/index-linux-x86_64.json
    [2025-09-19T07:52:03.581Z] [14744] DEBUG - [ureq_proto::client] Call<Prepare>
    [2025-09-19T07:52:03.581Z] [14744] DEBUG - [ureq::run] GET https://files.nordicsemi.com/******
    [2025-09-19T07:52:03.587Z] [14744] DEBUG - [ureq::unversioned::resolver] Resolved: ArrayVec { len: 1, arr: [108.141.12.92:443] }
    [2025-09-19T07:52:03.888Z] [14744] DEBUG - [ureq::unversioned::transport::tcp] Connected TcpStream to 108.141.12.92:443
    [2025-09-19T07:52:03.894Z] [14744] DEBUG - [rustls::webpki::anchors] add_parsable_certificates processed 147 valid and 0 invalid certs
    [2025-09-19T07:52:03.894Z] [14744] DEBUG - [rustls_platform_verifier::verification::others] Loaded 147 CA root certificates from the system
    [2025-09-19T07:52:03.894Z] [14744] DEBUG - [rustls::client::hs] No cached session for DnsName("files.nordicsemi.com")
    [2025-09-19T07:52:03.894Z] [14744] DEBUG - [rustls::client::hs] Not resuming any session
    [2025-09-19T07:52:03.894Z] [14744] DEBUG - [ureq::tls::rustls] Wrapped TLS
    [2025-09-19T07:52:03.894Z] [14744] DEBUG - [ureq_proto::client] Call<SendRequest>
    [2025-09-19T07:52:03.894Z] [14744] DEBUG - [ureq::run] Request { method: GET, uri: https://files.nordicsemi.com/******, version: HTTP/1.1, headers: {"accept-encoding": "gzip", "user-agent": "ureq/3.1.0", "accept": "*/*", "host": "files.nordicsemi.com"} }
    [2025-09-19T07:52:04.197Z] [14744] DEBUG - [rustls::client::hs] ALPN protocol is None
    [2025-09-19T07:52:04.197Z] [14744] DEBUG - [rustls::client::hs] Using ciphersuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
    [2025-09-19T07:52:04.197Z] [14744] DEBUG - [rustls::client::tls12] ECDHE curve is EcParameters { curve_type: NamedCurve, named_group: X25519 }
    [2025-09-19T07:52:04.197Z] [14744] DEBUG - [rustls::client::tls12] Server DNS name is DnsName("files.nordicsemi.com")
    [2025-09-19T07:52:04.502Z] [14744] DEBUG - [ureq_proto::client] Call<RecvResponse>
    [2025-09-19T07:52:04.781Z] [14744] DEBUG - [ureq_proto::client] Call<RecvBody>
    [2025-09-19T07:52:04.781Z] [14744] DEBUG - [ureq::run] Response { status: 200, version: HTTP/1.1, headers: {"date": "Fri, 19 Sep 2025 07:52:04 GMT", "content-type": "application/json", "content-length": "57395", "connection": "keep-alive", "<NOTICE>": "12 HEADERS ARE REDACTED"} }
    [2025-09-19T07:52:04.781Z] [14744] INFO - [toolchain_manager_core::index] Get request to https://files.nordicsemi.com/artifactory/NCS/external/bundles/v3/index-linux-x86_64.json returned status code 200: OK
    [2025-09-19T07:52:05.424Z] [14744] DEBUG - [ureq_proto::client] Call<Cleanup>
    [2025-09-19T07:52:05.424Z] [14744] DEBUG - [ureq::pool] Pool gone: PoolKey { scheme: "https", authority: files.nordicsemi.com, proxy: None }
    [2025-09-19T07:52:05.425Z] [14744] INFO - [toolchain_manager_core::index] Download finished
    [2025-09-19T07:52:05.431Z] [14744] DEBUG - [toolchain_manager_core::install] Downloading version v3.1.1 from index
    [2025-09-19T07:52:05.432Z] [14744] INFO - [toolchain_manager_core::index] Toolchain tarball /home/akshay/ncs/downloads/ncs-toolchain-x86_64-linux-b2ecd2435d.tar.gz already exists, checking if it has the correct sha512 checksum
    [2025-09-19T07:52:08.295Z] [14744] INFO - [toolchain_manager_core::index] Previously downloaded file /home/akshay/ncs/downloads/ncs-toolchain-x86_64-linux-b2ecd2435d.tar.gz passed the checksum verification
    [2025-09-19T07:52:19.863Z] [14744] INFO - [toolchain_manager_core::sdk] Retrieving toolchains from file /home/akshay/ncs/toolchains/toolchains.json
    [2025-09-19T07:52:19.863Z] [14744] INFO - [toolchain_manager_core::sdk] Retrieving toolchains from file /home/akshay/ncs/toolchains/toolchains.json
    [2025-09-19T07:52:19.863Z] [14744] INFO - [toolchain_manager_core] Registering the NcsToolchainConfig.cmake package
    [2025-09-19T07:52:19.871Z] [14744] DEBUG - [toolchain_manager_core] CMake stdout: 
    [2025-09-19T07:52:19.871Z] [14744] DEBUG - [toolchain_manager_core] CMake stderr: 
    [2025-09-19T07:52:39.004Z] [14744] INFO - [toolchain_manager_core::sdk] Retrieving toolchains from file /home/akshay/ncs/toolchains/toolchains.json
    [2025-09-19T07:52:39.632Z] [14744] ERROR - [nrfutil_sdk_manager::sdk::register] Failed to run 'west zephyr-export' in SDK directory.
    Exit status: Some(1)
    Stdout: 
    Stderr: usage: west [-h] [-z ZEPHYR_BASE] [-v] [-q] [-V] <command> ...
    west: unknown command "zephyr-export"; workspace /home/akshay/ncs/v3.1.1 does not define this extension command -- try "west help" and "west -vv status"
    

    For your second check, I have my top dir as - /home/akshay/ncs/v3.1.1

  • Hi Akshay,

    Not sure why this happens, 

    You have the correct topdir, SDK is correctly downloaded, checksum verified and unpacked. We see no reason why west zephyr-export would fail. As established earlier it fails because west does not find zephyr-export subcommand which is implemented in /home/akshay/ncs/v3.1.1/zephyr/scripts/west_commands/.

    Does you have access to github? It is not necessary to install with the sdk-manager.

    When scrolling a bit down in the "Install SDK" choices in VS Code it is still possible to install directly from Github:

     -Priyanka

Related