WSO2 API Manager 2.0 Log Error localhost:7712 (ssl thrift port)

笑着哭i 提交于 2019-12-05 07:45:28

问题


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

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?


回答1:


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.




回答2:


"Cannot borrow client for ssl://localhost:7712" "ThriftSecureClientPoolFactory" Above is fixed by matching the ssl Thrift port defined in analytics worker /conf/worker/deployment.yaml

In wso2 api manger analytics 2.6.0 they made changes to DAS, now if you see this error you have to change /repository/conf/api-manager.xml

<StreamProcessorServerURL>{tcp://localhost:7612</StreamProcessorServerURL>

The ssl port 7712 is derived from StreamProcessorServerURL:Port+100 and

AuthUrlGroup>ssl://${carbon.local.ip}:7711</AuthUrlGroup>

The ssl port 7712 is derived from AuthUrlGroup:Port



来源:https://stackoverflow.com/questions/39705677/wso2-api-manager-2-0-log-error-localhost7712-ssl-thrift-port

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!