Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
221 views
in Technique[技术] by (71.8m points)

Asana Webhook target url is not getting called

Asana Webhook target url is not getting called Getting a timeout error while calling /webhooks (post)

Error Message:

{
    “errors”: [{
    “message”: “ETIMEOUT: Asana was unable to connect to your webhook within the timeout of 10000 ms.”,
    “help”: “For more information on API status codes and how to handle them, read the docs on errors: Asana”
    }]
  }

On my local machine I am using ngrok for https target url and a webhook working as expected. But once I moved the server here and call /webhooks (post) api i am not getting any request to my server (i am logging).

{
    “data”: {
        “filters”: [{
        “action”: “changed”,
        “fields”: [“custom_fields”],
        “resource_type”: “task”
        }],
        “resource”: “{resource_id}”,
        “target”: “{baseurl}/webhook/{project_id}/{task_id}”
    }
}

Note: i am masking {resource_id} and {baseurl} I tested the target url in postman and I am getting responses as expected, no issues, i believe no issue in api. For HTTPS certificate iam using certbot Issuer info:

CN = R3
O = Let’s Encrypt
C = US
Thanks in Advance
question from:https://stackoverflow.com/questions/65844374/asana-webhook-target-url-is-not-getting-called

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...