当前位置:   article > 正文

Docker Homeassistant安装HACS遇到的问题_could not authenticate with github, try again late

could not authenticate with github, try again later.

安装执行:

wget -O - https://get.hacs.xyz | bash -

遇到地址(0.0.0.0):

  1. Connecting to get.hacs.xyz (172.67.132.174:443)
  2. Connecting to raw.githubusercontent.com (0.0.0.0:443)
  3. wget: can't connect to remote host (0.0.0.0): Connection refused

或者是Invalid argument:

  1. bash-5.1# wget -O - https://get.hacs.xyz | bash -
  2. Connecting to get.hacs.xyz (172.67.132.174:443)
  3. Connecting to raw.githubusercontent.com (185.199.110.133:443)
  4. writing to stdout
  5. - 100% |********************************| 2473 0:00:00 ETA
  6. written to stdout
  7. INFO: Trying to find the correct directory...
  8. INFO: Found Home Assistant configuration directory at '/config'
  9. INFO: Changing to the custom_components directory...
  10. INFO: Downloading HACS
  11. Connecting to github.com (140.82.113.4:443)
  12. wget: error getting response: Invalid argument

解决方法:

用域名IP查询工具,找到raw.githubusercontent.com和github.com的IP,添加到hosts中

vi /etc/hosts

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/不正经/article/detail/682206
推荐阅读
相关标签
  

闽ICP备14008679号