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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 0 1

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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
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 71 35 53

@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 5.0 MiB each and 10.0 MiB total.

Upvotes
3 0 0 1

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea