The possible exceptions relating to event receivers that may occur are as follows:
Queue full exception
Sample Error log | event for endpoint group [ ( Receiver URL : tcp://das-1.-prod.local:7611, Authentication URL : ssl://das-1.amway-prod.local:7711),( Receiver URL : tcp://das-2.amway-prod.local:7611, Authentication URL : ssl://das-2.-prod.local:7711) ], 139882 events dropped so far. {org.wso2.carbon.databridge.agent.DataPublisher} TID: [-1] [] [2017-05-23 00:05:53,708] ERROR {org.wso2.carbon.databridge.agent.endpoint.DataEndpoint} - Unable to send events to the endpoint. {org.wso2.carbon.databridge.agent.endpoint.DataEndpoint} org.wso2.carbon.databridge.agent.exception.DataEndpointException: Cannot send Events |
---|---|
Occurrence | This occurs on the client side when using the WSO2Event event receiver. |
Possible reasons |
|
Troubleshooting options | To check the TCP connection, enable event tracing and event logs, and make sure that one or more events are published to WSO2 DAS. |
Recommended action |
|
Dropping incorrectly formatted events
Exception | wso2carbon.log:114:TID: [-1234] [] [2017-03-31 00:00:01,155] ERROR {org.wso2.carbon.databridge.core.internal.queue.QueueWorker} - Dropping wrongly formatted event sent for -1234 {org.wso2.carbon.databridge.core.internal.queue.QueueWorker} wso2carbon.log-115-org.wso2.carbon.databridge.core.exception.EventConversionException: Error when converting 1 of event bundle with events 6 wso2carbon.log-116- at org.wso2.carbon.databridge.receiver.thrift.converter.ThriftEventConverter.createEventList(ThriftEventConverter.java:181) |
---|---|
Occurrence | This may occur when you publish events to WSO2 DAS before or after starting the DAS server. |
Possible reasons |
|
Troubleshooting options | Go to the <DAS_HOME>/repository/deployment/server/eventstreams directory and check whether the required event stream definition exists. |
Recommended action | Ensure that the required event streams are defined/deployed. |
Enabling debugging logs allow you to further monitor event receivers and prevent exceptions. For more information, see Debugging Event Receivers.