WSO2 returns 所有 API 的错误响应,包括示例 API(pizzashack)
WSO2 returns error response for all APIs including sample API(pizzashack)
我已经在 wso2-publisher 中发布了我的 api,并且正在尝试从商店 (wso2) 进行访问。但它给出的响应如下:
回复Body:无内容
响应代码: 0
响应Header:服务器无响应
它可能与
。但是我无法获得样本 API 本身的响应(Pizzashack API)。
我已经尝试了那里建议的所有方法,但没有成功。
当我在我的 AWS 实例中 运行 wso2-api-manager 时,我也遇到了同样的问题。 api-manager 是否需要对 VM 进行任何单独更改?
谁能帮我解决这个问题?提前致谢!
Troubleshooting
When using the API Console, the web browser sends an HTTPS request to
the Gateway. If the certificate in the Gateway is not CA signed, the
browser will not accept it. Therefore, you may get the following
error.
ERROR - SourceHandler I/O error: Received fatal alert: unknown_ca
javax.net.ssl.SSLException: Received fatal alert: unknown_ca
As a workaround, you can access the Gateway URL on a new browser tab
and trust the certificate from the browser.
参考:https://docs.wso2.com/display/AM210/Quick+Start+Guide#QuickStartGuide-InvokingtheAPI
我已经在 wso2-publisher 中发布了我的 api,并且正在尝试从商店 (wso2) 进行访问。但它给出的响应如下:
回复Body:无内容
响应代码: 0
响应Header:服务器无响应
它可能与
我已经尝试了那里建议的所有方法,但没有成功。
当我在我的 AWS 实例中 运行 wso2-api-manager 时,我也遇到了同样的问题。 api-manager 是否需要对 VM 进行任何单独更改?
谁能帮我解决这个问题?提前致谢!
Troubleshooting
When using the API Console, the web browser sends an HTTPS request to the Gateway. If the certificate in the Gateway is not CA signed, the browser will not accept it. Therefore, you may get the following error.
ERROR - SourceHandler I/O error: Received fatal alert: unknown_ca javax.net.ssl.SSLException: Received fatal alert: unknown_ca
As a workaround, you can access the Gateway URL on a new browser tab and trust the certificate from the browser.
参考:https://docs.wso2.com/display/AM210/Quick+Start+Guide#QuickStartGuide-InvokingtheAPI