我在两台不同的机器上安装了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