Next.js Discord

Discord Forum

Webhook in dev mode is slow to respond but only for one source?

Unanswered
Phalène posted this in #help-forum
Open in Discord
PhalèneOP
Sure I am doing something wrong. If I trigger the event from remote source, I receive it in webhook.site (third party test site) but it is delayed reaching my local next.js instance (through cloudflare tunnel). If I send an unauthorized event from insomnia (also going through cloudflare tunnel), it is received immediately. If I receive a separate authorized event (signature sent through headers), it is delayed. Appreciate any tips or tricks. Latest version of next.js.

1 Reply

PhalèneOP
Never mind. I made changes to the webhook event emitter and it did not register as a "new" process. Deleted and redid, and it works.