gpt4 book ai didi

http - WSO2 序言中出现意外的 EOF

转载 作者:可可西里 更新时间:2023-11-01 16:30:26 24 4
gpt4 key购买 nike

我有一个代理调用 WSO2 ESB 4.6.0 中的另一个本地代理。基本上,定义是:

<proxy name="Proxy1" >
<target>
<inSequence>
<xslt/>
<header name="Action" value="issueActivity" />
<send>
<endpoint>
<address uri="http://localhost:8280/services/Proxy2" format="soap11"/>
</endpoint>
</send>
</inSequence>
<outSequence>
<filter xpath="not(get-property('FAULT'))">
<xslt/>
</filter>
<send />
</outSequence>
</target>
</proxy>

<proxy name="Proxy2">
<target>
<inSequence>
<xslt />
<property name="DISABLE_CHUNKING" value="true" scope="axis2"/>
<send>
<endpoint key="Inbound" />
</send>
</inSequence>
<outSequence>
<filter xpath="get-property('FAULT')">
<then>
<sequence key="DefaultErrorSequence" />
<header name="To" action="remove" />
</then>
<else>
<property name="Content-Encoding" scope="transport" action="remove"/>
<xslt/>
</else>
</filter>
<send />
</outSequence>
</target>
</proxy>

在几乎所有调用中,流程都完美运行,但当 Proxy1 尝试调用 Proxy2 时,日志中会周期性地出现此错误:

TID: [0]  [ESB]  TID: [0] [ESB] [2014-05-08 12:03:35,431]  WARN {org.apache.synapse.transport.passthru.TargetHandler} -  Receiving response while the handler is in an inconsistent state REQUEST_HEAD
TID: [0] [ESB] TID: [0] [ESB] [2014-05-08 12:03:35,432] ERROR {org.apache.synapse.transport.passthru.util.RelayUtils} - Error while building Passthrough stream
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:154)
[...]

日志中错误的末尾:

TID: [0]  [ESB]  TID: [0] [ESB] [2014-05-08 12:04:35,435]  WARN {org.apache.synapse.transport.passthru.TargetHandler} -  Connection time out while in state: REQUEST_DONE 
TID: [0] [ESB] TID: [0] [ESB] [2014-05-08 12:04:35,436] WARN {org.apache.synapse.FaultHandler} - ERROR_CODE : 101507
TID: [0] [ESB] TID: [0] [ESB] [2014-05-08 12:04:35,436] WARN {org.apache.synapse.FaultHandler} - ERROR_MESSAGE : Error in Sender
TID: [0] [ESB] TID: [0] [ESB] [2014-05-08 12:04:35,437] WARN {org.apache.synapse.FaultHandler} - ERROR_DETAIL : Error in Sender
TID: [0] [ESB] TID: [0] [ESB] [2014-05-08 12:04:35,437] WARN {org.apache.synapse.FaultHandler} - ERROR_EXCEPTION : null

根据 WSO2 文档,错误 101507 表示 Connection canceled

问题是这个错误的原因是什么?是客户端问题还是服务端问题?

更新

显然,错误的原因与此问题中描述的相同:WSO2 ESB unknown error code 102511

最佳答案

您是否在编写查询时在操作部分启用了返回请求状态复选框?这可能会导致问题..尝试一下..

关于http - WSO2 序言中出现意外的 EOF,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23550237/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com