Docker-compose environment, webhooks

I first posted this issue on github

Maybe it’s preferred to ask this in the forum, so forgive me for copying this here:

Infos

  • Docker version: 18.06.1-ce
  • Docker-compose version: 1.13.0, build 1719ceb
  • Operating system (Docker host): Photon OS

I have a stack running zammad and a stack running an instance of webhook.site

Both run on the same docker host 192.168.97.160

Zammad is run behind HAproxy on a pfsense and reachable worldwide with a working https:// URL (using LetsEncrypt).

Configured a webhook plus a trigger in Zammad, the logs in Zammad show that the webhook is triggered, but I don’t see the request in the “webhook.site” GUI. Testing from my browser or local PC (curl) works fine.

So the question is: do I have to do anything special to the Zammad Docker stack to allow these outgoing requests maybe?

Expected behavior

  • webhooks created and triggered in Zammad show up in the webhook test site

Actual behavior

  • no requests get to the test “receiver”

Steps to reproduce the behavior

Sorry if I ask something obvious, I am new to webhooks …

additional

finding logs like:

zammad-scheduler_1      | I, [2022-11-18T10:40:26.758610 #1-109460]  INFO -- : 2022-11-18T10:40:26+0000: [Worker(host:07fde5f684aa pid:1)] Job TriggerWebhookJob [4db1488c-6040-4895-803e-f69bcb35a3d0] from DelayedJob(default) with arguments: [{"_aj_globalid"=>"gid://zammad/Trigger/5"}, {"_aj_globalid"=>"gid://zammad/Ticket/88"}, {"_aj_globalid"=>"gid://zammad/Ticket::Article/180"}] (id=6893) (queue=default) RUNNING
zammad-scheduler_1      | E, [2022-11-18T10:40:30.886436 #1-109460] ERROR -- : 2022-11-18T10:40:30+0000: [Worker(host:07fde5f684aa pid:1)] Job TriggerWebhookJob [4db1488c-6040-4895-803e-f69bcb35a3d0] from DelayedJob(default) with arguments: [{"_aj_globalid"=>"gid://zammad/Trigger/5"}, {"_aj_globalid"=>"gid://zammad/Ticket/88"}, {"_aj_globalid"=>"gid://zammad/Ticket::Article/180"}] (id=6893) (queue=default) FAILED (4 prior attempts) with TriggerWebhookJob::RequestError: TriggerWebhookJob::RequestError
zammad-scheduler_1      | E, [2022-11-18T10:40:30.886513 #1-109460] ERROR -- : 2022-11-18T10:40:30+0000: [Worker(host:07fde5f684aa pid:1)] Job TriggerWebhookJob [4db1488c-6040-4895-803e-f69bcb35a3d0] from DelayedJob(default) with arguments: [{"_aj_globalid"=>"gid://zammad/Trigger/5"}, {"_aj_globalid"=>"gid://zammad/Ticket/88"}, {"_aj_globalid"=>"gid://zammad/Ticket::Article/180"}] (id=6893) (queue=default) FAILED permanently because of 5 consecutive failures

Found Failed to run background job TriggerWebhookJob

My “other side” replies with Code 200, at least it seems to be configured like that.

Maybe important: the zammad-stack runs version 5.2.3-18

I am not sure which of the zammad containers actually calls the webhook.
I tried to join the webhook tester container to the zammad docker network and use the container IP in the URL. Still nothing popping up there.