home-assistant/core

Synology DSM Integration keeps going UNAVAILABLE

jcmleng opened this issue · 6 comments

The problem

My Synology DSM220 keeps going Unavailable at random intervals. This was a problem many months back, appears to have been fixed, but in the past 2-3 weeks, have noticed the Unavailable occurring very frequently again, enough for it be very noticeable. Am unsure if Core 2024.10.2 caused the issue as I was not watching this occurrence closely until the last few days.

I have not changed anything around my Synology DSM for many years now, both on the DSM itself and the Synology DSM integration within HA.

Noticed that this issue was reported as #115062, but that issue has been closed, hence the opening of this issue.

What version of Home Assistant Core has the issue?

Core-2024.10.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Synology DSM

Link to integration documentation on our website

https://www.home-assistant.io/integrations/synology_dsm

Diagnostics information

See attached debug logs over 2 time periods.
home-assistant_synology_dsm_2024-10-18T01-31-14.744Z.log
home-assistant_synology_dsm_2024-10-18T08-17-36.861Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

This error seems to consistently showing up and correlates to the Synology DSM logbook entries which show the NAS being Unavailable.

2024-10-18 11:59:41.654 DEBUG (MainThread) [synology_dsm.synology_dsm] RESPONSE: {'error': {'code': 1052, 'errors': {'err_line': 194, 'err_msg': 'Transmition get failed Result.'}}, 'success': False}
2024-10-18 11:59:41.654 DEBUG (MainThread) [synology_dsm.synology_dsm] Session error: 1052

Additional information

Reloading the Synology DSM integration makes the device and entities available again, but it then goes unavailable again thereafter.

My DSM has a fixed IP address and is on the same network as my HA server.

Hey there @hacf-fr, @Quentame, @mib1185, mind taking a look at this issue as it has been labeled with an integration (synology_dsm) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of synology_dsm can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign synology_dsm Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


synology_dsm documentation
synology_dsm source
(message by IssueLinks)