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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 1 0 0

2 days ago, my eikon through python stopped working, showing only the error message: Error code 500 | Server Error: Internal Server Error

2 days ago, my eikon through python stopped working on my machine with no apparent reason, showing only the error message: Error code 500 | Server Error: Internal Server Error - {"code":500,"message":"getaddrinfo ENOTFOUND emea1.apps.cp.thomsonreuters.com emea1.apps.cp.thomsonreuters.com:443","statusMessage":"Internal Server Error"}; using python 3.6, eikon python package 1.1.4, eikon desktop 4.0.52


Then I could check that the APIPROXY is running properly with curl:


C:\Windows\system32>curl http://localhost:9000/ping?all

{"port":9000,"mode":"eikon4","pid":15688,"hasSecure":true,"startedTime":"Thu Sep 10 2020 15:53:24 GMT+0200 (W. Europe Summer Time)","subApps":[{"path":"/heap"},{"path":"/ping"},{"path":"/sxs","data":{"hasSecure":true,"sxsApps":{}}},{"path":"/api"},{"path":"/sxs/v1/services/messenger"}]}


I also tried the handshake test that is proposed in the link you sent, but that does not look good.

C:\Windows\system32>curl http://localhost:9000/api/handshake

Temporary Redirect. Redirecting to http://localhost:9060/api/handshake


C:\Windows\system32>curl http://localhost:9060/api/handshake

{"code":404,"message":"Not Found","statusMessage":"Not Found"}


from the APIPROXY logs:

[2020-09-10 13:53:24.141|1|api-svc|1|INFO] PO: SIDEBYSIDE,APIPROXY

[2020-09-10 13:53:24.149|1|api-svc|3|DEBUG] create SIDEBYSIDE

[2020-09-10 13:53:24.157|1|api-svc|3|DEBUG] create APIPROXY

[2020-09-10 13:53:24.317|1|api-svc|1|INFO] Start server...

[2020-09-10 13:53:24.339|1|api-svc|2|DEBUG] onStarted: 9000

[2020-09-10 13:53:24.351|1|api-svc|1|INFO] Listening to port=9000

[2020-09-10 13:53:24.361|1|data-api|1|INFO] API Proxy is available on port 9060. Start redirecting /api/* requests

[2020-09-10 13:53:24.369|1|api-svc|0|WARN] Error: messenger not found.



eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonerror-500
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
1 1 0 0

With the help of 2nd level support, my eikon desktop was reverted to the previous version and now things work fine again.

The root cause of the problem is the port range that changed to 9060-9080 while our local network admin is still blocking those ports.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
18k 21 12 20

Hi @bricets

Please try downgrading Eikon Data API to 1.1.2

pip uninstall eikon

pip install eikon==1.1.2

If the problem still happens, please submit a ticket to Refinitiv Helpdesk at my.refinitiv.com/ and ask the helpdesk to escalate the ticket to Technical Support

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
4.3k 2 4 5

A new 1.1.6 version was released on pypi.org

It fix mainly connection issues with Eikon Desktop in Python 3.8+ (it isn't your case) , but it could also improve connection in Python 3.6
(I tested with Python 3.6.8 without issue)

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea