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
20 2 3 3

Eikon Data API Error: no proxy address identified.

Hi All, I am trying to connect to Eikon Data from Jupyter notebook on my local disk. I've generated the key successfully, however when I try to set_app_key, it throws the error as given below:


2020-09-24 17:06:31,343 P[3832] [MainThread 16040] Error: no proxy address identified. Check if Eikon Desktop or Eikon API Proxy is running. 2020-09-24 17:06:31,347 P[3832] [MainThread 16040] Port number was not identified, cannot send any request 2020-09-24 17:06:31,347 P[3832] [MainThread 16040] Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.

Although, if I use the same key in the Codebook in the Desktop App, it works fine. FYI, the Desktop App is kept running during the whole time

Pls help, 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.

Upvotes
Accepted
10.2k 18 6 9

Hi @akshay.kaushal 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 have a troubleshooting guide here which you can go through.

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.

The codebook app runs a remotely hosted python installation and build which we maintain. Your local instance will be different from our build.

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.

Do you have any other solutions? This one produce conflicts with pip install refinitiv-dataplatform

Upvotes
4.3k 2 4 5

Hi,

With last version - eikon 1.1.6+ - a defect appeared last Tuesday and is caused by the dependency httpx 0.15.x

We're releasing a fix but inthe meantime, a workaround is to downgrade to httpx 0.14.2
(pip install httpx==1.14.2)

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.

Upvote
20 2 3 3

Hello Jason and Pierre, thank you so much for the quick response. I was able to make it work by downgrading the httpx module to 0.14.2 and using Eikon 1.1.6 version with Python 3.6. It works flawlessly now.

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.

Upvote
16 0 0 1

@pierre.faurel FYI: this error is back in eikon 1.1.13. I have two laptops, one was running just fine on 1.1.12 and httpx 0.18.2. I reinstalled python on my other laptop and was adding packages and got httpx 0.20.0 and eikon 1.1.13 and got this error. Downgrading both to 1.1.12 and 0.18.2 respectively didn't work, but downgrading httpx down to 0.14.2 as you recommend above solved the problem.

I'm using Python 3.9. (3.9.1 on one and 3.9.5 on the other, both work now).

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.