Connect Timeout in Synology DSM integration
See original GitHub issueThe problem
I followed the configuration guide for the Synology DSM integration. Created beforehand a new admin user with OTP enabled. The setup went smooth without any actual problems and i managed to configure some UI cards to test it out with.
But after some time (max 15-20 minutes). The device / entities became unavailable and the integration showed a ConnectTimeout error. I tried following, but without success:
- reload the Integration (multiple times after every change)
- add more rights to the Synology account
- restart the Synology NAS
- enabled debug logging (as proposed in other issues) but not much info is shown to me
- restart Home Assistant
And finally removed the integration. But when i now want to readd it, i get the same error not being able to connect.
This leaves me with the question why did it work the first time and ever since keeps timing out. Also i am perfectly capable of logging into the device with multiple accounts using the web view and OTP.
What version of Home Assistant Core has the issue?
2022.12.8
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Synology DSM
Link to integration documentation on our website
https://www.home-assistant.io/integrations/synology_dsm/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2022-12-24 01:12:10.977 ERROR (MainThread) [homeassistant.components.synology_dsm.config_flow] {'api': None, 'code': -1, 'reason': 'Unknown', 'details': "ConnectTimeout = (<urllib3.connection.HTTPSConnection object at 0x7f36b216ee30>, 'Connection to 192.168.1.9 timed out. (connect timeout=30)')"}
Additional information
No response
Issue Analytics
- State:
- Created 9 months ago
- Comments:9 (3 by maintainers)
Hi @stefanborghys
please enable debug logging, restart HA and provide the home-assistant.log after xxxx To do so add the following to your
configuration.yaml
:Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub.
home-assistant_2023-01-02T14-56-27.736Z.log This should act better. HA container started at 13:21 and at 14:55 i’ve got the last history record.