question

Upvotes
Accepted
3 0 0 1

An established connection was aborted by the software in your host machine

hi,

We found following errors in the log. An established connection was aborted by the software in your host machine. Does that really mean the connection was terminated by host host machine?

Also, it took six seconds to recover. is there any chance we could make it shorter by config?

Many thanks,

Brian

2019-06-03 09:57:31.876 [pool-7-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_1 RsslReactor @439cd2fe RsslChannel @9b6c59b Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 09:57:31.876 [pool-15-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_1 RsslReactor @7fe7b7b3 RsslChannel @2aecad76 Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 09:57:31.876 [pool-9-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_2 RsslReactor @ef4dab4 RsslChannel @2ef09c37 Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 09:57:31.876 [pool-5-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_1 RsslReactor @7ed98cbb RsslChannel @42ff7057 Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 09:57:31.876 [pool-3-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_1 RsslReactor @621ea382 RsslChannel @6e852eb8 Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 09:57:31.876 [pool-17-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_1 RsslReactor @242b4783 RsslChannel @7e5e81c9 Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 09:57:31.882 [pool-11-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_1 RsslReactor @38e8c89b RsslChannel @33251a Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 09:57:31.876 [pool-13-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_2 RsslReactor @148797b2 RsslChannel @34ce4e0f Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 09:57:33.415 [pool-3-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd 2019-06-03 09:57:33.415 [pool-11-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd 2019-06-03 09:57:33.415 [pool-9-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd 2019-06-03 09:57:33.415 [pool-15-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd 2019-06-03 09:57:33.415 [pool-5-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd 2019-06-03 09:57:33.415 [pool-13-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd 2019-06-03 09:57:33.415 [pool-7-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd 2019-06-03 09:57:33.415 [pool-17-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd 2019-06-03 10:16:12.377 [pool-17-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_2 RsslReactor @242b4783 RsslChannel @7e5e81c9 Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 10:16:12.378 [pool-7-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_2 RsslReactor @439cd2fe RsslChannel @9b6c59b Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 10:16:12.377 [pool-11-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_2 RsslReactor @38e8c89b RsslChannel @33251a Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 10:16:12.377 [pool-9-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_1 RsslReactor @ef4dab4 RsslChannel @2ef09c37 Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 10:16:12.378 [pool-15-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_2 RsslReactor @7fe7b7b3 RsslChannel @2aecad76 Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 10:16:12.377 [pool-3-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_2 RsslReactor @621ea382 RsslChannel @6e852eb8 Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 10:16:12.377 [pool-13-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_1 RsslReactor @148797b2 RsslChannel @34ce4e0f Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 10:16:12.469 [pool-5-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_2 RsslReactor @7ed98cbb RsslChannel @42ff7057 Error Id 0 Internal sysError 0 Error Location null Error text An established connection was aborted by the software in your host machine loggerMsgEnd 2019-06-03 10:16:12.479 [pool-5-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd 2019-06-03 10:16:12.479 [pool-7-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd 2019-06-03 10:16:12.479 [pool-13-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd 2019-06-03 10:16:12.479 [pool-3-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd 2019-06-03 10:16:12.479 [pool-17-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd 2019-06-03 10:16:12.479 [pool-11-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd 2019-06-03 10:16:12.479 [pool-9-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd 2019-06-03 10:16:12.528 [pool-15-thread-1] WARN com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: LoginCallbackClient Severity: Warning Text: RDMLogin stream state was changed to suspect with status message username <not set> usernameType <not set> State: Open/Suspect/None - text: "" loggerMsgEnd

2019-06-03 10:16:18.355 [pool-3-thread-1] INFO com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Info Text: Received ChannelUp event on channel Channel_1 Instance Name Consumer_1_1 Component Version ads2.6.12.L1.linux.tis.rrg 64-bit loggerMsgEnd 2019-06-03 10:16:18.355 [pool-11-thread-1] INFO com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Info Text: Received ChannelUp event on channel Channel_1 Instance Name Consumer_1_5 Component Version ads2.6.12.L1.linux.tis.rrg 64-bit loggerMsgEnd 2019-06-03 10:16:18.355 [pool-9-thread-1] INFO com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Info Text: Received ChannelUp event on channel Channel_2 Instance Name Consumer_1_4 Component Version ads2.6.12.L1.linux.tis.rrg 64-bit loggerMsgEnd 2019-06-03 10:16:18.355 [pool-17-thread-1] INFO com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Info Text: Received ChannelUp event on channel Channel_1 Instance Name Consumer_1_8 Component Version ads2.6.12.L1.linux.tis.rrg 64-bit loggerMsgEnd 2019-06-03 10:16:18.355 [pool-15-thread-1] INFO com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Info Text: Received ChannelUp event on channel Channel_1 Instance Name Consumer_1_7 Component Version ads2.6.12.L1.linux.tis.rrg 64-bit loggerMsgEnd 2019-06-03 10:16:18.355 [pool-5-thread-1] INFO com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Info Text: Received ChannelUp event on channel Channel_1 Instance Name Consumer_1_2 Component Version ads2.6.12.L1.linux.tis.rrg 64-bit loggerMsgEnd 2019-06-03 10:16:18.355 [pool-7-thread-1] INFO com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Info Text: Received ChannelUp event on channel Channel_1 Instance Name Consumer_1_3 Component Version ads2.6.12.L1.linux.tis.rrg 64-bit loggerMsgEnd 2019-06-03 10:16:18.355 [pool-13-thread-1] INFO com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg ClientName: ChannelCallbackClient Severity: Info Text: Received ChannelUp event on channel Channel_2 Instance Name Consumer_1_6 Component Version ads2.6.12.L1.linux.tis.rrg 64-bit loggerMsgEnd

elektronrefinitiv-realtimeelektron-sdkema-apirrtelektron-message-apiconnection
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
25.3k 87 12 25

Hi @blam

The message does indeed mean that your application was disconnected by the server.

This could be because there was a problem with the server or your network. Please check with your market data to confirm if this was the case- they should be able to examine their ADS logs to check.

However, quite often this disconnect can also happen because your application is not processing the data from the server quickly enough.

The server can only buffer so much data before it has to disconnect the application once the buffer is full.

A common cause of this is when your application is spending too much time processing the data in the OnRefresh / OnUpdate callback handlers. These callbacks are executed on the API thread and the more time the API thread spends in the callback handlers, the less time it will have to read data from the server.

Ways of alleviating this situation include:

  • minimising the processing done in the callback handlers with the API thread, by offloading some processing to a seperate application level thread
  • splitting your instruments across more than one OmmConsumer instance i.e. horizontal scaling as demonstrated in example410
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
16.6k 79 39 63

Hi @blam,

There are reconnect configuration parameters within the EMA config guides (reconnectMinDelay/reconnectMaxDelay) which you can configure.


ahs.png (82.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
76.7k 239 52 72

From the error text, I assume that the operating system is Windows and the error code could be WSAECONNABORTED (10053). Refer to the Windows Socket Error Codes page (https://docs.microsoft.com/en-us/windows/desktop/winsock/windows-sockets-error-codes-2), WSAECONNABORTED is “Software caused connection abort.”.

Therefore, it could be a network issue. To verify the problem, you can use a network protocol analyzer tool, such as Wireshark (https://www.wireshark.org/) to monitor data transmission time-out on the network and verify which side that cuts the connection.

You can configure the reconnection time through the following configurations.

You need to set the values of the configurations inside the consumer element. For example:

<Consumer>
         <Name value="Consumer_1"/>
         <Channel value="Channel_1"/>
         <Dictionary value="Dictionary_1"/>
         <XmlTraceToStdout value="0"/>
         <ReconnectMaxDelay value="2000"/>
         <ReconnectMinDelay value="1000"/>
</Consumer>

aborted.png (10.7 KiB)
config.png (160.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.