Error code -1 | Port number was not identified.

@c.aydemir @jason.ramchandani

I am having a similar issue. I am getting this error while trying to access data

EikonError: Error code -1 | Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.

I tried troubleshooting steps given at: https://developers.refinitiv.com/en/article-catalog/article/eikon-data-api-python-troubleshooting-refinitiv

but everything seems ok, except for when I configure and check the logs, I get


[2020-09-26 01:25:07.567|1|api-svc|2|DEBUG] onStarted: 9000
[2020-09-26 01:25:07.578|1|api-svc|1|INFO] Listening to port=9000
[2020-09-26 01:25:07.595|1|data-api|1|INFO] API Proxy is available on port 9060. Start redirecting /api/* requests
[2020-09-26 01:25:07.607|1|api-svc|0|WARN] Error: messenger not found.

So it is listening to port 9000 as required but API proxy is on 9060.

My pthon version is 3.7.3 and eikon is 1.1.6 post 2. is there a compatibility issue?

Best Answer

Answers

  • Hi,

    Could you check httpx version ?

    0.15.x versions introduced a breaking change that cause failure in eikon.

    A release 1.1.6.post3 was delivered to fix it.
    (upgrade eikon with "pip install --upgrade eikon" command)

  • thanks @jason.ramchandani and @pierre.faurel.faurel

    I did a pip install eikon 1.1.2 and it worked. But I am not very sure if it is impacting the performance.

    As I have an urgent research project requiring this now, I will continue with 1 1 2. Once over I will try the eikon 1.1.6 post 3....

    thanks for the help