Slow cURL command

Hi,
I made a shell_command to play some sound on a remote device.(play a ding-dong when the door is opening) The shell command executing a cURL command.
My problem is, after i call the service, it takes 6s to activating the sound.
If I put the same url to an iFrame on the gui, it is play the sound immediately.

I am using HA 0.109.0 on a Synology NAS Docker image.

What could be the problem?

Thank you

1 Like

Have you found any solution? Been struggling with this issue for months

Yes, it was a router problem(hardware). After changeing router the problem ceased.