For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 1 1 0

“CLOSE_RECOVERY" Dead Loop

Our client side program has successfully connected with cloud TRCC.


During my re-connection testing, after some POST messages are sent out successfully to TRCC, I plug out the network cable and re-plug in 1 min later.


A status msg with state="Closed, Recoverable / Suspect / None / 'channel down.' is callback, and then EMA starts to re-connect and re-authenticate automatically.



https://myloweslife.onl/

However, from the trace log, the ‘TunnelStream Open request’ could NOT be seen. Just ‘Device Login request’ and ‘SOURCE request’ are sent out, and re-sent continuously in a constant interval.


So that causes there is NO chance to callback onStatusMsg() for client sending ‘TRCC AAA Login request’ out during re-connection, and program dead loop.

elektronrefinitiv-realtimeelektron-sdk
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.

Hello @kanami4298,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Upvotes
Accepted
9.6k 10 7 7

Hello @kanami4298

Have you look into this similar question? which should help you to solve the problem.

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
1 0 0 1

As soon as connection goes down, there is no recovery on Tunnel Stream, since Tunnel Stream is closed. And once the connection is recovered, the application creates a new Tunnel Stream.

Read more here: https://community.developers.refinitiv.com/questions/55634/frequent-tunnel-stream-disconnection-using-ema-jav.html https://domyhomeworkonline.net/do-my-java-homework.php

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.