Webhook ERROR

Hello Team,

In summary, we have an endpoint https://app.xxx.com/vplanning/pipedrive/UpdateContact.do which respects pipedrive recommendations like https, certificates .

This endpoint works fine without Timeout :

But pipedrive can’t reach this endpoint ??? Do you think there is a reason for this? Did we miss a recommendation specific to pipedrive?

when we test our endpoint we never encounter the timeout error.

Could you give us some information about the POST request issued by PIPEDRIVE on our endpoint? Headers for example?

Moreover, we did an additional test, in order to check the application code of the endpoint, we made our servlet accessible through an ngrok tunnel.

So the same code is accessible by ngrok tunnel or by app.xxx.com

After that, we have created 2 similar webhooks. The first using the URL app.xxx.com and the second using the URL with ngrok.

The webhook via ngrok works fine.

Please help us on this one !

All of our developments are BLOCKED :confused: We trully need logs or advices.

Thx

Hi @Franz

Indeed, it looks strange.

Could you give us some information about the POST request issued by PIPEDRIVE on our endpoint? Headers for example?

Provided URL will get next HTTP headers upon call

{
  'host': '<host>',
  'user-agent': 'Pipedrive Webhooks', // user agent
  'content-length': '<content-length>',
  'accept': 'application/json, text/plain, */*',
  'authorization': 'Basic <auth>',
  'content-type': 'application/json',
  'x-forwarded-for': '<some ip>',
  'x-forwarded-proto': '<schema>',
  'accept-encoding': 'gzip'
}

As for timeout; if an endpoint does not provide 200 status code within 10 seconds, retry is scheduled and that request is considered as failed, more here.

Also, I noticed that in Postman the network icon is in “red state” for your endpoint, could you hover over it and check what does it say?

Screenshot 2020-12-18 at 10.43.17

With a valid SSL certificate, I got this icon (on hover it shows all details)

Screenshot 2020-12-18 at 11.21.59

Thanks Mykhailo.

I’m not enough accurate so colleagues will provide informations asap.

See you soon.

If it can help in the meantime, with reqbin I have for headers:
Set-Cookie: JSESSIONID=FE1296D32BEDAB60D14990F76291A7BA; Path=/vplanning; Secure; HttpOnly
Cache-Control: no-cache, no-store, must-revalidate
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Connection: close
Content-Length: 0
Date: Mon, 21 Dec 2020 18:03:53 GMT

for "raw"
HTTP/1.1 200
Set-Cookie: JSESSIONID=FE1296D32BEDAB60D14990F76291A7BA; Path=/vplanning; Secure; HttpOnly
Cache-Control: no-cache, no-store, must-revalidate
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Connection: close
Content-Length: 0
Date: Mon, 21 Dec 2020 18:03:53 GMT

dear @mykhailo ykhailo,

here is the screenshot you’ve asked:
unnamed

can you see what happens?

Thanks a lot,

ƒ

hello @mykhailo,

We were wondering if you can advise anything to solve our issue or eventualy to do something on pipedrive’s side …?

thank you

Hello @Franz

Sorry for long reply.

“Unable to verify the first certificate” means there is an issue with SSL.

Here is an explanation from the tech side.

Could you try another SSL certificate for your webook endpoint?

1 Like

dear @mykhailo!

Thank you for your help > we will implement a new SSL and will keep you posted.

1 Like