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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 1 5

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?

eikoneikon-data-apipythonworkspacerefinitiv-dataplatform-eikonworkspace-data-apierror
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
8.2k 11 6 9

Hi @akshmita Please see the solution here - 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.

Upvotes
4.3k 2 4 5

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)

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

thanks @jason.ramchandani and @pierre.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

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.