2017-08-20 14 views
0

HTTPコンポーネントを使用してEloquaシステムに接続中にエラーが発生することがあります。 Eloquaからデータを適切にフェッチしていることがありますが、まれに、以下のエラーが発生します。Eloquaからデータをフェッチする際に接続エラーが発生しました

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 and certificate set up. Use -Djavax.net.debug=handshake for 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 All Exported Data) -------------------------------------------------------------------------------- Exception stack is: Error sending HTTP request. (org.mule.api.MessagingException) (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ******************************************************************************** 

HTTPコンポーネントがSalesforceへ接続している間、私が得た例外の

<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 All 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> 

同様の種類の構成方法これは、Salesforceでいつでもオプションを接続してありさがあった私が有効です。 HTTPコンポーネントに同じオプションがありますか?

答えて

0

私は解決策は、それが成功するまでと連携し、以下のコード

<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 All 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> 
ある ました
関連する問題