Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /
avatar image
Question by bricets · Sep 11, 2020 at 10:16 AM · python eikon500 internal server erroreikon api proxy

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.



People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

3 Replies

  • Sort: 
avatar image
Best Answer
Answer by bricets · Sep 21, 2020 at 07:05 AM

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.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Answer by chavalit.jintamalit · Sep 11, 2020 at 03:10 PM

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

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Answer by pierre.faurel · Sep 11, 2020 at 06:59 PM

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)

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
11 People are following this question.

Related Questions

Python API

5 year range EIA Crude Cushing Chart - Eikon Python Pull

Error Python Eikon Api No proxy Address

eikon python modeule unable to work after my jupyter crashed

Replicating Excel Add-ins function to Python

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges