Closed StW2024 closed 21 hours ago
If you only want to make HA available from outside of your network, you do not need the additional_hosts option. Your domain for HA needs to be entered in the option "external_hostname", which is the first option of the add-on. HA will be reachable under this domain.
If you want to make additional services in your network available via the cloud flared tunnel (e.g. a website on a locally run server), you have to use the additionl_hosts option. This must be an array including all the hosts you want to add. You can refer to our documentation for the structure of the array.
Vielen Dank für die Antwort. Leider löst das überhaupt gar nicht die Problemstellung, dass Einträge in dem Addon nicht gespeichert werden können. Weder unter „external_hostname“, noch unter „additional_hosts“.
Von: Tobias Brenner @.> Gesendet: Donnerstag, 21. November 2024 11:33 An: brenner-tobias/addon-cloudflared @.> Cc: StW2024 @.>; Author @.> Betreff: Re: [brenner-tobias/addon-cloudflared] Eintrag "Zusätzliche Hosts" kann nicht gespeichert werden. (Issue #739)
If you only want to make HA available from outside of your network, you do not need the additional_hosts option. Your domain for HA needs to be entered in the option "external_hostname", which is the first option of the add-on. HA will be reachable under this domain.
If you want to make additional services in your network available via the cloud flared tunnel (e.g. a website on a locally run server), you have to use the additionl_hosts option. This must be an array including all the hosts you want to add. You can refer to our documentation https://github.com/brenner-tobias/addon-cloudflared/blob/main/cloudflared/DOCS.md#option-additional_hosts for the structure of the array.
— Reply to this email directly, view it on GitHub https://github.com/brenner-tobias/addon-cloudflared/issues/739#issuecomment-2490742431 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BNCKUXEKUYOVXCJNWMFRDI32BWZFPAVCNFSM6AAAAABSDCXZN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJQG42DENBTGE . You are receiving this because you authored the thread. https://github.com/notifications/beacon/BNCKUXBZT32PJNSSM7RIT232BWZFPA5CNFSM6AAAAABSDCXZN6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUUOW3J6.gif Message ID: @. @.> >
As I mentioned in my reply, the additional_hosts option must be an array. So you either add a properly formatted array to the configuration as mentioned in the linked documentation, or add an empty array. You might want to look at the YAML by clicking the three dots in the right top corner and clicking "Edit in YAML". There, you can add something like this:
external_hostname: "myha.example.com"
additional_hosts: []
run_parameters: []
After following the proper formatting rules, the add-on will also allow you to save the configuration
Wie ich in meiner Antwort erwähnte, ist es nicht möglich irgendetwas zu speichern. Egal wo oder in welchem Format.Von meinem iPhone gesendetAm 21.11.2024 um 13:30 schrieb Tobias Brenner @.***>: As I mentioned in my reply, the additional_hosts option must be an array. So you either add a properly formatted array to the configuration as mentioned in the linked documentation, or add an empty array. You might want to look at the YAML by clicking the three dots in the right top corner and clicking "Edit in YAML". There, you can add something like this: external_hostname: "myha.example.com" additional_hosts: [] run_parameters: []
After following the proper formatting rules, the add-on will also allow you to save the configuration
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Try to reset the add-on config first by resetting it to its defaults:
After that you should, as already mentioned, enter your Home Assistant domain in external_hostname
. No need to configure anything in additional_hosts
if you just want to access HA.
The problem
Entsprechend einem Video, dass ich auf YouTube gefunden habe, habe ich das Addon Cloudflared installiert und wollte den Eintrag für zusätzliche Hosts speichern. Ich bekomme allerdings die Fehlermeldung: Fehler beim Speichern der Add-on Konfiguration, Invalid list for option 'additional_hosts' in Cloudflared (9074a9fa_cloudflared). Got {'external_hostname': '', 'additional_hosts': 'stw-homeassist.de'}
What version of Cloudflared has the issue?
5.2.1
What was the last working version of Cloudflared?
No response
What type of installation are you running?
Home Assistant OS
Add-on YAML Configuration
Anything in the logs that might be useful for us?
Steps to reproduce the issue
Entsprechend dem Youtube Video:
Additional information
No response