code":"messaging.adaptors.http.flow.ApplicationNotFound"}}}
错误信息
{"fault":{"faultstring":"Unable to identify proxy for host: maersk-host and url: \/","detail":{"errorcode":"messaging.adaptors.http.flow.ApplicationNotFound"}}}
AI 解决方案
报错分析报告
1.错误翻译
原文:Unable to identify proxy for host: maersk-host and url: /
译文:无法为主机maersk-host和URL/识别代理
2. 原因分析
maersk-host主机和/路径的代理规则 messaging.adaptors.http.flow),触发ApplicationNotFound错误码 3.解决方案
以Apigee为例,补充代理配置(直接部署生效):
# 代理配置文件(apiproxy/proxies/default.xml 片段)
<ProxyEndpoint name="default">
<HTTPProxyConnection>
<BasePath>/</BasePath>
<VirtualHost>default</VirtualHost>
<RouteRule name="route">
<TargetEndpoint>default</TargetEndpoint>
</RouteRule>
</HTTPProxyConnection>
<Condition>(proxy.pathsuffix MatchesPath "/") and (request.header.host = "maersk-host")</Condition>
</ProxyEndpoint>
# 目标端点配置(apiproxy/targets/default.xml 片段)
<TargetEndpoint name="default">
<HTTPTargetConnection>
<URL>https://your-actual-maersk-backend.com/</URL> <!-- 替换为真实后端地址 -->
</HTTPTargetConnection>
</TargetEndpoint>
操作步骤:
maersk-proxy的代理; maersk-host和基础路径/; 4. 预防措施
apigeetool或平台自带工具校验代理-主机-路径的映射关系; ---
分析完成,请验证代理配置后重试。