http - Connection error while fetching data from Eloqua in mule -


sometimes i'm getting below error while connecting eloqua system using http component. sometime fetching data eloqua in rare cases getting below error.

20:31:11.474     08/18/2017     worker-0     [elq-sfdc-batch-interface-v1].ma-sfdc-ma-batch-interfaceflow.stage1.29     error remote host closed connection. possible ssl/tls handshake issue. check protocols, cipher suites , certificate set up. use -djavax.net.debug=handshake further debugging. 20:31:11.477     08/18/2017     worker-0     [elq-sfdc-batch-interface-v1].ma-sfdc-ma-batch-interfaceflow.stage1.29     error ******************************************************************************** message : error sending http request. element : /ma-sfdc-ma-batch-interfaceflow/processors/18/get-ma-exported-data/subprocessors/0 @ elq-sfdc-batch-interface-v1:ma-sfdc-marketing-activities-create-export.xml:74 (get exported data) -------------------------------------------------------------------------------- exception stack is: error sending http request. (org.mule.api.messagingexception) (set debug level logging or '-dmule.verbose.exceptions=true' everything) ********************************************************************************  

this how http component configured

<http:request-config name="eloqua_bulk_api" protocol="https" host="${eloqua.host}" port="${eloqua.port}" basepath="/api/bulk/2.0" connectionidletimeout="1200000" responsetimeout="1200000" doc:name="http request configuration">     <http:basic-authentication username="${eloqua.username}" password="${eloqua.password}" preemptive="true"/> </http:request-config>  <http:request config-ref="eloqua_bulk_api" path="#[flowvars.'uri-export-data-contact']" method="get" doc:name="get exported data">     <http:request-builder>         <http:query-param paramname="limit" value="${eloqua.record.limit.activities}"/>         <http:query-param paramname="offset" value="#[sessionvars.offset]"/>     </http:request-builder> </http:request> 

similar kind of exception got while connect salesforce, in salesforce there connect anytime option there enabled. there same option in http component ?

i found solution, works until successful, below code

<until-successful maxretries="20" millisbetweenretries="40000" synchronous="true" doc:name="until successful">     <processor-chain doc:name="processor chain">         <http:request config-ref="eloqua_bulk_api" path="#[flowvars.'uri-export-data-contact']" method="get" doc:name="get exported data">             <http:request-builder>                 <http:query-param paramname="limit" value="${eloqua.record.limit.activities}"/>                 <http:query-param paramname="offset" value="#[sessionvars.offset]"/>             </http:request-builder>         </http:request>     </processor-chain> </until-successful> 

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -