Real time connection with DACS user

Options
tidhary
tidhary Newcomer
edited 8:19AM in TREP APIs

We are upgarding our calypso version and mving from Java 8 to Java 21

In Java 8 there is no problem connectin to RFA using dacs user

In Java 21 we are getting permission proble.

we are sending connection request' and getting in response

1respMsg.getMsgType() = 6

1respMsg.getState().getDataState() = 2

the probelm is calypso is expecting the following answer

1respMsg.getMsgType() = 7

1respMsg.getState().getDataState() = 1

2025-07-17 17:49:25,793+0300 DEBUG [com.calypso.ReutersRFAEventItem] (Thread-10) [-] [] 1Received Login Response...

2025-07-17 17:49:25,826+0300 DEBUG [com.calypso.ReutersRFAEventItem] (Thread-10) [-] [] 1respMsg.getMsgType() = 6

2025-07-17 17:49:25,842+0300 DEBUG [com.calypso.ReutersRFAEventItem] (Thread-10) [-] [] 1respMsg.getState().getStreamState() = 1

2025-07-17 17:49:25,850+0300 DEBUG [com.calypso.ReutersRFAEventItem] (Thread-10) [-] [] 1OMMState.Stream.OPEN = 1

2025-07-17 17:49:25,851+0300 DEBUG [com.calypso.ReutersRFAEventItem] (Thread-10) [-] [] 1respMsg.getState().getDataState() = 2

2025-07-17 17:49:25,851+0300 DEBUG [com.calypso.ReutersRFAEventItem] (Thread-10) [-] [] 1OMMState.Data.OK = 1

2025-07-17 17:49:25,855+0300 DEBUG [com.calypso.ReutersRFAEventItem] (Thread-10) [-] [] 1LoginClientImpl::Received Login Response - MsgType.REFRESH_RESP

2025-07-17 17:49:25,859+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] [] MESSAGE

2025-07-17 17:49:25,860+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []     Msg Type: MsgType.REFRESH_RESP

2025-07-17 17:49:25,862+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []        Msg Model Type: LOGIN

2025-07-17 17:49:25,864+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []        Indication Flags: REFRESH_COMPLETE

2025-07-17 17:49:25,865+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []        Hint Flags: HAS_ATTRIB_INFO | HAS_ITEM_GROUP | HAS_RESP_TYPE_NUM | HAS_STATE

2025-07-17 17:49:25,868+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []        State: OPEN, SUSPECT, NONE,  "All connections pending"

2025-07-17 17:49:25,868+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []        Group: 0000

2025-07-17 17:49:25,869+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []                 RespTypeNum: 0

2025-07-17 17:49:25,872+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []  (RespType.SOLICITED)

2025-07-17 17:49:25,872+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []        AttribInfo

2025-07-17 17:49:25,873+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []                        Name: calypso_dev

2025-07-17 17:49:25,874+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []                        NameType: 1 (USER_NAME)

2025-07-17 17:49:25,874+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []                        Attrib

2025-07-17 17:49:25,875+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []                                        ELEMENT_LIST

2025-07-17 17:49:25,877+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []                                                        ELEMENT_ENTRY AllowSuspectData:

2025-07-17 17:49:25,879+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] [] 4, 1

2025-07-17 17:49:25,879+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []                                                        ELEMENT_ENTRY SingleOpen:

2025-07-17 17:49:25,880+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []                                                        ELEMENT_ENTRY SupportBatchRequests:

2025-07-17 17:49:25,880+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] [] 4, 7

2025-07-17 17:49:25,881+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []                                                        ELEMENT_ENTRY SupportOptimizedPauseResume:

2025-07-17 17:49:25,881+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []                                                        ELEMENT_ENTRY SupportPauseResume:

2025-07-17 17:49:25,882+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []                                                        ELEMENT_ENTRY SupportViewRequests:

2025-07-17 17:49:25,883+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []                                                        ELEMENT_ENTRY SupportEnhancedSymbolList:

2025-07-17 17:49:25,884+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []                                                        ELEMENT_ENTRY SupportOMMPost:

2025-07-17 17:49:25,885+0300 DEBUG [com.calypso.ReutersRFAEventItemDetails] (Thread-10) [-] []        Payload: None

2025-07-17 17:49:25,886+0300 DEBUG [com.calypso.ReutersRFAEventItem] (Thread-10) [-] [] 1LoginClientImpl::respMsg parsed

2025-07-17 17:49:35,782+0300 DEBUG [com.calypso.ReutersRFA] (AWT-EventQueue-0) [-] [] com.calypso.tk.marketdata.LoginClientImpl thread wait ended.

2025-07-17 17:49:35,784+0300 ERROR [com.calypso.ReutersRFA] (AWT-EventQueue-0) [-] [] Failed to authenticate user (user name=calypso_dev).  Please check the user rights on Thomson Reuters Server.

2025-07-17 17:49:35,786+0300 ERROR [com.calypso.FeedWindow] (AWT-EventQueue-0) [-] [] Error received while initializing feed com.calypso.tk.marketdata.FeedException: Failed to authenticate user (user name=calypso_dev).

Please check the user rights on Thomson Reuters Server.

                at com.calypso.tk.marketdata.RFAFeedHandler.sendLoginRequest(RFAFeedHandler.java:703)

                at com.calypso.tk.marketdata.RFAFeedHandler.start(RFAFeedHandler.java:276)

                at com.calypso.apps.marketdata.FeedWindow.initFeedHandler(FeedWindow.java:767)

Tagged:

Answers

  • wasin.w
    wasin.w admin

    Hello @tidhary

    The "Failed to authenticate user (user name=calypso_dev)." error message indicates that the API cannot authenticate a DACS username calypso_dev with the DACS server on the infra level.

    The only thing you can do on an application/API side is to set a valid DACS username to the API Login request message.

    If you think the calypso_dev DACS username is a valid username, please contact your Market Data team to verify ADS and DACS settings.

  • tidhary
    tidhary Newcomer

    Hi

    It is a valid DACS username

    the same reuters_rfa.xml file works well when running on environment using java 8

    But not working when being used on environment using java 21

    The connection is done but from reuters side the retuned answer is

    1respMsg.getMsgType() = 6

    1respMsg.getState().getStreamState() = 1

    1respMsg.getState().getDataState() = 2

    while Calypso application is expecting

    respMsg.getMsgType() = 7

    1respMsg.getState().getDataState() = 1

    What parameter controls what I'm getting back as anansewer from reuters