resolve: Host not found (authoritative)

Forum dédié aux questions concernant l'utilisation de DomoticZ dans Docker ou sur un NAS.
mcflyyy
Messages : 3
Inscription : 05 nov. 2021, 18:26

resolve: Host not found (authoritative)

Message par mcflyyy »

Bonjour à tous :)

J'utilise domoticz depuis des années maintenant et je souhaite migrer progressivement vers un docker pour une question de facilité à la réinstallation.

Je fais mes premiers pas dans le sujet et je rencontre un problème concernant la résolution de l'hôte visiblement.

Le problème se présente sur :
Ubuntu 18.04/20.04/21.01

Auriez-vous une idée ? :)
D'avance merci,

root@tux:/home/tux# docker run -p 80:80 domoticz/domoticz
2021-11-05 18:16:51.139 Status: Domoticz V2021.1 (build 13842) (c)2012-2021 GizMoCuz
2021-11-05 18:16:51.139 Status: Build Hash: ff6cc6914, Date: 2021-11-04 10:54:01
2021-11-05 18:16:51.139 Status: Startup Path: /opt/domoticz/
2021-11-05 18:16:51.151 BuildManifest: Created directory /opt/domoticz/userdata/plugins/
2021-11-05 18:16:51.160 Status: PluginSystem: Started, Python version '3.7.3', 0 plugin definitions loaded.
2021-11-05 18:16:51.161 Active notification Subsystems: fcm, http (2/13)
2021-11-05 18:16:51.162 Status: WebServer(HTTP) startup failed on address :: with port: 8080: resolve: Host not found (authoritative), trying ::
2021-11-05 18:16:51.162 Status: WebServer(HTTP) startup failed on address :: with port: 8080: resolve: Host not found (authoritative), trying 0.0.0.0
2021-11-05 18:16:51.162 Status: WebServer(HTTP) started on address: 0.0.0.0 with port 8080
2021-11-05 18:16:51.163 Status: WebServer(SSL) startup failed on address :: with port: 443: resolve: Host not found (authoritative), trying ::
2021-11-05 18:16:51.164 Status: WebServer(SSL) startup failed on address :: with port: 443: resolve: Host not found (authoritative), trying 0.0.0.0
2021-11-05 18:16:51.164 Status: WebServer(SSL) started on address: 0.0.0.0 with port 443
neo
Messages : 89
Inscription : 15 janv. 2020, 15:57

Re: resolve: Host not found (authoritative)

Message par neo »

Hello,
Je t'invites à aller voir mon tuto qui permet de débuter facilement sous docker : viewtopic.php?f=17&t=11413
Et oui je confirme, quand on a compris le fonctionnement, la maintenance est beaucoup plus simple ;-)
Raspberry Pi 2 - Docker: Domoticz, NodeRed, Mosquitto, Homebridge - RFLink USB 433mhz, sondes Oregon, pluviomètre - Prises électriques et autres cartes à base d'ESP8266/ESP32 sous ESPEasy et Tasmota
Mes designs 3D sur Thingiverse
mcflyyy
Messages : 3
Inscription : 05 nov. 2021, 18:26

Re: resolve: Host not found (authoritative)

Message par mcflyyy »

Salut neo,

merci pour le lien.

Je réinstalle rapidement ma distri et je teste cela ;)

Je reviens vers vous dans quelques minutes ...
mcflyyy
Messages : 3
Inscription : 05 nov. 2021, 18:26

Re: resolve: Host not found (authoritative)

Message par mcflyyy »

Voila, je viens de réinstaller ubuntu 21.01 et suivre le tuto.
Bonne nouvelle, l'accès à domoticz est fonctionnel ! :D

Par contre, je retrouve toujours le même message dans la console :

2021-11-05 19:17:46.862 Starting shared server on: 0.0.0.0:6144
2021-11-05 19:17:46.821 Status: Domoticz V2021.1 (build 13842) (c)2012-2021 GizMoCuz
2021-11-05 19:17:46.821 Status: Build Hash: ff6cc6914, Date: 2021-11-04 10:54:01
2021-11-05 19:17:46.821 Status: Startup Path: /opt/domoticz/
2021-11-05 19:17:46.849 Status: PluginSystem: Started, Python version '3.7.3', 0 plugin definitions loaded.
2021-11-05 19:17:46.858 Status: WebServer(HTTP) startup failed on address :: with port: 8080: resolve: Host not found (authoritative), trying ::
2021-11-05 19:17:46.859 Status: WebServer(HTTP) startup failed on address :: with port: 8080: resolve: Host not found (authoritative), trying 0.0.0.0
2021-11-05 19:17:46.859 Status: WebServer(HTTP) started on address: 0.0.0.0 with port 8080
2021-11-05 19:17:46.860 Status: WebServer(SSL) startup failed on address :: with port: 443: resolve: Host not found (authoritative), trying ::
2021-11-05 19:17:46.860 Status: WebServer(SSL) startup failed on address :: with port: 443: resolve: Host not found (authoritative), trying 0.0.0.0
2021-11-05 19:17:46.861 Status: WebServer(SSL) started on address: 0.0.0.0 with port 443

Ceci m'interpelle ...

Je continue de gratter de mon côté ;) Merci ! :mrgreen:
boggiz
Messages : 33
Inscription : 04 mars 2019, 14:56
Localisation : IdF

Re: resolve: Host not found (authoritative)

Message par boggiz »

Bonjour,
Vous avez trouvé comment faire?
A la suite d'un changement de NAS je suis passé sous Docker avec Domoticz 2023.1 et j'ai le même pb que vous :

2023-07-15 09:20:11.497 Starting shared server on: 0.0.0.0:6144
2023-07-15 09:20:11.005 Status: WebServer(HTTP) startup failed on address :: with port: 8080: resolve: Host not found (authoritative), trying ::
2023-07-15 09:20:11.005 Status: WebServer(HTTP) startup failed on address :: with port: 8080: resolve: Host not found (authoritative), trying 0.0.0.0
2023-07-15 09:20:11.005 Status: WebServer(HTTP) started on address: 0.0.0.0 with port 8080
2023-07-15 09:20:11.207 Status: WebServer(SSL) startup failed on address :: with port: 1443: resolve: Host not found (authoritative), trying ::
2023-07-15 09:20:11.208 Status: WebServer(SSL) startup failed on address :: with port: 1443: resolve: Host not found (authoritative), trying 0.0.0.0
2023-07-15 09:20:11.209 Status: WebServer(SSL) started on address: 0.0.0.0 with port 1443

Merci pour votre reponse
Domoticz 2023.1 sous Docker sur NAS Synology DS718+
RFXcom RFXtrx433XL avec antenne 3dBi
OpenWeatherMap
Arrosage automatique 4 voies avec EVP
Consommation eau via Arduino Nano
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Modération

Message par Keros »

Sujet déplacé dans la section dédiée à Docker.
Répondre