j’ai installé duckdns avec le super tuto
Avant j’utilisait Nabucasa (ça fait peu de temps que j’ai commencé home assistant).
J’avais l’appli android et je voudrais qu’elle fonctionne de nouveau.
j’ai l’impression que mon erreur vient de nginx, ça démarre mais ça s’arrête.
Sur une page web http://blabla.duckdns.org:8123 ça fonctionne (j’ai pas le https) mais je n’arrive pas à enregistrer l’adresse dans l’application pour que ça fonctionne aussi.
Merci pour ta question rapide, en effet j’avais oublié de préciser. La réponse est oui, j’ai une box orange (heureusement elle est noire ). Sur mon téléphone à distance ça marche en passant par chrome, adresse http://blabla.duckdns.org:8123
si je mets https « ce site ne peut pas fournir de connexion sécurisée »
Avec NGINX home assistant SSL proxy, en HTTP ( donc en local ) tu te connectes par l’ip de HA et non ton nom de domaine duckdns.
C’est en extérieur que tu passes par ton nom de domaine et le HTTPS.
Puis ne met pas le port 8123 pour le HTTPS, c’est NGINX qui gère la redirection.
nginx me semble pas correctement configuré, ce n’est pas un copié collé que j’ai affiché (vu que je ne suis pas chez moi).
Quand je démarre l’add on nginx ça a l’air de démarrer mais ça fini par s’arrêter.
[12:28:54] INFO: [32mService crond exited with code 256 (by signal 15) [0m
s6-rc: info: service crond successfully stopped
s6-rc: info: service nginx: stopping
s6-rc: info: service nginx successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service crond: starting
s6-rc: info: service crond successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[12:29:04] INFO: [32mMerging options & variables for template [0m
[12:29:04] INFO: [32mGenerating nginx.conf from template in /etc/nginx/nginx.conf.gtpl [0m
[12:29:05] INFO: [32mRunning nginx... [0m
stat: can't stat '/ssl/fullchain.pem': No such file or directory
[12:29:05] INFO: [32mService nginx exited with code 1 (by signal 0) [0m
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service crond: stopping
[12:29:05] INFO: [32mService crond exited with code 256 (by signal 15) [0m
s6-rc: info: service crond successfully stopped
s6-rc: info: service nginx: stopping
s6-rc: info: service nginx successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service crond: starting
s6-rc: info: service crond successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[12:29:14] INFO: [32mMerging options & variables for template [0m
[12:29:14] INFO: [32mGenerating nginx.conf from template in /etc/nginx/nginx.conf.gtpl [0m
[12:29:15] INFO: [32mRunning nginx... [0m
stat: can't stat '/ssl/fullchain.pem': No such file or directory
[12:29:15] INFO: [32mService nginx exited with code 1 (by signal 0) [0m
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service crond: stopping
[12:29:15] INFO: [32mService crond exited with code 256 (by signal 15) [0m
s6-rc: info: service crond successfully stopped
s6-rc: info: service nginx: stopping
s6-rc: info: service nginx successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service crond: starting
s6-rc: info: service crond successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[16:08:42] INFO: [32mMerging options & variables for template [0m
[16:08:43] INFO: [32mGenerating nginx.conf from template in /etc/nginx/nginx.conf.gtpl [0m
[16:08:43] INFO: [32mRunning nginx... [0m
stat: can't stat '/ssl/fullchain.pem': No such file or directory
[16:08:44] INFO: [32mService nginx exited with code 1 (by signal 0) [0m
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service crond: stopping
[16:08:44] INFO: [32mService crond exited with code 256 (by signal 15) [0m
s6-rc: info: service crond successfully stopped
s6-rc: info: service nginx: stopping
s6-rc: info: service nginx successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service duckdns: starting
s6-rc: info: service duckdns successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[10:03:51] INFO: [32mStarting DuckDNS... [0m
[10:03:52] INFO: [32mOK
90.45.242.154
UPDATED [0m
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service duckdns: stopping
[10:35:00] INFO: [32mService duckdns exited with code 256 (by signal 15) [0m
s6-rc: info: service duckdns successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service duckdns: starting
s6-rc: info: service duckdns successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[18:59:19] INFO: [32mStarting DuckDNS... [0m
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service duckdns: stopping
[19:00:39] INFO: [32mService duckdns exited with code 256 (by signal 15) [0m
s6-rc: info: service duckdns successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service duckdns: starting
s6-rc: info: service duckdns successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[19:02:19] INFO: [32mStarting DuckDNS... [0m
[19:02:48] INFO: Merging options & variables for template
[19:02:48] INFO: Generating nginx.conf from template in /etc/nginx/nginx.conf.gtpl
[19:02:49] INFO: Running nginx...
stat: can't stat '/ssl/fullchain.pem': No such file or directory
[19:02:49] INFO: Service nginx exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service crond: stopping
[19:02:49] INFO: Service crond exited with code 256 (by signal 15)
s6-rc: info: service crond successfully stopped
s6-rc: info: service nginx: stopping
s6-rc: info: service nginx successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
dans home-assistant.log1 j’ai > 2025-04-01 19:01:08.690 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/core_nginx_proxy/stats - 404 Client Error for http+docker://localhost/v1.48/containers/addon_core_nginx_proxy/json: Not Found ("No such container: addon_core_nginx_proxy")
[18:58:02] INFO: Renew certificate for domains: *******.duckdns.org and aliases:
# INFO: Using main config file /data/workdir/config
+ Creating chain cache directory /data/workdir/chains
Processing ******.duckdns.org
+ Creating new directory /data/letsencrypt/*******.duckdns.org ...
+ Signing domains...
+ Generating private key...
+ Generating signing request...
+ Requesting new certificate order from CA...
+ Received 1 authorizations URLs from the CA
+ Handling authorization for ******.duckdns.org
+ 1 pending challenge(s)
+ Deploying challenge tokens...
OK + Responding to challenge for ******.duckdns.org authorization...
+ Cleaning challenge tokens...
OK + Challenge validation has failed :(
ERROR: Challenge is invalid! (returned: invalid) (result: ["type"] "dns-01"
["url"] "https://acme-v02.api.letsencrypt.org/acme/chall/2315993657/498874128327/PTi4-g"
["status"] "invalid"
["validated"] "2025-04-01T16:58:14Z"
["error","type"] "urn:ietf:params:acme:error:unauthorized"
["error","detail"] "Incorrect TXT record \"\" found at _acme-challenge.******.duckdns.org"
["error","status"] 403
["error"] {"type":"urn:ietf:params:acme:error:unauthorized","detail":"Incorrect TXT record \"\" found at _acme-challenge.*****.duckdns.org","status":403}
["token"] "1pPko2****_TBoDlZnBVjUSQG3bi1dLV4")