如何修复使用 apigee 设置 API 代理时的 <"faultstring":"The Service is temporarily unavailable"> 错误?

How to fix <"faultstring":"The Service is temporarily unavailable"> error while setting up API proxy using apigee?

我正在尝试使用带有跟踪帐户的 apigee 设置 API 代理。

我在访问目标端点时遇到问题(URL 可以直接通过浏览器正确访问)。

XML部分API代理如下:

<TargetEndpoint name="default">
    <Description/>
    <FaultRules/>
    <PreFlow name="PreFlow">
        <Request/>
        <Response/>
    </PreFlow>
    <PostFlow name="PostFlow">
        <Request/>
        <Response/>
    </PostFlow>
    <Flows/>
    <HTTPTargetConnection>
        <Properties/>
        <URL>http://xyz. com/artifactory/app/</URL>
    </HTTPTargetConnection>
</TargetEndpoint>

预计:

Error code 200 页面应该加载。

实际:

{
     "fault":{
          "faultstring":"The Service is temporarily unavailable",
          "detail":{
              "errorcode":"messaging.adaptors.http.flow.ServiceUnavailable"
          }
     }
}

问题是,神器库 URL 无法从试用帐户访问。使用 'official' 帐户(具有访问权限)创建另一个代理后,链接工作正常并且文件正在下载。

简而言之,apigee 帐户需要访问 artifactory。