question

Upvotes
Accepted
28 1 1 7

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?

rdp-apirefinitiv-data-platformrefinitiv-data-platform-libraries
icon clock
10 |1500

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

Upvotes
Accepted
38.1k 69 35 53

@kazuhisa.matsuda

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.

icon clock
10 |1500

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

Upvotes
20.3k 73 10 20

Hi @kazuhisa.matsuda

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()


icon clock
10 |1500

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

Click below to post an Idea Post Idea