2017-03-15 30 views
0

我之前创建了几个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被禁用

任何人都可以请大家帮帮忙?

请检查截屏更加清晰

enter image description here

enter image description here

+0

[WSO2 API Manager问题与solr可能重复](http://stackoverflow.com/questions/42646421/wso2-api-manager-issues-with-solr) –

回答

0

看起来像一个索引问题。我们试试here中提到的内容。这将重新编制API的索引。

+0

非常感谢你:) –

相关问题