core: Can't connect to Synology DSM
The problem
With the current code, I am unable to connect to my Synology DSM. I was able to resolve this by commenting out https://github.com/home-assistant/core/blob/8467b91390ad7dabf69547cfabdae68a55c68cfc/homeassistant/components/synology_dsm/config_flow.py#L219. In looking through the code, I think this step is there for users who need OTP, so maybe the fix is to only make this call if otp_code is not None?
Environment
- Home Assistant Core release with the issue: 0.109.0
- Last working Home Assistant Core release (if known): 0.108.9
- Operating environment (Home Assistant/Supervised/Docker/venv): Docker
- Integration causing this issue: synology_dsm
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/synology_dsm/
Traceback/Error logs
This is from the config flow UI
Connection error: please check your host, port & ssl
Additional information
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (12 by maintainers)
@Quentame ignore my issue, it appears to be a DNS resolution issue with my Docker container… Will have to troubleshoot that issue separately, thanks for the quick response otherwise and sorry if I wasted your time!
I am Norwegian, but married to a French woman from Lyon 😂
Ran the English text through Google Translate for you 😃
J’avais à la fois mon routeur et mon Nas connectés et configurés via yaml dans configuration.yaml avant de passer à HA 0.109. Ensuite, j’ai HA GUI; Intégrations il y a deux nouvelles intégrations (et seulement celles - pas les autres unités déjà intégrées) visibles dans le volet Intégrations. Ils sont tous les deux mon (unique) routeur, mais représentés par une adresse IP officielle et interne. Lorsque vous appuyez sur Configurer et remplissez les informations d’identification et le port, l’erreur se produit.
Cependant, tout était normal jusqu’à la mise à niveau.