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 [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 [MainThread 16040] Port number was not identified, cannot send any request 2020-09-24 17:06:31,347 P [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.
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.
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)
@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).