# Connexion externe Appli Companion (en https)

**URL:** <https://forum.hacf.fr/t/connexion-externe-appli-companion-en-https/66825>\
**Category:** Entraide Home Assistant\
**Tags:** reseau-network, https\
**Created:** [Août 31, 2025, 8:35 UTC](https://forum.hacf.fr/t/connexion-externe-appli-companion-en-https/66825 "2025-08-31T08:35:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jige22](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/j/a183cd/32.png) [@jige22](https://forum.hacf.fr/u/jige22)\
**Post date:** [Août 31, 2025, 8:35 UTC](https://forum.hacf.fr/t/connexion-externe-appli-companion-en-https/66825/1 "2025-08-31T08:35:58Z")

</div>

Bonjour,

débutant sur Home Automation.

J’ai configuré un accès externe (DuckDns, Let’s Encrypt).

Dans chrome (sur iOs), j’acces bien à la page : [https://monha.duckdns.org:8123](https://monha.duckdns.org:8123)  
(aussi bien en wifi qu’en 5G)

Dans companion, j’ai configuré les acces interne et externe sur cette meme adresse, ça marche en wifi mais pas en 5G.

Mon HomeAssistant est configuré sur un raspberry pi.

Voici ma configuration:

## System Information

| version | core-2025.8.3 |
| --- | --- |
| installation\_type | Home Assistant OS |
| dev | false |
| hassio | true |
| docker | true |
| container\_arch | aarch64 |
| user | root |
| virtualenv | false |
| python\_version | 3.13.3 |
| os\_name | Linux |
| os\_version | 6.12.34-haos-raspi |
| arch | aarch64 |
| timezone | Europe/Brussels |
| config\_dir | /config |

```auto
<details><summary>Home Assistant Community Store</summary>

```

| GitHub API | ok |
| --- | --- |
| GitHub Content | ok |
| GitHub Web | ok |
| HACS Data | ok |
| GitHub API Calls Remaining | 5000 |
| Installed Version | 2.0.5 |
| Stage | running |
| Available Repositories | 2168 |
| Downloaded Repositories | 4 |

```auto
</details>

```

```auto
<details><summary>Home Assistant Cloud</summary>

```

| logged\_in | false |
| --- | --- |
| can\_reach\_cert\_server | ok |
| can\_reach\_cloud\_auth | ok |
| can\_reach\_cloud | ok |

```auto
</details>

```

```auto
<details><summary>Home Assistant Supervisor</summary>

```

| host\_os | Home Assistant OS 16.1 |
| --- | --- |
| update\_channel | stable |
| supervisor\_version | supervisor-2025.08.3 |
| agent\_version | 1.7.2 |
| docker\_version | 28.3.3 |
| disk\_total | 13.9 GB |
| disk\_used | 5.7 GB |
| healthy | true |
| supported | true |
| host\_connectivity | true |
| supervisor\_connectivity | true |
| ntp\_synchronized | true |
| virtualization | |
| board | rpi4-64 |
| supervisor\_api | ok |
| version\_api | ok |
| installed\_addons | Matter Server (8.1.0), Duck DNS (1.26.0), File editor (5.8.0), NGINX Home Assistant SSL proxy (3.13.0), Terminal & SSH (9.19.0) |

```auto
</details>

```

```auto
<details><summary>Dashboards</summary>

```

| dashboards | 5 |
| --- | --- |
| resources | 0 |
| views | 4 |
| mode | storage |

```auto
</details>

```

```auto
<details><summary>Network Configuration</summary>

```

| adapters | lo (disabled), end0 (enabled, default, auto), hassio (disabled), docker0 (disabled), veth25f65b8 (disabled), vethb8df57b (disabled), vethcf0c11a (disabled), veth2109311 (disabled), veth710ef05 (disabled), veth25e1d8a (disabled), vethaccefd0 (disabled), veth966ff6b (disabled), veth71e6d3c (disabled) |
| --- | --- |
| ipv4\_addresses | lo (127.0.0.1/8), end0 (192.168.0.180/24), hassio (172.30.32.1/23), docker0 (172.30.232.1/23), veth25f65b8 (), vethb8df57b (), vethcf0c11a (), veth2109311 (), veth710ef05 (), veth25e1d8a (), vethaccefd0 (), veth966ff6b (), veth71e6d3c () |
| ipv6\_addresses | lo (::1/128), end0 (2a02:2788:1a4:834:6511:c0c3:c9b2:2011/128, 2a02:2788:1a4:834:ce4d:7269:1534:d554/64, fe80::1f98:8c21:60aa:f7d2/64), hassio (fe80::3c28:77ff:fe9a:1418/64), docker0 (fe80::ccf2:aff:fe41:14c/64), veth25f65b8 (fe80::f053:2bff:fe6e:a1ee/64), vethb8df57b (fe80::cc7e:ecff:feff:d1b/64), vethcf0c11a (fe80::c0bc:acff:febf:a02e/64), veth2109311 (fe80::7440:22ff:fefe:c140/64), veth710ef05 (fe80::c055:c6ff:fe7d:4ba1/64), veth25e1d8a (fe80::f862:4bff:fedd:af4d/64), vethaccefd0 (fe80::1055:4fff:fec7:9a26/64), veth966ff6b (fe80::cfb:8bff:feec:67b0/64), veth71e6d3c (fe80::b4f7:2eff:fed9:ebb8/64) |
| announce\_addresses | 192.168.0.180, 2a02:2788:1a4:834:6511:c0c3:c9b2:2011, 2a02:2788:1a4:834:ce4d:7269:1534:d554, fe80::1f98:8c21:60aa:f7d2 |

```auto
</details>

```

```auto
<details><summary>Recorder</summary>

```

| oldest\_recorder\_run | 4 janvier 2025 à 15:43 |
| --- | --- |
| current\_recorder\_run | 31 août 2025 à 10:23 |
| estimated\_db\_size | 43.50 MiB |
| database\_engine | sqlite |
| database\_version | 3.48.0 |

```auto
</details>

```

Merci d’avance pour votre aide.

Jérôme

---

<div class="post-metadata">

**Author:** ![Bryan94400](https://forum.hacf.fr/user_avatar/forum.hacf.fr/bryan94400/32/111477_2.png) [@Bryan94400](https://forum.hacf.fr/u/Bryan94400)\
**Post date:** [Août 31, 2025, 10:27 UTC](https://forum.hacf.fr/t/connexion-externe-appli-companion-en-https/66825/2 "2025-08-31T10:27:00Z")

</div>

Salut Jérôme 👋

Ton souci vient sûrement de la config SSL/URL, car le navigateur tolère plus de choses que l’app Companion.

:white_check_mark: À vérifier / corriger :

1. **URLs distinctes**

- Interne : `http://192.168.0.180:8123`
- Externe : `https://monha.duckdns.org` (si NGINX) ou `https://monha.duckdns.org:8123` (si SSL direct HA).

1. **Choisir une méthode**

- **Avec NGINX** (recommandé) : ouvre ports 80/443, désactive SSL dans `configuration.yaml`, mets externe = `https://monha.duckdns.org`.
- **Sans NGINX** : ouvre 8123/TCP, mets externe = `https://monha.duckdns.org:8123`.

1. **App Companion**

- Interne = IP locale
- Externe = ton DuckDNS en HTTPS (selon choix ci-dessus).

1. Si ça bloque encore :

- Vérifie que le certificat est bien `fullchain.pem`.
- Vérifie que NGINX gère bien `/api/websocket`.
- Teste sans IPv6 (souvent source de plantage en 5G).

👉 En clair : simplifie en choisissant soit NGINX (443), soit le SSL direct (8123), mais pas les deux.

---

<div class="post-metadata">

**Author:** ![jige22](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/j/a183cd/32.png) [@jige22](https://forum.hacf.fr/u/jige22)\
**Post date:** [Août 31, 2025, 12:04 UTC](https://forum.hacf.fr/t/connexion-externe-appli-companion-en-https/66825/3 "2025-08-31T12:04:43Z")

</div>

Mon problème (entre autre) par rapport à ta réponse, c’est que meme en interne, j’utilise [https://monha.duckdns.org:8123](https://monha.duckdns.org:8123), en effet [http://192.168.0.180:8123](http://192.168.0.180:8123) ne fonctionne pas.  
Au départ, je n’avais pas mis nginx mais je pensais que ça permettait de régler le pb de l’adresse en local (mais je n’ai pas bien compris comment).

---

<div class="post-metadata">

**Author:** ![Bryan94400](https://forum.hacf.fr/user_avatar/forum.hacf.fr/bryan94400/32/111477_2.png) [@Bryan94400](https://forum.hacf.fr/u/Bryan94400)\
**Post date:** [Août 31, 2025, 12:09 UTC](https://forum.hacf.fr/t/connexion-externe-appli-companion-en-https/66825/4 "2025-08-31T12:09:47Z")

</div>

alors tu a quoi exactement dans les paramètre

1. **URLs distinctes**

- Interne :
- Externe :

---

<div class="post-metadata">

**Author:** ![jige22](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/j/a183cd/32.png) [@jige22](https://forum.hacf.fr/u/jige22)\
**Post date:** [Août 31, 2025, 12:11 UTC](https://forum.hacf.fr/t/connexion-externe-appli-companion-en-https/66825/5 "2025-08-31T12:11:30Z")

</div>

j’ai ça, aussi bien en interne qu’en externe : [https://monha.duckdns.org:8123](https://monha.duckdns.org:8123)

ça fonctionne bien en interne mais pas en externe (mais ça fonctionne dans chrome)

---

<div class="post-metadata">

**Author:** ![Bryan94400](https://forum.hacf.fr/user_avatar/forum.hacf.fr/bryan94400/32/111477_2.png) [@Bryan94400](https://forum.hacf.fr/u/Bryan94400)\
**Post date:** [Août 31, 2025, 12:16 UTC](https://forum.hacf.fr/t/connexion-externe-appli-companion-en-https/66825/6 "2025-08-31T12:16:52Z")

</div>

tu a discord ? je peux t’aider a résoudre ton soucis si tu souhaite ensuite on postera la solution ici quand meme

---

<div class="post-metadata">

**Author:** ![jige22](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/j/a183cd/32.png) [@jige22](https://forum.hacf.fr/u/jige22)\
**Post date:** [Septembre 1, 2025, 1:22 UTC](https://forum.hacf.fr/t/connexion-externe-appli-companion-en-https/66825/7 "2025-09-01T13:22:34Z")

</div>

Un petit update :  
Je peux maintenant confirmer que j’accède effectivement depuis l’exterieur en https dans chrome mais pas depuis l’app companion (mais ça fonctionne en interne).

---

<div class="post-metadata">

**Author:** ![jige22](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/j/a183cd/32.png) [@jige22](https://forum.hacf.fr/u/jige22)\
**Post date:** [Septembre 4, 2025, 12:24 UTC](https://forum.hacf.fr/t/connexion-externe-appli-companion-en-https/66825/8 "2025-09-04T12:24:20Z")

</div>

Bon, finalement, apres suppression et réinstallation de l’app companion, tout fonctionne correctement.  
(ps sans nginx qui a sans doute perturbé à un moment donné et que j’ai supprimé)

---

<div class="post-metadata">

**Author:** ![system](https://forum.hacf.fr/uploads/default/original/1X/f21bfb78c8ffe5e68d8964c0a162197808faff17.png) [@system](https://forum.hacf.fr/u/system)\
**Post date:** [Novembre 3, 2025, 12:25 UTC](https://forum.hacf.fr/t/connexion-externe-appli-companion-en-https/66825/9 "2025-11-03T12:25:05Z")

</div>

A fermé ce sujet (le Novembre 3, 2025, 12:25 UTC)

Ce sujet a été automatiquement fermé après 60 jours. Aucune réponse n’est permise dorénavant.
