在我们的部署中(WSO2 API管理器2.0.0 All-in-One 2节点与单独的WSO2 DAS服务器集群),由于SVN存储库已损坏,因此存在depsync问题。这个问题已经解决了,但是现在我们现在注意到wso2carbon.log中的重复错误。
[2017-02-08 02:55:43,229] ERROR - DataEndpoint Unable to send events to the endpoint.
org.wso2.carbon.databridge.agent.exception.DataEndpointException: Cannot send Events
at org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftDataEndpoint.send(ThriftDataEndpoint.java:83)
at org.wso2.carbon.databridge.agent.endpoint.DataEndpoint$EventPublisher.publish(DataEndpoint.java:330)
at org.wso2.carbon.databridge.agent.endpoint.DataEndpoint$EventPublisher.run(DataEndpoint.java:283)
at java.lang.Thread.run(Thread.java:745)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out
at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:129)
at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
at org.apache.thrift.protocol.TBinaryProtocol.readI32(TBinaryProtocol.java:318)
at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)
at org.wso2.carbon.databridge.commons.thrift.service.general.ThriftEventTransmissionService$Client.recv_publish(ThriftEventTransmissionService.java:168)
at org.wso2.carbon.databridge.commons.thrift.service.general.ThriftEventTransmissionService$Client.publish(ThriftEventTransmissionService.java:155)
at org.wso2.carbon.databridge.agent.endpoint.thrift.ThriftDataEndpoint.send(ThriftDataEndpoint.java:76)
... 8 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:127)
... 16 more
因此我不确定SVN repo腐败是否相关,但是这个问题是我们自事件发生以来所观察到的。
澄清,这是指当地的节俭服务器:
tcp 0 0 0.0.0.0:7611 0.0.0.0:* LISTEN 1549/java
tcp 0 0 0.0.0.0:7711 0.0.0.0:* LISTEN 1549/java
还是DAS thrift服务器?
tcp 0 0 0.0.0.0:7612 0.0.0.0:* LISTEN 1560/java
tcp 0 0 0.0.0.0:7712 0.0.0.0:* LISTEN 1560/java
两者似乎都可用。
此错误对系统有何影响?
感谢任何帮助。感谢。
答案 0 :(得分:0)
这是向DAS发布的数据。检查从APIM到DAS节点的连接。如果thrift绑定IP与请求的IP不同,则会发生这种情况。
影响是数据未发布到DAS。