Docusign开发人员Webhook不允许使用http [英] Docusign developer webhook not allowing http

查看:199
本文介绍了Docusign开发人员Webhook不允许使用http的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

设置Webhook URL时,我需要为我的开发者帐户使用http连接. 文档清楚地说这是一个有效的选择.仅生产环境需要HTTPS,而开发环境可以具有HTTP或HTTPS.请参见此处此处.

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.

我已经尝试过帐户级别,如果URL不是https:

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

此外,当尝试在信封级别上设置Webhook时:

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:

我的感觉是我使用的端口与此有关.由于各种隧道原因,我需要使用该端口.但是我不确定它是如何影响它的,收到的错误消息清楚地表明uri必须以https开头,这会使dev中的coz感到困惑,但并没有.
感谢您的帮助.

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.

推荐答案

您所指的是在2017年6月15日之前创建的旧链接,自2017年6月15日以来,DocuSign也已停止在演示/沙盒环境中支持HTTP在此日期之后在Demo或PROD中创建的任何新帐户.请查看 DS支持链接以获取该公告.

You are referring to old links created before June 15, 2017, DocuSign has stopped supporting HTTP in Demo/Sandbox environment as well since June 15, 2017 for any new account created after this date in Demo or PROD. Please check DS Support link for the announcement.

您只需要在DEMO或PROD中设置HTTPS,出于开发目的,我建议使用 NGROK 我们的加密项目中获得a>或获得免费的HTTPS证书.

You need to set HTTPS only in DEMO or PROD, For Dev purpose, I would suggest to use either NGROK or get a free HTTPS certificates are available from the Let’s Encrypt project.

这篇关于Docusign开发人员Webhook不允许使用http的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆