question

vishwanath avatar image
vishwanath asked orangerocketdesign commented

Unable to configure webhook URL getting error "Unable to reach callback URL"

I've signed up with clover sandbox account and successfully authenticated by using OAuth. Able to access REST API everything is working fine but when I'm trying to configure webhook URL to receive verification code then it says "Unable to reach call back URL". The URL I'm using: https://webhook.site/018fabd2-637f-4094-8d41-63c16387b564 which is live and perfectly working with the postman. This URL I've received from https://webhook.site which is to get the response of webhook.
Webhooks
2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

vishwanath avatar image vishwanath commented ·

I've checked all the settings and permission on the app again but couldn't find anything suspicious which preventing me to register webhook URL. It was working perfectly before and also I've created a new sandbox account but still facing the same issue. Could anyone facing the same issue or can help me with the same?

0 Likes 0 ·
orangerocketdesign avatar image orangerocketdesign commented ·

Took me forever to solve this issue. For me it was my Apache server setting for SSL/TLS Protocols. Once I changed it to: all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1 it started working!

I also verified this by using the MxToolbox site and did the HTTPS Checker prior to and after, and it couldint find the SSL until I switched the SSL config to the above settings.

I hope this helps everyone!

0 Likes 0 ·
Raymond Lee avatar image
Raymond Lee Deactivated answered Raymond Lee Deactivated edited
We expect a 200 OK response in https. It looks like webhook.site used to send the response in https, but it no longer does so.

As @brokenOval brought up, an alternative is to try PipeDream's RequestBin, which does send the response back in https.

2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

brokenoval avatar image brokenoval commented ·

FYI @Raymond Lee RequestBIN seems to have either changed hands or is a bit buggy, came across this one that seems to work well: https://pipedream.com

1 Like 1 ·
Raymond Lee avatar image Raymond Lee brokenoval commented ·

You are correct, it looks like PipeDream is a better alternative, thanks for bringing it up!

I will modify my answer to reflect that.

0 Likes 0 ·
brokenoval avatar image
brokenoval answered orangerocketdesign commented
I suspect this is an HTTPS issue, it looks like webhook.site will accept an incoming HTTPS request but it responds in HTTP which the Clover Webhooks won't accept. (you can see from the webhook.site query that it's redirecting to http://)

The webhooks can be tricky to set up and I'd highly recommend using https://ngrok.com/ particularly for localhost testing purposes.
2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

vishwanath avatar image vishwanath commented ·

Thanks for the explaination, your advice is really helpful.


0 Likes 0 ·
orangerocketdesign avatar image orangerocketdesign commented ·

Took me forever to solve this issue. For me it was my Apache server setting for SSL/TLS Protocols. Once I changed it to: all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1 it started working!

I also verified this by using the MxToolbox site and did the HTTPS Checker prior to and after, and it couldint find the SSL until I switched the SSL config to the above settings.

I hope this helps everyone!

0 Likes 0 ·

Welcome to the
Clover Developer Community