AEM Forms connecting to wrong server for Adobe Sign | Community
Skip to main content
Level 3
November 2, 2017
Solved

AEM Forms connecting to wrong server for Adobe Sign

  • November 2, 2017
  • 3 replies
  • 2437 views

We are doing some work around AEM Forms and Adobe Sign.

Our Adobe Sign accounts are hosted on either the EU1 or NA2 domain.

We have noticed that  this does nto work in this case.  It appears that only accounts hosted on NA1 work.

We have updated to replace instances of na1 with na2

  • /libs/adobesign/components/adobesigncloudservice/adobesignpage/dialog/items/general/items/webaccesspoint
  • /libs/adobesign/components/adobesigncloudservice/adobesignpage/dialog/items/general/items/refreshtokenuri
  • /libs/adobesign/components/adobesigncloudservice/adobesignpage/dialog/items/general/items/oAuthUrl
  • /libs/adobesign/components/adobesigncloudservice/adobesignpage/dialog/items/general/items/apiaccesspoint
  • /libs/adobesign/components/adobesigncloudservice/adobesignpage/dialog/items/general/items/accesstokenuri
  • /etc/cloudservices/echosign/jcr:content

This allows us to connect during cloud config, BUT we are still unable to submit a form for sign.

In the log we see a request being made to the NA1 server

25.10.2017 19:55:53.654 *DEBUG* [86.172.113.235 [1508961350736] POST /content/forms/af/sign/jcr:content/guideContainer.af.agreement.jsp HTTP/1.1] org.apache.http.impl.conn.PoolingHttpClientConnectionManager Connection request: [route: {s}->https://secure.na1.echosign.com:443][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20]

and a stack dump

We get a stack dump in the log at

Caused by: com.adobe.sign.utils.ApiException: Request must be made to correct API access point (e.g. use GET /base_uris).

at com.adobe.sign.utils.ApiClient.invokeAPI(ApiClient.java:562)

at com.adobe.sign.api.TransientDocumentsApi.createTransientDocument(TransientDocumentsApi.java:94)

at com.adobe.aem.adobesign.service.impl.AdobeSignServiceImpl.uploadTransientDocument(AdobeSignServiceImpl.java:470)

We are wondering if there is any code that has https://secure.na1.echosign.com hard coded rather via a config entry,

Has anyone else come across this?

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by workflowuser

Engineering is aware of this issue and should be giving an update soon

3 replies

kautuk_sahni
Community Manager
Community Manager
November 3, 2017

I have asked AEM Forms experts to have a look at this one.

~kautuk

Kautuk Sahni
workflowuserAdobe EmployeeAccepted solution
Adobe Employee
November 3, 2017

Engineering is aware of this issue and should be giving an update soon

Level 2
March 8, 2018

Was this ever resolved? I came across the same issue, and ended up modifying all the endpoints via crxde for the cloud configuration. For example, https://api.na1.echosign.com/ -> https://api.na2.echosign.com/

Although the cloud service connects, I still see the following error:

EchoSignServiceImpl Unable to create agreement

com.adobe.aem.adobesign.service.AdobeSignServiceException: AEM-AS-100: Error reported by Adobe Sign: Request must be made to correct API access point (e.g. use GET /base_uris)..