The remote server did not respond with the handshake secret

I try to get handshake and use postman to make request.
Authorization header and two parameters in body:
target: https://*****:100/asana.php (with port, ssl - letsencrypt)
resource: 1106837714907611 (project id)
And get response:

asana.php looks like:
$headers = apache_request_headers();
if(!empty($headers[‘X-Hook-Secret’])){
$secret_token = $headers[‘$secret_token’];
header("X-Hook-Secret: " . $secret_token);
header(“HTTP/1.1 200 OK”);
}

Post is sent to https://app.asana.com/api/1.0/webhooks

Hey @Bastien_Siebman, you’ve done lots of PHP webhooks - any ideas what might be amiss here?

It was a long time ago, you are way better than me at webhooks, regardless what language is used :stuck_out_tongue:

@vanju
I think the odds are the issue is with the SSL certificate and/or configuration at your “target” server.

Take a look at this post:

and the two posts here from @johnnygoodnow:

See if any of that information helps.

1 Like

Hello! Thanks for the answer! I use http 1.1. and Apache/2.4.29 that support certificates longer than 1024 bit.

So, it might work with letsencrypt? Maybe there are other ideas?