Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
68 2 6 5

refinitiv.data returns error while session was sucessfully opened

I am trying to run RDP library with Eikon Desktop, and experieincing to see below error while the session was successfully opened.

import refinitiv.data as rd
from refinitiv.data.content import symbol_conversion
rd.open_session()

An error occurred while requesting URL('http://localhost:9000/api/status').
RemoteProtocolError('Server disconnected without sending a response.')
<refinitiv.data.session.Definition object at 0x15ae18a1ea0 {name='workspace'}>
response = symbol_conversion.Definition("6501.T").get_data()
response.data.df
1709085140711.png

Please advise if there is anyway not to show that error message ?

An error occurred while requesting URL('http://localhost:9000/api/status').
RemoteProtocolError('Server disconnected without sending a response.')



python#technologyrefinitiv-data-platform-libraries
1709085140711.png (8.5 KiB)
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.

Hi @noboru.maruyama4 ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,
AHS

Hi @noboru.maruyama4 ,

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

Thank you,

AHS

Upvotes
Accepted
5.8k 21 2 6

Hi @noboru.maruyama4
Would you mind please going through the troubleshooting steps here?

If these do not work, I believe you may have another software on your machine using the local port 9000. This may be due to an antivirus update on your machine, these are often automatic.

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
79.2k 251 52 74

@noboru.maruyama4

Thank you for reaching out to us.

You can try the following code.

config = rd.get_config()
config.set_param("logs.level", "CRITICAL")
rd.open_session()
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.