无法在 WSO2 APIM Publisher 和 Store 中查看已创建的 API,但能够在订阅下看到它们
Unable to view already created APIs in WSO2 APIM Publisher and Store but able to see them under subscriptions
我之前创建了几个 APIs 并通过 API Publisher in WSO2 API Manager(APIM) 发布了相同的内容,我能够查看它们在 Publisher Dashboard 和 Store Dashboard 中,因为 well.I 已经订阅了它们并且能够使用 APIs.
最近,我无法在发布商仪表板或商店仪表板以及 API 管理器中看到任何创建的 API。
我没有对 API 管理器的配置进行任何更改。
我尝试使用 WSO2 APIM 公开的 REST APIs 发布 APIs,但我收到以下错误消息。
发布者回复:
{
"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 已禁用的消息
有人可以帮忙吗?
请查看屏幕截图以更加清晰
看起来像是一个索引问题。我们要不要试试中提到的。这将重新索引 API。
我之前创建了几个 APIs 并通过 API Publisher in WSO2 API Manager(APIM) 发布了相同的内容,我能够查看它们在 Publisher Dashboard 和 Store Dashboard 中,因为 well.I 已经订阅了它们并且能够使用 APIs.
最近,我无法在发布商仪表板或商店仪表板以及 API 管理器中看到任何创建的 API。
我没有对 API 管理器的配置进行任何更改。
我尝试使用 WSO2 APIM 公开的 REST APIs 发布 APIs,但我收到以下错误消息。
发布者回复:
{
"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 已禁用的消息
有人可以帮忙吗?
请查看屏幕截图以更加清晰
看起来像是一个索引问题。我们要不要试试