我之前创建了几个API并通过WSO2 API管理器(APIM)中的API Publisher发布了相同的API,我也能够在Publisher Dashboard和Store Dashboard中查看它们。我订阅了它们并且能够使用API
最近,在API管理器中,我无法在Publisher Dashboard或Store Dashboard中看到任何创建的API。
我没有对API Manager的配置进行任何更改。
我尝试使用WSO2 APIM公开的REST API发布API,但我收到了以下错误消息。
发布商回复:
{
"error" : true,
"message" : "Failed to change the life cycle status : An exception occurred while executing handler chain. SolrCore 'registry-indexing' is not available due to init failure: Error opening new searcher"
}
我已经检查了Thrift端口(两者都在10397上,我已经尝试过禁用它们,就像堆栈溢出上的其他帖子一样)。
我已经检查了API网关凭证,因为它们是默认的,即
<APIGateway>
<!-- The environments to which an API will be published -->
<Environments>
<!-- Environments can be of different types. Allowed values are 'hybrid', 'production' and 'sandbox'.
An API deployed on a 'production' type gateway will only support production keys
An API deployed on a 'sandbox' type gateway will only support sandbox keys
An API deployed on a 'hybrid' type gateway will support both production and sandbox keys. -->
<!-- api-console element specifies whether the environment should be listed in API Console or not -->
<Environment type="hybrid" api-console="true">
<Name>Production and Sandbox</Name>
<Description>This is a hybrid gateway that handles both production and sandbox token traffic.</Description>
<!-- Server URL of the API gateway -->
<ServerURL>https://localhost:${mgt.transport.https.port}${carbon.context}services/</ServerURL>
<!-- Admin username for the API gateway. -->
<Username>${admin.username}</Username>
<!-- Admin password for the API gateway.-->
<Password>${admin.password}</Password>
<!-- Endpoint URLs for the APIs hosted in this API gateway.-->
<GatewayEndpoint>http://${carbon.local.ip}:${http.nio.port},https://${carbon.local.ip}:${https.nio.port}</GatewayEndpoint>
</Environment>
</Environments>
</APIGateway>
我也无法创建新的API,因为似乎注册表存在一些问题。
P.S:它还给出了MQTT被禁用的消息
有人可以帮忙吗?
请检查屏幕截图以获得更清晰