【问题标题】:Unable to view already created APIs in WSO2 APIM Publisher and Store but able to see them under subscriptions无法在 WSO2 APIM Publisher and Store 中查看已创建的 API,但能够在订阅下查看它们
【发布时间】:2017-03-15 15:03:26
【问题描述】:

我之前创建了几个 API,并通过 WSO2 API Manager(APIM) 中的 API Publisher 发布了相同的 API,我也能够在 Publisher Dashboard 和 Store Dashboard 中查看它们。我已经订阅了它们并且能够使用这些 API .

最近,我无法在 Publisher Dashboard 或 Store Dashboard 以及 API Manager 中看到这些创建的 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 Gateway 凭据,它们是默认的,即

<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,因为 Registry 似乎存在问题。

P.S : 它还给出了 MQTT 被禁用的消息

有人可以帮忙吗?

请查看屏幕截图以更清晰

【问题讨论】:

标签: solr wso2 wso2-am


【解决方案1】:

看起来像索引问题。我们可以试试here 中提到的内容吗?这将重新索引 API。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-02-23
    相关资源
    最近更新 更多