首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >从mule中的Eloqua获取数据时出现连接错误

从mule中的Eloqua获取数据时出现连接错误
EN

Stack Overflow用户
提问于 2017-08-20 15:58:43
回答 1查看 159关注 0票数 0

有时我在使用HTTP组件连接到Eloqua系统时出现以下错误。有时它会正确地从Eloqua中获取数据,但在极少数情况下会出现以下错误。

代码语言:javascript
复制
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组件就是这样配置的

代码语言:javascript
复制
<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时,我得到了类似的异常,在salesforce中,我启用了连接anytime选项。HTTP组件中是否有相同的选项?

EN

回答 1

Stack Overflow用户

发布于 2017-08-21 17:34:36

我找到了解决方案,它一直工作到成功,下面是代码

代码语言:javascript
复制
<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>
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/45779813

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档