`container start` fails - " unable to connect to github.com" - Replace `git://` by `https://` ?
Opened this issue · 3 comments
elmar-hinz commented
The "Bonus" part fails for me:
Running command git clone --filter=blob:none --quiet git://github.com/home-assistant/home-assistant.git /tmp/pip-req-build-xptkl65j
fatal: unable to connect to github.com:
github.com[0: 140.82.121.3]: errno=Connection refused
Github requires Use a password-protected SSH key.
when using the git protocol. The HTTPS protocol should be less restrictive.
ab-tools commented
Just spent an hour to find this out as well.
Would strongly suggest to change this, if possible, to avoid unnecessary frustration.
elmar-hinz commented
It may be, that it is intended to connect by the git protocol, so that you can directly push. In this case, it is rather an issue of documentation.
There is this entry within .devcontainer/devcontainer.json
:
"runArgs": [
"-v",
"${env:HOME}${env:USERPROFILE}/.ssh:/tmp/.ssh" // This is added so you can push from inside the container
],
Maharshi-Pathak commented
so what's the fix? create a password-protected ssh key for git?