I have a webhook that is not doing what I wanted, so I deleted it. My list of webhooks is now empty. But if I subscribe to “mine” (all in CLI), I still see the hook triggering and see the response from the server. Bug? Or am I doing something wrong?
Subscribing to all events from my personal stream (my devices only)
Listening to: /v1/devices/events
{"name":"button3","data":"null","ttl":"60","published_at":"2016-01-06T21:24:37.956Z","coreid":"2e0024000547343138333038"}
{"name":"button4","data":"null","ttl":"60","published_at":"2016-01-06T21:24:38.156Z","coreid":"2e0024000547343138333038"}
{"name":"allbuttons","data":"null","ttl":"60","published_at":"2016-01-06T21:24:38.357Z","coreid":"2e0024000547343138333038"}
{"name":"hook-sent/allbuttons","data":"undefined","ttl":"60","published_at":"2016-01-06T21:24:38.378Z","coreid":"2e0024000547343138333038"}
{"name":"hook-sent/allbuttons","data":"undefined","ttl":"60","published_at":"2016-01-06T21:24:38.380Z","coreid":"2e0024000547343138333038"}
{"name":"hook-sent/allbuttons","data":"undefined","ttl":"60","published_at":"2016-01-06T21:24:38.381Z","coreid":"2e0024000547343138333038"}
{"name":"hook-sent/allbuttons","data":"undefined","ttl":"60","published_at":"2016-01-06T21:24:38.382Z","coreid":"2e0024000547343138333038"}
{"name":"hook-sent/allbuttons","data":"undefined","ttl":"60","published_at":"2016-01-06T21:24:38.383Z","coreid":"2e0024000547343138333038"}
{"name":"hook-sent/allbuttons","data":"undefined","ttl":"60","published_at":"2016-01-06T21:24:38.385Z","coreid":"2e0024000547343138333038"}
{"name":"hook-sent/allbuttons","data":"undefined","ttl":"60","published_at":"2016-01-06T21:24:38.386Z","coreid":"2e0024000547343138333038"}
{"name":"hook-sent/allbuttons","data":"undefined","ttl":"60","published_at":"2016-01-06T21:24:38.388Z","coreid":"2e0024000547343138333038"}
Just wanted to chime in that someone pinged me about this thread. That’s definitely weird and shouldn’t happen! Webhooks hasn’t had much love in terms of engineer time lately due to work on the Electron, but looking into some of these weird bugs is a priority for me, I’ll let you know when I know more.
edit: just as an explanation, usually the webhook removal is instant, but if that fails, a periodic job keeps the workers in sync with the list of active hooks. So my guess is something in there is our culprit.
The day after I posted here, I checked and all the stray webhooks were gone. I set up the final hooks and stopped playing with add/delete and the hooks have been working fine since…
I can’t tell whether the problem is still there because I have settled my config now. But thanks for checking in.