Home:ALL Converter>Docusign developer webhook not allowing http

Docusign developer webhook not allowing http

Ask Time:2018-06-12T18:54:31         Author:Ben

Json Formatter

When setting up a webhook URL I need to use an http connection for my dev account. The docs clearly say that this is a valid option. Only the production env needs HTTPS but dev env can have HTTP or HTTPS See here and here.

I have tried on the account level where it will not even allow me to save the configs if URL is not https:

Docusign admin dev sandbox account

Also, when trying to set up the webhook on the envelope level:

$event_notification = new \DocuSign\eSign\Model\EventNotification(); 
$event_notification->setUrl("http://subdomain.app.webhook.com:8082/docusign/");
$envelope_definition->setEventNotification($event_notification);

This throws a failure which shows in the Failed Connect Notifications section in the admin sandbox as follows:

enter image description here

My feeling is that the port I'm using has something to do with it. I need to use that port for various tunneling reasons. But I'm not sure how it's affecting it and the error message I receive says clearly that uri needs to start with https, which is confusing coz in dev it doesn't.
Any help is appreciated.

Author:Ben,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/50815458/docusign-developer-webhook-not-allowing-http
yy