Server Error: code 500 by downloading the data from eikon
I am using Eikon Data API in Python as follows:
import eikon as ek
ek.set_app_key('.....')
ek.get_news_headlines('R:LHAG.DE', date_from='2019-03-06T09:00:00',
date_to='2019-03-06T18:00:00')
and get the following error message:
Error code 500 | Server Error: {"code":500,"message":"getaddrinfo
ENOTFOUND emea1.apps.cp.thomsonreuters.com emea1.apps.cp.
thomsonreuters.com:443","statusMessage":"Internal Server Error"}
A similar problem is described here .
Probably, the following infos are requorde:
eikon==1.1.7
nest-asyncio==1.3.3
Eikon-Desktop: 4.0.52
and http://localhost:9000/ping?all supplies
Best Answer
-
Hi,
The issue described here is a connect ETIMEDOUT and was because of nest-asyncio 1.4.1
Your issue is a getaddrinfo ENOTFOUND (It could be caused by DNS or proxy)
Could you apply following steps :
- Open http://localhost:9000/api/status to check if API Proxy is running.
- Verify if Refinitiv server is authorized by your proxy
Run cmd.exe then type "ping emea1.apps.cp.thomsonreuters.com", you should have following result:
Reply from 159.220.1.19: bytes=32 time=34ms TTL=242 - In your script, activate verbose log and when you set app_key, you can test if connection is up before continue as follow:
ek.set_log_level(1)ek.set_app_key('.....')state = ek.get_desktop_session().get_open_state()if state == ek.Session.State.Open:
ek.get_news_headlines('R:LHAG.DE', date_from='2019-03-06T09:00:00', date_to='2019-03-06T18:00:00')4. Lastly, if you can define environment variable HTTPX_LOG_LEVEL=trace then run your script, we'll have full logs to investigate and check what's the root cause of this error code 500
FYI, a new version (1.1.8) was just released on pypi.org.
0
Answers
-
I have this same problem. However I am failing at step 2 ("ping emea1.apps.cp.thomsonreuters.com"). I checked with my IT department and there seems to be no security issues. During troubleshooting there was a period where the ping worked and I was able to get data. However this stopped after 10 min.
Not sure how to proceed from here. Any help would be appreciated.
0 -
the problem is, if you are behind a firewall for example it is not possible to ping through a firewall.
0 -
Firewall must be configured to allow access to Refinitiv servers (like emea1.apps.cp.thomsonreuters.com).
You should contact customer support or your account manager to request Refinitiv Eikon Networking Guide and additional server list for Eikon Data API to forward it to your IT.
0 -
Why is it possible to connect to the eikon server by using Excel? Which server is addressing by using Excel?
0 -
As Eikon add-in for Excel is a part of Eikon product, your IT already allowed needed servers for it.
Eikon Data API connects to additional servers on the platform that were not listed in Eikon Networking Guide before.0 -
Hi thank you for your response. I have requested the Networking guide. I just had another question. I brought this issue to our IT department and they said pinging 443 works (telnet emea1.apps.cp.thomsonreuters.com 443). but the default was 80?
is this something that has to be configured on our end?
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 162 App Studio
- 4 Block Chain
- 5 Bot Platform
- 17 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 370 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛