VS Code can't clone nrf connect SDK

I am learning development with nrf connect sdk. I installed vs code and in vs code downloaded the nrf connect for vs code extension pack, everything downloads well. On the nrf connect extension menu I go to download toolchain and the toolchain installs okay. but then downloading SDK always throws this error.

The error codes are as follows

 

Fullscreen
1
2
3
4
5
6
7
8
[00:39:13] Command failed: west init -m https://github.com/nrfconnect/sdk-nrf --mr v2.4.2
Cloning into 'c:\ncs\v2.4.2\.west\manifest-tmp'...
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 4674 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.4.2 https://github.com/nrfconnect/sdk-nrf 'c:\ncs\v2.4.2\.west\manifest-tmp'
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Please help I am stuck on this for 2 days now.
Thanks in advance.

Parents
  • Hi Syed, 
    I'm not sure why you get the error. But a quick search pointed me to this video: https://www.youtube.com/watch?v=UFhiF3IzbUw

    The poster has the same issue as yours and he managed to get around by using a different network. 

    In your case it seems that you had the same issue even with a different network ? 

    Could you try to test using nRF Connect for Desktop -> Toolchain manager ? 

    If you do installing manually, at which step did it stop ?

  • I tried with the toolchain manager but no luck, same error occurs. It stops at the  west init -m github.com/.../sdk-nrf --mr v2.4.2 as shown in the video that you just shared.

  • This is what I get when trying with toolchain manager from nrf connect desktop.


Reply
  • This is what I get when trying with toolchain manager from nrf connect desktop.


Children
No Data