question

Upvotes
Accepted
18 0 0 5

EMA:Failed to perform transport secure channel connections to hosts. Error: Couldn't add the channel to the token session as the token reissue interval(-2319 ms) is too small.

loggerMsg

ClientName: LoginCallbackClient

Severity: Error

Text: RDMLogin stream was closed with status message

username <not set>

usernameType <not set>

State: Closed/Suspect/Usage error - text: "Failed to perform transport secure channel connections to hosts. Error: Couldn't add the channel to the token session as the token reissue interval(-2319 ms) is too small."

loggerMsgEnd

three question:

one:Why does this happen?

two:How do I catch this exception error?

three:How to handle this error? (Code examples would be great)

token
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.

@zhangqingfeng

Are you getting this error while connecting to LPC?

Yes,connecting LPC

@zhangqingfeng

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

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

@zhangqingfeng

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
78.8k 250 52 74

@zhangqingfeng

You need to contact the LPC support team via MyRefinitiv to verify the error.

The error was sent in the login status message with the closed stream state so EMA will not recover the connection.

loggerMsg
ClientName: LoginCallbackClient
Severity: Error
Text: RDMLogin stream was closed with status message
username <not set>
usernameType <not set>


State: Closed/Suspect/Usage error - text: "Failed to perform transport secure channel connections to hosts. Error: Couldn't add the channel to the token session as the token reissue interval(-2319 ms) is too small."
loggerMsgEnd

However, the application can detect it by registering the login request to receive the login status messages in the callback, as shown in the example 333.

Then, if the application received the login status message with the closed stream state, the application can create a new consumer to connect to LPC.


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.

Thanks,i will test example 333,if it works and then accepts this comment

Hi @Jirapongse

According to our production, we can only catch Ok and Suspect instead of Close states

@zhangqingfeng

For the login stream, if the stream state (statusMsg.state().streamState()) is still opened (StreamState.OPEN) but the data state (statusMsg.state().dataState()) is suspect (DataState.SUSPECT), typically, EMA will recover the connection on behalf of the application.

StatusMsg
    streamId="1"
    domain="Login Domain"
    state="Open / Suspect / None / 'channel down'"
    name="user"
    nameType="1"
StatusMsgEnd

Hi Jirapongse,

could you advise how to capture stream state (statusMsg.state().streamState()) is Closed ? Client want to capture it and rebuild consumer.

thanks

1658114409714.png

1658114409714.png (17.4 KiB)
Show more comments

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.