tomaae / homeassistant-truenas

TrueNAS integration for Home Assistant
Apache License 2.0
183 stars 16 forks source link

[Bug] no response from host - HA (docker) to TNscale VM. #150

Closed stoneobscurity closed 5 months ago

stoneobscurity commented 5 months ago

unable to add the TN to my HA.

the HA box can ping the ip, and curl the webpage.

stone@vmhouse:~$ ping 10.11.99.30
PING 10.11.99.30 (10.11.99.30) 56(84) bytes of data.
64 bytes from 10.11.99.30: icmp_seq=1 ttl=64 time=1.37 ms
64 bytes from 10.11.99.30: icmp_seq=2 ttl=64 time=0.778 ms
^C
--- 10.11.99.30 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.778/1.074/1.370/0.296 ms
stone@vmhouse:~$ curl --insecure https://10.11.99.30/ui/sessions/signin
<!DOCTYPE html><html lang="en"><head>
  <meta charset="utf-8">
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Expires" content="-1">
  <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
  <script nomodule src="assets/scripts/ie-support/ie-polyfills.min.js"></script>
  <title id="main-page-title"></title>
  <base href="/ui/">

i was even able to ping and curl from inside the docker, still no joy on connecting.

vmhouse:/config# ping 10.11.99.30
PING 10.11.99.30 (10.11.99.30): 56 data bytes
64 bytes from 10.11.99.30: seq=0 ttl=64 time=1.115 ms
64 bytes from 10.11.99.30: seq=1 ttl=64 time=1.012 ms
64 bytes from 10.11.99.30: seq=2 ttl=64 time=0.995 ms
^C
--- 10.11.99.30 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.995/1.040/1.115 ms

vmhouse:/config# curl --insecure https://10.11.99.30/ui/sessions/signin
<!DOCTYPE html><html lang="en"><head>
  <meta charset="utf-8">
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Expires" content="-1">
  <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
  <script nomodule src="assets/scripts/ie-support/ie-polyfills.min.js"></script>
  <title id="main-page-title"></title>
  <base href="/ui/">

the TN is nothing special, just newest scale on 80/443 on self signed cert.

tomaae commented 5 months ago

newest scale is not supported yet