WEBHOOK: Delay

omexlu

Member
Hello,

since today noon after 12 there seems to be problems with the webhook, I have a webhook call every 3 hrs under Linux, but since today after 12 it takes a whole 7 minutes until the webhook arrives at me.

The call starts for example at 15 o'clock and arrives however only at 15:07 o'clock with me at the cell phone.

But this problem is only since today.

Are the servers busy or before the delay?

Thank you.
 

Endercraft

Moderator (& bug finder :D)
Hello,

since today noon after 12 there seems to be problems with the webhook, I have a webhook call every 3 hrs under Linux, but since today after 12 it takes a whole 7 minutes until the webhook arrives at me.

The call starts for example at 15 o'clock and arrives however only at 15:07 o'clock with me at the cell phone.

But this problem is only since today.

Are the servers busy or before the delay?

Thank you.
The servers can take a while but it can also depend on your connection. I remember sometimes when I tested webhook it could take up to 30 minutes. The more I used it the faster it was.
Maybe at this time a lot of people use web hook at the same time, especially if it would come from a popular template macro that uses a day time trigger and makes the servers a bit busy.
 

MacroDroidDev

Administrator
Staff member
It's hard to say the exact cause, but I don't think my server would cause that level of delay. The webhook relies on Firebase Cloud Messaging and while this is usually very fast, it can like any other service suffer outages and degredations in performance.

I do have ideas to eventually throttle/limit the webhook for free users as I think it's fair that Pro users should always get the priority so if there is any issues with the MacroDroid server getting overloaded this may hopefully help (when I get around to it).
 
Top