Context deadline exceeded while using delete webhook

Hi!
I am very new to webhook programming and am a bit lost at the moment.

So I am currently trying to build an application in Python using Pipedrive webhooks. I would like to be informed as soon as a person in Pipedrive is updated or deleted. For this purpose, I have set up a Flask server that accesses the webhooks. For the action “updated.person” everything works as I imagine. But as soon as I have a webhook with the action “deleted.person”, I get the following error message:

[ERROR] Failed to POST: Post "http://localhost:5000/webhooks": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

I use Hookdeck to display the webhooks and to map them to localhost and as soon as I delete a person at Pipedrive, Hookdeck also informs me about it and I can see the whole request body which also looks correct to me. However, the endpoint is not addressed in the python code and I get the error mentioned above.

Does anyone have any idea what the problem is? Thank you!

Hello @jana!

I tried it here and the webhook is working fine, Pipedrive sends it and Hookdeck receives it. The issue seems to be something related to the endpoint used by Hookdeck in your http://localhost:5000/webhooks, as the error points out. Can you verify?