Software Archive
Read-only legacy content
17061 Discussions

git.kernel.org[0: 149.20.4.72]: errno=Connection timed out

Ravindranath_D_
Beginner
898 Views

Hi,

When I build the Galileo IoT image following the link https://software.intel.com/sites/default/files/managed/f1/49/building_yocto_and__ipks.pdf, I am facing the below error:

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

ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/swathi/internet_of_things/iotdk_src_140220/meta-intel-iot-devkit/build/downloads/git2/git.kernel.org.pub.scm.linux.kernel.git.stable.linux-stable.git'...

fatal: unable to connect to git.kernel.org:
git.kernel.org[0: 149.20.4.72]: errno=Connection timed out
git.kernel.org[1: 199.204.44.194]: errno=Connection timed out
git.kernel.org[2: 198.145.20.140]: errno=Connection timed out
git.kernel.org[3: 2001:4f8:1:10:0:1991:8:25]: errno=Network is unreachable


ERROR: Function failed: Fetcher failure for URL: 'git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;branch=linux-3.8.y'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/swathi/internet_of_things/iotdk_src_140220/meta-intel-iot-devkit/build/tmp/work/clanton-poky-linux/linux-yocto-clanton/3.8-r0/temp/log.do_fetch.9322
ERROR: Task 348 (/home/swathi/internet_of_things/iotdk_src_140220/meta-intel-iot-devkit/meta-clanton-bsp/recipes-kernel/linux/linux-yocto-clanton_3.8.bb, do_fetch) failed with exit code '1'

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

During the initial setup, the command "git clone git://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-iot-devkit" failed. After I replaced it with command "git clone http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-iot-devkit", I was able to do a successful git clone.

Is there a way I can make use of "http" instead of "git" to download the sources? Or is there any other procedure to setup build environment for Galileo board?

 

0 Kudos
1 Solution
KRIS_J_Intel
Employee
898 Views

The 'git' protocol is just one of many ways you might clone a Git repository. If HTTP works, but the git protocol doesn't, there is certainly nothing wrong with using HTTP. You wind up with the same clone either way.

The document you linked probably needs to be updated.

View solution in original post

0 Kudos
2 Replies
KRIS_J_Intel
Employee
899 Views

The 'git' protocol is just one of many ways you might clone a Git repository. If HTTP works, but the git protocol doesn't, there is certainly nothing wrong with using HTTP. You wind up with the same clone either way.

The document you linked probably needs to be updated.

0 Kudos
Jayesh_K
Beginner
898 Views

Alternatively, you could connect to an open (wifi) access point, and download using git protocol. Proxy seems to be the potential blocker.

0 Kudos
Reply