Yes, the Publish command is in a loop; however there is a delay following the Publish command so I know that the duplication is likely caused by the single Publish method. As I watch the publish output in the Dashboard Log I see:
“TemperatureEventHub” followed by the JSON issued during Publish
“hook-sent/temperatureeventhub” followed with the JSON configured in the webhook
“hook-sent/temperatureeventhub” (this seems to be the duplicate) followed with the JSON configured in the webhook
Note that the Published times for all three events are exactly the same.
Yes, if I delete the webhook and re-create it the behavior is the same. I’ve also tried to delete the webhook and create it again with a new event name and it still gets duplicated.
Even more strange things: I created a new webhook with a separate Event Hub (with a separate event name) and for the newly created webhook the hook only gets invoked once!
Is it possible that the problematic hub still has something left over even after the delete operation?
I see two different webhooks using the same event name under two different users. It is possible if you were publishing public events, that both were triggering. Since webhooks triggering on public webhooks are no longer allowed this shouldn’t be a problem.