问题描述
我已经在两台不同的计算机上安装了APIM和APIM Analytics.我遵循了本指南将APIM连接到APIM Analytics. Google Analytics(分析)运行正常,我可以在仪表板上看到使用情况数据,但是此错误始终在日志文件中一次又一次显示
I have installed APIM and APIM Analytics in two different machines. I followed this guide to connect APIM to APIM Analytics. Analytics are working fine, I can see usage data in dashboards, but this error keeps showing once and again in log file
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
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忽略了此参数.
I have changed <DASAuthServerURL>{ssl://localhost:7712}</DASAuthServerURL>
in api-manager.xml values to the real machine IP and port, but it seems APIM is ignoring this param.
有什么办法可以解决该错误?
Is there any way to fix the error?
推荐答案
当尝试在与APIM不同的服务器上安装APIM Analytics时遇到相同的问题.原来我忘了更改 log4j.properties文件.更新属性即可解决问题.
I encountered the same problem when trying to install APIM Analytics on a different server from APIM. Turns out I forgot to change the DAS_AGENT.url property in the log4j.properties file. Updating the property solved the issue.
这篇关于WSO2 API管理器2.0日志错误localhost:7712(ssl节俭端口)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!