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

Why API doesnt connect to Eikon Desktop(APIProxy)

Hi!

I am getting an error when trying to connect to Eikon. Found this article and tried to troubleshoot by was unable to go through this step -

3. Verify that Eikon Desktop is running properly and APIPROXY service is enabled

https://developers.refinitiv.com/en/article-catalog/article/eikon-data-api-python-troubleshooting-refinitiv

How to resolve this issue?

Many thanks!


1673373333024.png

#productapi
1673373333024.png (66.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.

1 Answer

· Write an Answer
Upvotes
Accepted
15.3k 32 5 10

Hi @elena.pakhmurskaia ,

Please could you say what version of Eikon, the Eikon library (see code below), and what version of Python you are using?

import eikon as ek
ek.__version__

We recently noticed a breaking change on one of the eikon library dependencies httpx - which we are recommending clients downgrade to 0.14.2 as a workaround (pip install httpx==0.14.2) until we can get a new fix released.

I hope this can help.

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.

@raksina.samasiri, thanks for suggestion. I have ver 1.1.16., which u think is the latest. downgraded but getting this error. would it work?

many thanks!

1673433774649.png


1673433774649.png (55.4 KiB)

Hi @elena.pakhmurskaia ,

Sorry for the confusion, I've tried with the same version of the eikon python library as yours with httpx version 0.23.3 and it works

1673615076818.png

Package            Version
------------------ ---------
anyio              3.6.2
eikon              1.1.16
httpcore           0.16.3
httpx              0.23.3
numpy              1.24.1
pandas             1.5.2
pip                22.3.1

Could you please,

  • Provide the below for further investigation, I'm going to try to replicate an issue
    • eikon desktop version used
    • python version
    • python libraries version in the environment you used (with command pip list)
  • And have you tried steps 6, 7 mentioned in Eikon Data API(Python) Troubleshooting | Refinitiv and if so, how's the result?
    • 6. Open http://localhost:9000/ping?all on a web browser.
      And make sure that you can locate {"path":"/api"}.
    • 7. Open http://localhost:9060/api/status on a web browser.
      And make sure that you can locate "ST_PROXY_READY".
      This is a confirmation that the APIPROXY is running properly and ready for a connection from Eikon Data APIs.
1673615076818.png (10.9 KiB)

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.