我在兩臺不同的機器上安裝了APIM和APIM Analytics。我跟着this guide將APIM連接到APIM Analytics。分析工作正常,我可以看到儀表盤的使用數據,但這種錯誤不斷出現一次又一次的日誌文件WSO2 API Manager 2.0日誌錯誤localhost:7712(ssl thrift端口)
ERROR {org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker} - Error while trying to connect to the endpoint. Cannot borrow client for ssl://localhost:7712 {org.wso2.carbon.databridge.agent.endpoint.DataEndpointConnectionWorker} org.wso2.carbon.databridge.agent.exception.DataEndpointAuthenticationException: Cannot borrow client for ssl://localhost:7712
我在API-manager.xml值改變<DASAuthServerURL>{ssl://localhost:7712}</DASAuthServerURL>
真機IP和港口,但似乎APIM忽略了這個參數。
有什麼方法可以修復錯誤嗎?
1)您在哪臺服務器上看到錯誤日誌? 2)你有2個服務器中的任何一個端口偏移嗎? – Bee
我在API Manager服務器日誌中看到錯誤。兩個服務器的端口偏移量爲0,因此API Manager Analytics正在默認的節儉端口(7611和7711)中偵聽。可能是因爲默認情況下部署在APIM中的一些CAR被配置爲指向localhost:7712? – Miguel
是的,它可能是由於部署的汽車文件。 http://stackoverflow.com/a/39517097/805563 – Bee