Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.

Hey together,
I would like to connect to the Eikon API via Python. Currently I have the following versions installed:

Python: 3.9.16
eikon: 1.1.2

httpx: 0.14.2

Refinitiv Desktop 4.0.61

But I also tried with newer and different version of eikon (eg 1.1.16) and httpx (eg 0.23.3) but got the same. I am behind a corporate proxy, in case this is the problem, how can I add specific proxy information? I have already read some posts here, but nothing has really helped.

Following Error:

1678096903115.png


I have also changed the following setting:

1678097612745.png


I have an additional question: is it necessary to have the desktop version installed on the system? I only want to use Python API. For example, what would I do if I can't install the desktop version and want to get data through the API (e.g. in a Linux environment)?

Thanks a lot for the help
Marcel

Best Answer

Answers

  • Hey,

    thanks for the fast response.

    I have gone through the troubleshooting steps, but I was not able to do all steps.The SxS-File looks like:

    1678195973367.png

    Can not see any entry for "create APIPROXY"...There is also no file "APIProxy.<datetime>.p<process-id>.txt" on my machine... so probably the Proxy is not starting?

    Eikon Desktop is running on my machine. I tried to connect again via jupyter notebook but still no success:
    17136-1678187748468.png

    But anyway, the troubleshooting steps are not steps to solve any problem, right? Because the only solution in the end is: "A general guideline is to restart your machine and the Eikon Desktop application." So just rebooting is not enough for me... I think it has something to do with the DATA API PROXY on my machine... but is there anything more I could do than just performe a restart?

    Thanks for the additional information. I will have a look at the new Python library (direct access to the platform)...

  • @marcel.kuhn

    You should see this line in the SxS file.

    1678782785309.png

    If you don't see this line or there is no file "APIProxy.<datetime>.p<process-id>.txt", the API proxy may not be started properly or your Eikon account doesn't have permission to use the API. You may need to contact the Eikon support team to verify what the problem is.