Hi guys,
Last few days I’ve been waking up to 1 or more add-ons that were not running for some reason. During the night these add-ons just stopped and didn’t restart. For example my rode-ned add on was not running and when I tried to open it, I got this message.
I can just start it without any issue. Also my Deconz add-on was not running this morning. I do have watchdog and automatic start enabled.
Is there a way to find out why these add-ons stop? I don’t exactly know what to look for.
Settings → System → Logs → top right dropdown → Supervisor
I’m seeing this issue with another add-on.
The reason is due to a rate limit being hit (in my case)
supervisor.exceptions.AddonsJobError: Rate limit exceeded, more then 10 calls in 0:30:00
Is this a new feature/limit? in 2022.8?
Yes but it’s an internal rate limit, not a docker rate limit or anything. If you see that message that means supervisor’s watchdog restarted that addon more than 10 times in a half an hour because each time it did the addon either crashed or was unhealthy. At that point supervisor gives up trying to restart it as it assumes it will never be able to start it without an issue without a user correcting it’s config.
What is the log when you start the addon manually? I assume it gets brought down again pretty soon after starting so what is the log before that?
In my case this is an addon that connects to an alarm panel. The connection is reliable for weeks but then if the panel has an issue, it can take be offline for 5 mins or so, or refuse to connect properly, and the addon doesn’t have any exception handling or reconnect logic (by design) so relies on HA to restart it. I guess the connection is too flaky sometimes if it fails 10 times.
So was this new? or did I never get this unlucky before?
I have the same issue with the Texecom integration. Did you ever manage to resolve?
Is there a way to override the internal rate limit and would this have detrimental effects other than perhaps filling logs?
As I use the integration for things like turning on lights I’d rather it kept trying to restart unless there are real issues with doing this.
Regards