Highlighted

Workflow error while exporting AEM user to Salesforce (ProtocolException: Target host is not specified)

jair9202193

30-08-2016

Hi ,

i followed the below link 

https://docs.adobe.com/docs/en/cq/5-6-1/administering/integrating-with-third-party-services/integrat...

But while trying to export AEM users as Salesforce Leads , The workflow is giving below error.

 

Caused by: com.day.cq.workflow.WorkflowException: Exception while Publishing lead to Salesforce: Error while Executing POST/PUT Request to Salesforce.com: 
    at com.adobe.cq.mcm.salesforce.SalesforceExportProcess.execute(SalesforceExportProcess.java:282)
    at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:93)
    ... 7 common frames omitted
31.08.2016 11:40:41.653 *ERROR* [JobHandler: /etc/workflow/instances/server0/2016-08-30/model_173722107476898:/home/users/geometrixx/aparker@geometrixx.info/profile] com.adobe.cq.mcm.salesforce.SalesforceClient Error while Executing POST/PUT Request to Salesforce.com: 
org.apache.http.client.ClientProtocolException: null
    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
    at com.adobe.cq.mcm.salesforce.SalesforceClient.doExecuteDataRequest(SalesforceClient.java:409)
    at com.adobe.cq.mcm.salesforce.SalesforceClient.executeDataRequest(SalesforceClient.java:370)
    at com.adobe.cq.mcm.salesforce.SalesforceClient.executeRequest(SalesforceClient.java:293)
    at com.adobe.cq.mcm.salesforce.SalesforceExportProcess.execute(SalesforceExportProcess.java:198)
    at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:93)
    at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:184)
    at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:232)
    at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:512)
    at org.apache.sling.event.impl.jobs.queues.JobRunner.run(JobRunner.java:205)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.http.ProtocolException: Target host is not specified
    at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:69)
    at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:124)
    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:183)
    ... 15 common frames omitted

 

Please help 

Thanks

Jaideep S.Rawat

Replies

Highlighted

sravani_vagicha

22-11-2016

Hi,

We followed the link https://docs.adobe.com/docs/en/aem/6-1/administer/integration/third-party-services/salesforce.html to integrate AEM with Salesforce. Also enabled the SSL for AEM instnace.

We are getting following error while exporting AEM users as Salesforce Leads:

com.adobe.granite.workflow.WorkflowException: Process execution resulted in an error
    at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:194)
    at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:232)
    at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:512)
    at org.apache.sling.event.impl.jobs.queues.JobRunner.run(JobRunner.java:205)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: com.adobe.granite.workflow.WorkflowException: Failed to execute process
    at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:108)
    at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:184)
    ... 6 more
Caused by: com.day.cq.workflow.WorkflowException: Exception while Publishing lead to Salesforce: Error while Executing POST/PUT Request to Salesforce.com:
    at com.adobe.cq.mcm.salesforce.SalesforceExportProcess.execute(SalesforceExportProcess.java:282)
    at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:93)
    ... 7 more

 

Could you please help us?

Thanks,

Sravani