API Bluemix 中的管理服务无法绑定到 CF 应用程序
API Management service in Bluemix can't be bound to CF application
我正在使用 API 管理服务在 Bluemix 中构建一个 CloudFoundry 应用程序。为此,我正在学习本教程 http://www.ibm.com/developerworks/cloud/library/cl-bluemix-api-mgmt-app/index.html.
我可以成功地为自定义 REST API 应用程序(运行 在 Bluemix 上的 Liberty 服务器上创建一个 API 计划,并且它已发布。
我还可以使用新的自定义 API 在我的 Bluemix 仪表板中创建服务,我认为 API 计划已成功部署在 Bluemix 上。
每当我尝试绑定这个新服务时,我都会收到以下消息:
BXNUI2055E: Unable to connect to Cloud Foundry because of the
following exception: "Read timed out." If the problem persists, see
the Troubleshooting topics in the IBM Bluemix Documentation to check
service status, review troubleshooting information, or for information
about getting help.
我时不时也会收到这条消息
The service broker returned an invalid response for the request to
https://apimasv1-stage.stage1.mybluemix.net/d118dceb-edbf-4a7f-9bab-d44371b0c9f9/privateservices/v2/service_instances/1a60830c-0796-4105-afb4-e3477424acf9/service_bindings/ebb853dc-ec88-4987-b8f2-e9acd38d1741.
Status Code: 502 Bad Gateway, Body: 502 Bad Gateway: Registered
endpoint failed to handle the request.
此外,我可以打开 API 门户并查看其中列出的服务。但是,每当我尝试测试该服务时,都会收到以下错误
A security error has occurred. If using a self-signed certificate on
your gateway, you will need to accept it in your browser, which you
can do by clicking the following link.
https://api.wawona.apim.ibmcloud.com/victorshmx1ibmcom-dev/sb/LibraryREST/rs/authors/1
此外,在下面的回复中我收到了这条消息:
NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to
load
'https://api.wawona.apim.ibmcloud.com/victorshmx1ibmcom-dev/sb/LibraryREST/rs/authors/1'.
我必须澄清此服务(自由应用程序)没有任何访问 REST 服务的安全限制,我也没有在 API 管理门户中添加某种安全措施。
另外要说明的是,我可以绑定其他服务,但不能绑定这个。
有谁知道我该如何解决这些问题? IBM API 管理服务是否存在已知问题?
这似乎是您尝试绑定的服务 API 管理实例的错误。
您可以按照 link 向支持团队开票,您可以在此处找到:
https://developer.ibm.com/bluemix/support/
单击 'Contact IBM' 并打开 'Support ticket'
我正在使用 API 管理服务在 Bluemix 中构建一个 CloudFoundry 应用程序。为此,我正在学习本教程 http://www.ibm.com/developerworks/cloud/library/cl-bluemix-api-mgmt-app/index.html.
我可以成功地为自定义 REST API 应用程序(运行 在 Bluemix 上的 Liberty 服务器上创建一个 API 计划,并且它已发布。
我还可以使用新的自定义 API 在我的 Bluemix 仪表板中创建服务,我认为 API 计划已成功部署在 Bluemix 上。
每当我尝试绑定这个新服务时,我都会收到以下消息:
BXNUI2055E: Unable to connect to Cloud Foundry because of the following exception: "Read timed out." If the problem persists, see the Troubleshooting topics in the IBM Bluemix Documentation to check service status, review troubleshooting information, or for information about getting help.
我时不时也会收到这条消息
The service broker returned an invalid response for the request to https://apimasv1-stage.stage1.mybluemix.net/d118dceb-edbf-4a7f-9bab-d44371b0c9f9/privateservices/v2/service_instances/1a60830c-0796-4105-afb4-e3477424acf9/service_bindings/ebb853dc-ec88-4987-b8f2-e9acd38d1741. Status Code: 502 Bad Gateway, Body: 502 Bad Gateway: Registered endpoint failed to handle the request.
此外,我可以打开 API 门户并查看其中列出的服务。但是,每当我尝试测试该服务时,都会收到以下错误
A security error has occurred. If using a self-signed certificate on your gateway, you will need to accept it in your browser, which you can do by clicking the following link. https://api.wawona.apim.ibmcloud.com/victorshmx1ibmcom-dev/sb/LibraryREST/rs/authors/1
此外,在下面的回复中我收到了这条消息:
NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://api.wawona.apim.ibmcloud.com/victorshmx1ibmcom-dev/sb/LibraryREST/rs/authors/1'.
我必须澄清此服务(自由应用程序)没有任何访问 REST 服务的安全限制,我也没有在 API 管理门户中添加某种安全措施。
另外要说明的是,我可以绑定其他服务,但不能绑定这个。
有谁知道我该如何解决这些问题? IBM API 管理服务是否存在已知问题?
这似乎是您尝试绑定的服务 API 管理实例的错误。 您可以按照 link 向支持团队开票,您可以在此处找到: https://developer.ibm.com/bluemix/support/
单击 'Contact IBM' 并打开 'Support ticket'