Cannot clone meta-toradex-bsp-common

Hi,

I am trying to create a boot2qt image and it fails when trying to clone the toradex repo.

$ ../meta-boot2qt/b2qt-init-build-env init --device raspberrypi3
[...]
Fetching project meta-toradex-bsp-common
fatal: unable to connect to git.toradex.com:
git.toradex.com[0: 94.23.161.152]: errno=Connection refused

fatal: unable to connect to git.toradex.com:
git.toradex.com[0: 94.23.161.152]: errno=Connection refused

error: Cannot fetch meta-toradex-bsp-common from git://git.toradex.com/meta-toradex-bsp-common
Fetching projects:  84% (11/13)
Fetching project meta-toradex-nxp
fatal: unable to connect to git.toradex.com:
git.toradex.com[0: 94.23.161.152]: errno=Connection refused

fatal: unable to connect to git.toradex.com:
git.toradex.com[0: 94.23.161.152]: errno=Connection refused

error: Cannot fetch meta-toradex-nxp from git://git.toradex.com/meta-toradex-nxp
[...]

So I tried to clone the repo manually but that fails as well:

$ git clone git://git.toradex.com/meta-toradex-bsp-common
Cloning into 'meta-toradex-bsp-common'...
fatal: unable to connect to git.toradex.com:
git.toradex.com[0: 94.23.161.152]: errno=Connection refused

$ git clone git://git.toradex.com/meta-toradex-bsp-common.git
Cloning into 'meta-toradex-bsp-common'...
fatal: unable to connect to git.toradex.com:
git.toradex.com[0: 94.23.161.152]: errno=Connection refused

Dear @FeinReicherBasilisk

Unfortunately we can’t support you on this request when using a raspberry pi. It looks like our servers are not reachable, this might be due a firewall issue. Please contact the Qt Company on how to solve this issue.

Regards,
Stefan

I believe this is also relevant for toradex devices, so not so much out of topic - I had the same issue today.

My workaround to solve this problem, which was a result of the git protocol being blocked by my corporate firewall:
git config --global url.“https://”.insteadOf git://
git config --global url.“https://git.toradex.com/meta-toradex-nxp.git”.insteadOf
git://git.toradex.com/meta-toradex-nxp

This can be unset by removing the resulting parts of ~/.gitconfig .

Hope this helps others,
Markus

1 Like