我之前創建了幾個API並在WSO2 API Manager(APIM)中通過API Publisher發佈了相同的API,所以我能夠在發佈商信息中心和商店信息中心以及我訂閱了他們並能夠使用這些API。無法查看已在WSO2 APIM Publisher和Store中創建的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"
}
我已經檢查節儉端口(兩者都是在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被禁用
任何人都可以請大家幫幫忙?
請檢查截屏更加清晰
[WSO2 API Manager問題與solr可能重複](http://stackoverflow.com/questions/42646421/wso2-api-manager-issues-with-solr) –