Wso2 API管理器错误\u代码=101508,发送方错误
我在WSO2 API管理器上发布了一个测试API作为原型API。但是当我试图卷曲API端点时,我得到了下面的错误Wso2 API管理器错误\u代码=101508,发送方错误,wso2,wso2-am,Wso2,Wso2 Am,我在WSO2 API管理器上发布了一个测试API作为原型API。但是当我试图卷曲API端点时,我得到了下面的错误 curlhttp://localhost:8280/weather2/v1.0.0 <am:fault xmlns:am="http://wso2.org/apimanager"> <am:code>101508</am:code> <am:type>Status report</am:type> <
curlhttp://localhost:8280/weather2/v1.0.0
<am:fault xmlns:am="http://wso2.org/apimanager">
<am:code>101508</am:code>
<am:type>Status report</am:type>
<am:message>Runtime Error</am:message>
<am:description>Error in Sender</am:description>
</am:fault>
101508
状态报告
运行时错误
发送方错误
对于托管API,我也收到了相同的错误。存在导致此行为的问题[]。但是,您可以创建一个自定义序列,如下所示,并在管理API阶段将其作为API的插入序列添加。问题是,如果没有以下顺序,主机头将作为
host:api.mydubaitrip.com:80转到端点,而该端点不支持该主机头
<sequence xmlns="http://ws.apache.org/ns/synapse" name="remove_port_In">
<property name="REQUEST_HOST_HEADER" value="api.mydubaitrip.com" scope="axis2"/>
</sequence>
[1] 错误代码表明连接超时。后端是什么?后端是您可以在API管理器中启用HTTP wire日志,方法是在repository/conf/log4j.properties文件中取消注释log4j.logger.org.apache.synapse.transport.HTTP.wire=DEBUG
line。您可以看到API管理器如何将请求发送到后端,响应是什么。