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
3 0 1 5

can't connect to eikon via python

Hi, I am trying to connect to Eikon from python. My code has always worked but suddenly won't, even after I have restarted my machine.


import eikon as ek #Import library for python API wrapper
ek.set_app_key( XXXXXXXX )


I keep getting this message;

2021-02-03 19:17:18,985 P[14748] [MainThread 14724] Error on handshake port 9060 : TimeoutException('TimeoutException on HTTP request: ReadTimeout()')


Can you please advise? Thanks

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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.

Hello @ajalden,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

@ajalden

Hi,

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

Thanks,

AHS

Upvotes
Accepted
78.8k 250 52 74

@ajalden

The problem looks similar to this thread.

You may need to check the followings:

  1. Check python dependency versions by running pip list command and verify the version of Eikon Data API, httpx, and nest-asyncio
  2. Activate debug log in your script to retrieve more detail by using the below code

 ek.set_log_level(1)
 ek.set_app_key(APP_KEY) 
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
3 0 1 5

I should add that my Eikon desktop app is currently open and working

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.