Webhooks not sent in local setup

I tried setting webhooks in Settings to be sent to https://webhook.site to check @Skyfox675's problem with duplicated webhooks but upon setting them, no webhook was sent to specific address. From what I know, there's no need to set any kind of authorization as they're basically a callbacks. What am I setting wrong?
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
41 Replies
charles
charles4w ago
@ɃØĦɆᵾS do you have your worker running?
ɃØĦɆᵾS
ɃØĦɆᵾS4w ago
The app itself is running fine if that's what you mean by worker, I set the URL in UI, not in .env in twenty-server
charles
charles4w ago
no I mean that for webhooks to work you shoud also run: - npx nx run twenty-server:worker in parallel with: - npx nx run twenty-server:start the worker is handling all async jobs (including webhooks!)
ɃØĦɆᵾS
ɃØĦɆᵾS4w ago
Oh, no, it's not running, I'll check it and brb
charles
charles4w ago
cool, that should be it!
ɃØĦɆᵾS
ɃØĦɆᵾS4w ago
I have running npx nx start in one terminal and run npx nx run twenty-server:worker in another but worker exits with no problems, I guess this shouldn't happen if it's supposed to be running in parallel Also tried running npx nx run twenty-server:start npx nx run twenty-front:start and npx nx run twenty-server:worker in separate terminals but again, worker exits after ~15 sec
charles
charles4w ago
oh, are you running out of memory on your machine? Right now it's a nightmare: the front takes 6GB, the server 1.7GB and the worker 1.7GB too, I'm on a mission this week-end to get it back to some normal level and identify the issue npx nx run twenty-server:worker should stay up and running like npx nx run twenty-server:start is can you try to run npx nx run twenty-front:start in a terminal and npx nx run twenty-server:worker in another one You'll miss the server but it will confirm if you don't have enough memory for the 3 running together
ɃØĦɆᵾS
ɃØĦɆᵾS4w ago
No, I have way more memory than normal user needs 😄
charles
charles4w ago
okay! could you share a screen of your npx nx run twenty-server:worker terminal?
ɃØĦɆᵾS
ɃØĦɆᵾS4w ago
Sure, I can But what's weirder for me is a fact that I turned off server, run worker in different terminal and it "Successfully ran target"
charles
charles4w ago
weird, could you share your screens?
charles
charles4w ago
it should look like this
No description
ɃØĦɆᵾS
ɃØĦɆᵾS4w ago
ɃØĦɆᵾS
ɃØĦɆᵾS4w ago
Meanwhile I'm testing webhooks on demo and found another bug 😆
charles
charles4w ago
there is something wrong, your worker is triggering your server have you touched your configuration ? are you on main branch?
Want results from more Discord servers?
Add your server