Unable to install new NCS from the Toolchain Manager

I get this error when I try to install the v2.5.0 version of the NCS from the toolchain manager.

There are multiple errors:

  • Failed to clone the repositories: Error: Cloning into 'C:\ncs\v2.5.0.west\manifest-tmp'... error: RPC failed; curl 18 transfer closed with outstanding read data remaining error: 3313 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output FATAL ERROR: command exited with status 128: git clone --branch v2.5.0 github.com/.../sdk-nrf 'C:\ncs\v2.5.0.west\manifest-tmp' Error: Launched process exited with non-zero status: 128 Error: Subprocess C:\Users\Abdelali\AppData\Roaming\nrfconnect\nrfutil-sandboxes\toolchain-manager\0.14.1\bin\nrfutil-toolchain-manager.exe failed with unexpected exit code Some(128)

  • Error: Cloning into 'C:\ncs\v2.5.0.west\manifest-tmp'... error: RPC failed; curl 18 transfer closed with outstanding read data remaining error: 3313 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output FATAL ERROR: command exited with status 128: git clone --branch v2.5.0 github.com/.../sdk-nrf 'C:\ncs\v2.5.0.west\manifest-tmp' Error: Launched process exited with non-zero status: 128 Error: Subprocess C:\Users\Abdelali\AppData\Roaming\nrfconnect\nrfutil-sandboxes\toolchain-manager\0.14.1\bin\nrfutil-toolchain-manager.exe failed with unexpected exit code Some(128)

Parents Reply Children
  • Thank you for checking that the error occurs for several NCS releases.

    When searching for an explanation for it, I found that the error is from git, and it indicated a network issue. If your network connection is slow, cloning large repositories can end in a timeout which causes the error. This thread on Stack overflow has some solutions you can try. For a few people, the issue was resolved by upgrading their internet connection.

    rmptxf said:
    error: RPC failed; curl 18 transfer closed with outstanding read data remaining
    error: 628 bytes of body are still expected
    fetch-pack: unexpected disconnect while reading sideband packet
    fatal: early EOF
    fatal: fetch-pack: invalid index-pack output

    Searching for the above part of the error log may lead you to some other methods to solve your issue as well.

    I hope some of this helps you. There's not much we can do since the error is from git and the cause could be with your network.

    Also, I will also give a thank you to Prashant for sharing their solution in this thread. If more people in the DevZone community has solved a similar issue, please share your findings!

    Best regards,

    Maria

Related