Asana Webhooks

{
“errors”: [
{
“message”: “Could not complete activation handshake with target URL. Please ensure that the receiving server is accepting connections and supports SSL.”,
“help”: “For more information on API status codes and how to handle them, read the docs on errors: Build an app with Asana
}
]
}

The error above is the error I am receiving when I am attempting to create an asana webhook. The target I am sending in the post body is receiving connections from insomnia/postman, and It is returning the X-Hook-Secret and the X-Hook-Signature depending on the request header(This is a POST restful api that matches exactly what is sent as the “target” in the asana create webhook body). However, I never see asana make a request to this target URL. Can I have an asana developer work with me and tell me what they are seeing on that side and what is exactly causing this error?

Thank you!

Bump

@Joe_Trollo @Ross_Grambo

1 Like

Thanks @Phil_Seeman!

Thank you!

Hey @Tyler_Dotson,

I sent you a DM with a debugging tool that might help. I’m not sure if we want to release it yet, so I’m not posting it publicly.

What language & framework are you using? This is a common occurrence in a single threaded app.

1 Like

Hi @Ross_Grambo!

Thank you so much for getting back to me. I am using node.js with ES6 JavaScript. However, the tool returned a different error. I will PM you.

Thanks for the tool. I am getting the following error back: Unable to get local issuer certificate. However, I have a valid SSL certificate from DigiCert. I am still uncertain as to what the problem is.

Could you run your app locally and use the tool to hit it? Perhaps using something like ngrok in the middle?

Or if it’s easier, could you try a proxy? I want so see if everything else is working besides the cert.

Besides that, it seems like this is a fairly common problem with misc. requests. You might be better off searching around for a solution, as I don’t think I’ll be too helpful if it’s certificate related :frowning:

Here’s a site that seems to understand the issue, not sure if their solutions will work: https://aboutssl.org/fix-ssl-certificate-problem-unable-to-get-local-issuer-certificate/

The problem was how the SSL certificate was setup. I didn’t have the intermediate certificate file combined with the primary certificate file.

The following links helped me identify what exactly the problem was and how to solve it.

Check to see if your certificate is setup correctly.
https://www.digicert.com/help/

If not, maybe, these steps will help you.
https://www.digicert.com/csr-ssl-installation/nginx-openssl.htm#ssl_certificate_install

2 Likes