1

我正在尝试将 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 并毫无问题地创建信封,所以我不知道如何解决这个问题。任何帮助将不胜感激。

4

2 回答 2

1

Jan 发行说明中讨论了此更改。

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

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

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

于 2021-01-28T21:36:52.357 回答
0

现在出现错误,之前工作正常:致命错误:未捕获的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:"连接侦听器通信需要 HTTPS。";}

于 2021-02-05T13:25:58.353 回答