api icon indicating copy to clipboard operation
api copied to clipboard

Webhooks not received for certain domains

Open passuf opened this issue 8 years ago • 6 comments

I played around with webhooks for some time and created a small application which I deployed on heroku, everything worked liked expected. When I moved the application to my own server, I did not receive the webhooks anymore. I am still able to communicate with the API and are able to create and receive new webhooks e.g. with a URL pointing to a Runscope Bucket, but if I add my own domain as URL, the webhook is created, but I do not receive any call when updating the corresponding list.

If I forward the request with Runscope, my application receives and handles the webhook, so my endpoint should be working correctly. According to my server logs there are no https or http calls coming from wunderlist, even though there are webhooks registered with the correct URL pointing to my application.

Now I am wondering if a domain first needs to be white listed or similar before receiving webhooks, since heroku.com and runscope.com are well known services but my domain is of course not.

Thanks a lot for your help!

edit I managed to receive webhooks when I change the URL to http:// instead of https://. Is it possible that you do not trust SSL certificates from StartSSL?

passuf avatar Jan 03 '16 11:01 passuf

were you getting events on completed tasks from webhooks? I only got events for a task being created but not for being completed. this was all local dev using runscope.

gdiab avatar Jan 04 '16 19:01 gdiab

@gdiab Yes, I receive an event when a task is completed. In fact, I receive an event each time the task is updated. The operation of the event is update, and there are a before and after object to see the changes made to the task. When completed, the key is_completed changes from false to true.

passuf avatar Jan 05 '16 11:01 passuf

I am facing similar issue and not getting Webhook updates even with an http endpoint. As passuf mentioned I can see that the update is coming on requestb.in but not to my domain.

ashishjen avatar Feb 18 '16 16:02 ashishjen

Mee too facing this issue, I am creating a webhook for my localhost, like http://localhost:8080/list_webhook but its not getting invoked on create new task in a certain list event.

Update but when I deployed my code to heroku and is working now. list_webhook (POST) received on my server. as mentioned by @passuf

qadirsuh avatar Jun 06 '18 05:06 qadirsuh

@passuf can you help me regrading the webhook. I want my webhook to be invoked when a certain task's due date/time is reached. basically I am working on a reminder app. I want to notify the user about his reminder. simply I want my webhook to be invoked when a reminder time is reached. I have checked it my webhook is not invoking, please don't tell me this is not supported :(

qadirsuh avatar Jun 06 '18 07:06 qadirsuh

@qadirsuh I do not know whether you can subscribe a webhook to events such as reaching a reminder date/time. Alternatively you could save the reminder time locally when the task is updated (your webhook gets invoked), and then you store and process these notifications on your server, e.g. using a simple cron-job.

passuf avatar Jun 06 '18 07:06 passuf