home-assistant / supervisor

:house_with_garden: Home Assistant Supervisor
https://home-assistant.io/hassio/
Apache License 2.0
1.75k stars 639 forks source link

connection refused to hassio #644

Closed sholzmayer closed 4 years ago

sholzmayer commented 6 years ago

any idea why there is no access to the service from the hassio-CLI?

hassio > ha info
The HTTP request failed with the error: Get http://hassio/homeassistant/info: dial tcp 192.168.1.226:80: getsockopt: connection refused

hassio > ne info
The HTTP request failed with the error: Get http://hassio/network/info: dial tcp 192.168.1.226:80: getsockopt: connection refused
Megachip commented 4 years ago

My time is right :( These Hass.io seems very unstable. Now had this issue with another installation too :(

migromao commented 4 years ago

I'm vey disapointed with HA. the Hassbian image worked for me during the last 3 years and moving to hassio is giving me hard times on troubleshooting .. I'm also having this docker issue .. and even repair BETA dont help http://hassio/supervisor/repair: dial tcp 172.30.32.2:80: i/o timeout

:( i'm not considering move to OpenHAB but ...

Fusseldieb commented 4 years ago

:( i'm not considering move to OpenHAB but ...

You'll probably have other problems with it, I guess. No project is perfect.

I think we should fix this together and stay strong :)

pvizeli commented 4 years ago

Yeah, if you block ntp and the instance can refresh the time, it will not work. I can only move the startup of API before that, so you can use the cli for get logs. The time is important to work with all the SSL sites.

WLyKan commented 4 years ago

@Fusseldieb I have wrong time on freshly flashed hassio , cca Jan 28 2018 16:00 and there are errors - due to certificate validity - journalctl -fu hassos-supervisor = ... certificate has expired or is not yet valid ... Fails install landingpage, retry after 60sec ... . Command date -s "2018-11-18 18:38" solved my problem.

I tried several ways... and suddenly works. Maybe this take effect. My steps: (use hdmi and usb keyboard)

  1. login as root (none password)
  2. type ' login' ,enter host
  3. type date command to set date
  4. reboot and wait
stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

chris-schulz commented 4 years ago

Not resolved at all. :( Fresh install on RPi 2 has same result. This is at 104. First time ive ever had to reset my Pi and Im totally gutted that Im in this situation.

petter-b commented 4 years ago

I have the exact same issue. Date / time is correct.

balloob commented 4 years ago

Please open a new issue if you are still experiencing this.