Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Validate 1
Level 1
jair9202193
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
jair9202193
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
jair9202193
Level 1

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

Avatar

Avatar
Level 1
sravani_vagicha
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
sravani_vagicha
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
sravani_vagicha
Level 1

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

Avatar

Avatar
Ignite 1
Level 1
prabodh_vk
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
View profile

Avatar
Ignite 1
Level 1
prabodh_vk
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Ignite 1
Give Back 3
Give Back
View profile
prabodh_vk
Level 1

23-06-2020

Hi Sravani,

Were you able to find a solution for this?