it was working perfectly (almost),
the issue must be relate to change i done is which changing the domain and setup with cloudflare + traefilk as reverse proxy(all http redirect to https).
so no longer accessing with local ip but domain name.
If both AppDaemon and HomeAssistant are running locally, you should still be able to access Home Assistant using the Internal URL. You don’t want AppDaemon <–> HASS Traffic to go out to the internet and back again. That will slow your AppDaemon automation response times considerably.
And i can’t access it using the browser only by http://mydomain.com or https://mydomain.com,
AppDameond is not able to access both as they external to the server?
I changed the ha_url to use http://172.29.4.5:8123 instead and it does working fine,
but i have some concerns:
1.My router configure as 192.168.1.0/24 ,
The internal IP i see in HA (172.29.4.5) set by Docker ?
How can i define it permanently to specify IP so next reboot it wont change?
2.Is there an option to configure some internal DNS name to internal ip which are not belong to external network ?
Does HA run on the same machine as AppDaemon? If so, did you try to put http://127.0.0.1:8123? If not, what is your config for the dashboard in appdaemon.yaml? Can you access the web interface from the machine running AppDaemon over http://192.168.1.112:8123?
I tried that - it didn’t work ,
The odd thing is when i enter to appdaemon docker and ping all working:
/usr/src/app # ping 127.0.0.1:8123
PING 127.0.0.1:8123 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: seq=0 ttl=64 time=0.086 ms
64 bytes from 127.0.0.1: seq=1 ttl=64 time=0.122 ms
## this is HA docker ip
/usr/src/app # ping 172.29.4.6:8123
PING 172.29.4.6:8123 (172.29.4.6): 56 data bytes
64 bytes from 172.29.4.6: seq=0 ttl=64 time=0.257 ms
64 bytes from 172.29.4.6: seq=1 ttl=64 time=0.160 ms
64 bytes from 172.29.4.6: seq=2 ttl=64 time=0.123 ms
^C
from some reason it not able to connect with 127.0.0.1:8123 only with 172.29.4.6:8123
Hmm, from my limited knowledge I assume you can only do it like you did, with specifying a fixed IP for the HA container. I don’t know a anything about Traefik (I use NGINX), can you access HA through the IP of the host from any other device on your network?