Synology DSM integration failed: "Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble"

I have a “Synology DSM” NAS box, and HomeAssistant helpfully monitors status/disk usage/etc. Well, at least it used to.

Now it no longer works. All of the entities are broken, and if I go to the integration in Home Assistant, there is a big orange “Needs Attention” box that says:

"XXXXX.local

Failed setup, will retry: ClientConnectorDNSError = ConnectionKey(host=‘XXXXX.local’, port=5000, is_ssl=False, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=None)"

Every minute or so it tries to re-initialize and then returns to the error.

If I click on the cogwheel, I get a popup error that “Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble”.

I’ve seen a few other posts about this error text (in connection with different integrations), but they seem to be a few years old and reference a “SmartThings” issue but I do not – to the best of my knowledge – use SmartThings.

Any advice?

Thank you!

I am not a fan of mDNS (.local, etc.). They fail intermittently.

Set a static IP on your NAS and use that.

1 Like

@jeffcrum Sure but this doesn’t appear to be an issue with reachability of the NAS box… the settings screen that even LETS ME CHANGE THE HOSTNAME is crashing, presumably because of some sort of bug in the integration itself… So even if I wanted to replace the XXXX.hostname with its static IP, I do not appear to have a way to do so…

Ah. I misread the issue.

What versions of HA, DSM, and integration?

I am current on all and do not see this issue.

HA:
Home Assistant Core = 2025.12.5
Home Assistant Supervisor = 2025.12.3
Operating System = 16.3
Frontend = 20251203.3

DSM:
DESM 7.3.2-86009

Integration:
I do not know how to determine the version of the Integration…

FWIW, there are other threads with the same error message – like THIS ONE – but they appear to be related to different integrations…

All up-to-date there. Matches my versions.

Synology integration is an HA integration. So, it is up-to-date (or matches mine) too.

Sorry, no help here.

Update I was able to “Add” it again after restarting HA

I just ran into the same problem. Unpacked Home Assistant Green, started for the first time. Clicked “Add” on Discovered Synology and logged in.

It then asked me to select the location for the Backup, then I closed the tab (by accident) to go to my Synology and configure another shared folder. Then opened Home Assistant UI again and clicked “Add”.

Now I’m seeing the same error message as people in this thread:

“Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble”

It seems like there’s maybe some corrupted data being written if the configuration process for the backup location isn’t finished?