custom-cards/boilerplate-card

`container start` fails - " unable to connect to github.com" - Replace `git://` by `https://` ?

Opened this issue · 3 comments

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

Screenshot 2022-12-04 at 22 04 39

Github requires Use a password-protected SSH key. when using the git protocol. The HTTPS protocol should be less restrictive.

Just spent an hour to find this out as well.

Would strongly suggest to change this, if possible, to avoid unnecessary frustration.

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
  ],

so what's the fix? create a password-protected ssh key for git?