Docusign:Connect 侦听器通信错误需要 HTTPS

Docusign: HTTPS required for Connect listener communication error

我正在尝试将 Docusign API 用于我在本地 运行 的应用程序,但我看到以下错误:

"message":"Uncaught Error when executing a Single
Cause: com.docusign.esign.client.ApiException: Error while 
requesting server, received a non successful HTTP code 400 with response Body: 

'{"errorCode":"HTTPS_REQUIRED_FOR_CONNECT_LISTENER",
  "message":"HTTPS required for Connect listener communication."}'

Description: com.docusign.esign.client.ApiException: Error while 
requesting server, received a non successful HTTP code 400 with response Body: 

'{"errorCode":"HTTPS_REQUIRED_FOR_CONNECT_LISTENER",
"message":"HTTPS required for Connect listener communication."}

我使用公司代理,但我过去能够使用 API 并毫无问题地创建信封,所以我不确定如何解决这个问题。任何帮助将不胜感激。

此更改在 Jan release notes 中讨论。

Connect 只能与 https 个侦听器(客户的服务器)一起使用。

并注意服务器必须使用链接到 Microsoft 标准根证书列表中的根证书的证书。 (自签名证书无效。)您可以使用来自 LetsEncrypt 的免费证书或来自信誉良好的 CA 的 15 美元证书。

很抱歉这次更新让您感到意外。

现在报错,之前是正常的: 致命错误:未捕获 DocuSign\eSign\Client\ApiException:请求服务器时出错,收到不成功的 HTTP 代码 [400] 和响应正文:O:8:"stdClass":2:{s:9:"errorCode";s :35:"HTTPS_REQUIRED_FOR_CONNECT_LISTENER";s:7:"message";s:50:"Connect 侦听器通信需要 HTTPS。";}