espressif / esp-rainmaker

ESP RainMaker Agent for firmware development
Apache License 2.0
453 stars 152 forks source link

Can't clone from github, always clone fails. (MEGH-3257) #118

Closed Ocean100 closed 2 years ago

Ocean100 commented 2 years ago

Can't clone from github, always fails to clone, some can succeed, and some have been unable to clone. For example: fatal: clone of 'https://github.com/espressif/json_parser.git'

The standard commands are used: git clone --recursive https://github.com/espressif/esp-rainmaker.git

Ocean100 commented 2 years ago

clone_fail

shahpiyushv commented 2 years ago

@Ocean100 , I see some gitclone.com paths in your logs. Are you using some caching logic via gitclone.com? The default repository and submodules do not have gitclone.com URLs, so seems more like an environment issue to me.

Ocean100 commented 2 years ago

@shahpiyushv Using gitclone.com is an attempt to speed things up, actually the same result without this. I tried using git clone --recursive git://github.com/espressif/esp-rainmaker.git It is found that most files can be cloned normally, and some small files can also be cloned manually according to the prompts. I don't quite understand the difference between https and git. I am trying to find the reason here.

Ocean100 commented 2 years ago

The final reason: network problem, I have used someone else's computer remotely and can clone successfully.

shahpiyushv commented 2 years ago

Closing this issue since it has been resolved.