Docusign: HTTPS required for Connect listener communication error

偶尔善良 提交于 2021-02-10 14:42:14

问题


I'm trying to use the Docusign API for an application that I'm running locally and I see the following error:

"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."}

I am behind a company proxy but I have been able to use the API in the past and create envelopes without an issue so I'm not sure how to address this. Any help would be greatly appreciated.


回答1:


This change is discussed in the Jan release notes.

Connect can only be used with https listeners (customers' servers).

And note that the server must use a certificate that chains to a root cert in the Microsoft standard root cert list. (Self-signed certs won't work.) You can use a free cert from LetsEncrypt or a $15 cert from a reputable CA.

I'm sorry that this update caught you by surprise.




回答2:


Getting error now, it was working fine before: Fatal error: Uncaught DocuSign\eSign\Client\ApiException: Error while requesting server, received a non successful HTTP code [400] with response Body: O:8:"stdClass":2:{s:9:"errorCode";s:35:"HTTPS_REQUIRED_FOR_CONNECT_LISTENER";s:7:"message";s:50:"HTTPS required for Connect listener communication.";}



来源:https://stackoverflow.com/questions/65945337/docusign-https-required-for-connect-listener-communication-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!