webhooks not firing (docker compose setup)
Need some help with setting up webhooks.
I've got the sever running - google auth, email + calendar sync, API, etc.
But i can't get webhooks running. I've upload a screenshot of
docker compose logs -f worker
As far as I can tell the worker is running, but webhooks do not fire even though multiple are registered.
1 configured manually through the UI and a few via the API.
This is my redis confi on both the sever and worker:
REDIS_URL: ${REDIS_URL:-redis://redis:6379}
20 Replies
apparently the webhook queue is running

but my handlers aren't getting requests and I dont see logs indicating that events are emitting when a record changes.
Redis setup shouldn't interfere with webhooks as redis is only a cache, about the logs, logs should look something like this
Could you please check if webhook are sent properly to webhook testing page like https://webhook-test.com/ or https://webhook.site/ to ensure that problem lies in worker itself and not network like firewall and such?
Webhook Tester | Simple & Free Webhook Testing Tool
Experience instant, free access to a unique URL and email address at webhook-test.com. Test, inspect, and automate incoming HTTP requests effortlessly with our powerful tools, including a visual workflow editor and customizable scripts. Streamline your testing process and enhance your automation
Webhook.site - Test, transform and automate Web requests and emails
Instantly generate a free, unique URL and email address to test, inspect, and automate (with a visual workflow editor and scripts) incoming HTTP requests and emails
So the webhook at https://webhook.site/ worked. Heres some more context. Webhooks that I created via the interface are stored in
core.webhook and they all work. Webhooks made via the API, stored in a different datatbase schema named workspace_dvj<other letters>.webhook are not firing for the same events.Hey @martmull could you please have a look to this when you have some free time ?
Hello @Blessing, what Twenty version are you self hosting please ? (
echo $APP_VERSION in you twenty-server container )
Also what's your workspace version located at default.core.workspace.version ?
version = 1.1.1
@Blessing can you send us some records of those webhooks created via the rest api? Offuscate URLS and secret please
the ones in the workspace_ schema?
Ok, webhook entities has been migrated from workspace_schema to core schema. I think there is a command to run:
upgrade:1-1:migrate-api-keys-webhooks-to-core. @nitin can you look at this please?
@nitin does the rest api endpoints to create apiKeys or webhooks have been migrated?
looks there is an issue there. @Blessing for now I think you need to create your webhooks using the endpoints, then run the upgrade command, then it should workIs this the command:
docker compose exec -it server npx nx upgrade:1-1:migrate-api-keys-webhooks-to-core ?yarn command:prod upgrade:1-1:migrate-api-keys-webhooks-to-corechecking!
Ran the migration script. the webhooks were copied to the core schema and they worked.
However, new webhooks (created via the api) only appear in the workspace schema.
Ok, perfect
will be fixing them! thankyou for the report!!!
Awesome. Thanks for making the debugging so easy!
Yes, we did not update the REST API endpoints so that they create webhooks in the core schema. So they still create webhooks in the workspace schema. A fix is in progress
I think I saw a fix for this in the recent commits. Is there a date for the next version release?
Hello, we're currently doing the
1.2.0 release
Should be good by the end of the day for both cloud and dockerHub ( PARIS TZ )Sweet! Thank you.