cancel
Showing results for 
Search instead for 
Did you mean: 

Fail to download from github using git for STM32CubeWL

David_
Senior

At this link,  using "Windows PowerShell" on Windows 11,  https://github.com/STMicroelectronics/STM32CubeWL

using method 4, failed.

git clone --recursive --depth 1 --branch v1.3.0 https://github.com/STMicroelectronics/STM32CubeWL.git
Cloning into 'STM32CubeWL'...
remote: Enumerating objects: 13497, done.
remote: Counting objects: 100% (13497/13497), done.
remote: Compressing objects: 100% (6783/6783), done.
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 6756 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

David__0-1712679646183.png

==============================

re-try using method 1, also failed

git clone --recursive https://github.com/STMicroelectronics/STM32CubeWL.git
Cloning into 'STM32CubeWL'...
remote: Enumerating objects: 22375, done.
remote: Counting objects: 100% (7677/7677), done.
remote: Compressing objects: 100% (4026/4026), done.
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 6465 bytes of body are still expected
fatal: early EOF
fetch-pack: unexpected disconnect while reading sideband packet
fatal: fetch-pack: invalid index-pack output

  1. To clone this repository along with the linked submodules, option --recursive has to be specified as shown below.
git clone --recursive https://github.com/STMicroelectronics/STM32CubeWL.git
1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

Hello @David_ 

I'm not able to reproduce this. Can you check your Proxy configurations.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4

Can you clone anything else from GitHub?

ie, is this a general GitHub problem, or something specific to this ST repo?

David_
Senior

I guess this is the traditional issue of software.  Instruction was correct at time when they are written.  Then, break when time go by with updates....   Apprenetly, STM32Cube has been doing a good job to auto update as it flashes at right-bottom.  The green "code" button worked as designed, downloaded most modules and some need manual download, as stated on instruction.

STTwo-32
ST Employee

Hello @David_ 

I'm not able to reproduce this. Can you check your Proxy configurations.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Many thanks