When calling ek.get_timeseries('FCPOc3') getting server error 500
Hi,
I'm trying to find the issue causing the following on the machine of a colleague :
When he runs
import eikon as ek
ek.set_app_key('apk')
ek.get_timeseries('FCPOc3')
He gets the following response:
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"}
On my machine the code above works fine. We are both behind the same corporate firewall and connected via the same VPN connection. When he shuts down the VPN, the error above does not show and the data is retrieved as expected.
To check whether this is a network issue, I tried pinging
emea1.apps.cp.thomsonreuters.com
But this gives me:
Ping request could not find host emea1.apps.cp.thomsonreuters.com. Please check the name and try again.
How to proceed on this? A little more than a week ago all was working fine, so perhaps the firewall rules have changed, but I dont know where to start.
Thanks
Best Answer
-
Hello @eddy_de_groot ,
As you indicate that the issue is persistent (and you have a machine with Eikon Data API connecting on the same subnet, succefully), I suggest first going through the standard brief troubleshooting steps that are described in article Eikon Data API(Python) Troubleshooting and verifying every step one by one such as Eikon proxy is listening, collecting log and checking for the info.
Another aspect to be clarify and eliminate- your colleague's Eikon is not old, and the variant is the same as yours, API-enabled? Because the lower variants of Eikon are not intended for API integration, they do not support it.
Once you have had a chance to reproduce the issue and collect the info and the logs, please include? Will look.
Thanks
0
Answers
-
Hello @eddy_de_groot ,
I can share some thoughts in hopes that they may be helpful to you in troubleshooting this in your environment,
The fact that you are able to run the same request on your machine, and even on the same machine but with VPN, indicates that the issue is connectivity and not the code, user permissions, or service undergoing a substantial outage.
If, after an eikon restart and fresh restart of the machine, the issue continues to reproduce consistently, I would suggest reporting and investigating the issue with your organization's network admin/group, as connectivity issue, providing all the details.
If the above actions rectify the issue, I would say the issue was either intermittent of the service side, or network changes in-progress on your organization's side that have now been completed?
0 -
Hi
@zoya.farberov ,Thanks for your reply. Unfortunately this is persistent, reboot does not help. In order to ask our network admin/group to look into this, it would help to know which server it actually tries to hit during the API call so they can see why it is blocked. Would you be able to provide me this information?
Many thanks!
0 -
Hello @eddy_de_groot ,
Please also see this previous discussion thread it includes the Fiddler capture from EDAPI on the issue.
You can run Fiddler on your side and capture the connection at the time when it fails, or you can see the endpoint for Emea included and extrapolate depending on your geographical region.
Hope this helps
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 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
- 367 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 中文论坛