question

Upvotes
Accepted
21 0 0 0

Error when connecting to Eikon via Python

Hi,

I am using Python to connect to Eikon using my windows 11 PC.

When I tried to run the following code:

import eikon
eikon.set_app_key('app_key')

The terminal returned with the following errors:

2024-09-11 14:26:31,219 P[8112] [MainThread 3920] Error on handshake url http://127.0.0.1:9060/api/handshake : ReadTimeout('')
2024-09-11 14:26:31,219 P[8112] [MainThread 3920] Error on handshake url http://127.0.0.1:9060/api/handshake : ReadTimeout('')
2024-09-11 14:26:31,220 P[8112] [MainThread 3920] Port number was not identified, cannot send any request

Can anyone help?

Thanks!

eikon-data-api#technologypython apitime-out
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
Accepted
21 0 0 0

The error went away after I restarted the terminal. Thank you everyone who looked at this!

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
15.4k 32 5 10

In case the error occurs, please follow this article to check if things work properly and find the log to see if there's any message that indicates the error.

Eikon Data API and Refinitiv Data Library - Troubleshooting

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.