question

Upvotes
Accepted
1 0 1 3

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

eikoneikon-data-apipythonrefinitiv-dataplatform-eikon#productpython apiconnectionproxyerror-1
1678096903115.png (61.8 KiB)
1678097612745.png (52.5 KiB)
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.

Hi @marcel.kuhn ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text on the left side of the appropriate reply? This will guide all community members who have a similar question.

Thanks,
AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
14.2k 30 5 10

Hi @marcel.kuhn ,

I'm sorry to hear that you're facing this issue. First, I'd like to ask if you have reviewed the article Eikon Data API(Python) Troubleshooting | Refinitiv for troubleshooting steps.

About the additional question, the Eikon Desktop or Refinitiv Workspace application is required to be installed to be able to use the Eikon Data API (as mentioned in the Eikon Data API - Quick start guide). However, our newer Python library, Refinitiv Data Library for Python can be used to connect to the platform session (no desktop application required), you may check its quick start guide at Refinitiv Data Library for Python - Quick Start guide for more detail and you can discuss with your Refinitiv account representative regarding the credentials for platform session.

I hope that this information is of 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.

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)...

1678195973367.png (123.7 KiB)

@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.

1678782785309.png (37.9 KiB)

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.