当我在 WSO2 API Manager 中发布 API 时,出现以下错误:
Gateway Failures
Failed to Publish Environments
Production and Sandbox
Error while obtaining API information from gateway. Error while obtaining API information from gateway. Authentication failure
当我在 WSO2 API Manager 中发布 API 时,出现以下错误:
Gateway Failures
Failed to Publish Environments
Production and Sandbox
Error while obtaining API information from gateway. Error while obtaining API information from gateway. Authentication failure
这可能是由于身份验证失败。请检查api-manager.xml ( )<Environments>
中根元素的内容元素中的用户名/密码是否正确<APIGateway>
<APIM_HOME>/repository/conf/api-manager.xml
我遇到过这个问题。检查日志时,我看到了这个:
URL context: /hrs/admihrsd/osb/documentWS/2.0.0 is already registered with the API: novakgo--hrs-admihrsd-osb-document-service:v2.0.0
问题是有人试图发布与另一个具有相同上下文的新 API。他们应该更改上下文并再次发布,并且错误已修复。上下文必须是唯一的。