RDP Library connecting to TREP

Hello..

I tried to execute "2.3.0 - Content - StreamingPrices - Update DataFrame". I could data via Eikon and EDP but not from TREP. I just got

<StreamState.Open: 3>

then no updates.

Could you give me a hint to debug the situation?

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @Zuka1

    I got the same message but after adding the correct TCP port, it works.

    rdp.open_deployed_platform_session(
        "<app key>",
        "192.168.27.16:15000",
        "user01"
    )

    15000 is my TREP port for WebSocket.

Answers

  • Hi @Zuka1

    You can also try out the alternative examples under Developer Day Resources

    These examples use my Session helper class which also outputs session events and status information - which may provide useful information.

    In addition to this you can enable logging for the session in case you need additional diagnostics e.g.

    mySession = get_session("deployed")
    #mySession.set_log_level(6)
    mySession.open()