Unable to connect to Eikon API from Python. Error Code 500.
I’m getting a Error Code 500 for something that used to work w/out issue.
My Eikon Desktop is working well and am able to get live quotes/news.
I’ve rebooted and restarted everything so I’m out of ideas…
Best Answer
-
Before any action, please remove User Detail section (UUID, email, ....) in dump from Help about !
eikon 1.1.7 is available.
Could you upgrade your version ? ("pip install --upgrade eikon")To Clear Cache, you can start Thomson Reuters \ Thomson Reuters Eikon Tools \ Clear Cache
0
Answers
-
Hi,
If something changed in Eikon that causes mismatch, you can run a Clear Cache.
As it that used to work w/out issue, that means you didn't update any python lib (including eikon).
Could you detail following information ?- eikon lib version
- Eikon Desktop version
- Eikon APPs version (get Copy To Clipboard from Eikon \ Help about window)
To get all detail on the error you Could you add following code snippet before get_data() (it'll activate eikon and http logs) ?
import os
os.environ["HTTPX_LOG_LEVEL"] = "trace"
ek.set_log_level(1)Then share output response in a text file (remove any reference to application_id value) ?
0 -
How do I Clear Cache?
Eikon Desktop Verions is 4.0.52Eikon lib verion: 1.1.2
Eikon APPS:
==============================================================================
* * Refinitiv Eikon * *
==============================================================================
* * Version * *
Desktop 4.0.52 (4.0.52055)
==============================================================================
* * Connection Status * *
Connection Mode: INTERNET
Heartbeat: OK
Realtime: OK
----------------------------------
Data Center: Primary - AMERS2
Deployment Mode: Customer Managed over Internet
----------------------------------
Operating System: Microsoft Windows 10 Enterprise
==============================================================================
* * Add-ons * *
- Add-ons
- No Add-Ons Installed
==============================================================================
* * Apps * *
- APPS (ACTIVE)
ABOUTDIALOG (40.27.18.7)
THOMSONREUTERS.EIKON.ABOUTDIALOG (40.27.18.7)
Installed on 2020-07-01 08:49:14.602
ALERTS (1.0.6.0)
TR.ALERTS (1.0.6.0)
Installed on 2020-03-10 11:41:47.268
ALERTSENGINE (1.0.0.23)
THOMSONREUTERS.EIKON.ALERTSENGINE (1.0.0.23)
Installed on 2020-03-10 11:41:52.381
BOB (3.1.1901.17736)
THOMSONREUTERS.EIKON.BOB (3.1.1901.17736)
Installed on 2020-03-10 11:41:21.618
CHARTS (9.50.0.1)
THOMSONREUTERS.EIKON.CHARTS (9.50.0.1)
Installed on 2020-07-10 14:51:08.083
DESKTOPSXSSVC (1.1.0.95)
THOMSONREUTERS.EIKON.DESKTOPSXSSVC (1.1.0.95)
Installed on 2020-07-06 07:40:12.417
FLOATINGTOOLBAR (4.84.0.53)
THOMSONREUTERS.EIKON.FLOATINGTOOLBAR (4.84.0.53)
Installed on 2020-08-24 09:08:49.156
FXALLSERVICE (1.0.0.14)
THOMSONREUTERS.EIKON.FXALLSERVICE (1.0.0.14)
Installed on 2020-03-10 11:41:46.706
LISTSERVICE (10.0.0.17)
LISTSERVICE (10.0.0.17)
Installed on 2020-03-10 11:42:09.076
NEWS (9.52.0.51)
THOMSONREUTERS.EIKON.NEWS (9.52.0.51)
Installed on 2020-08-24 09:02:38.511
OFFICE.CORE (4.0.52.0)
TR.OFFICE.CORE (4.0.52.0)
Installed on 2020-08-24 09:02:38.545
OFFLINEAPP (1.1.0.148)
THOMSONREUTERS.EIKON.OFFLINEAPP (1.1.0.148)
Installed on 2020-07-01 08:49:09.977
OPSCONSOLE (4.0.17.33)
THOMSONREUTERS.EIKON.OPSCONSOLE (4.0.17.33)
Installed on 2020-07-27 12:32:58.486
PROXY (9.52.0.51)
THOMSONREUTERS.EIKON.PROXY (9.52.0.51)
Installed on 2020-08-24 09:02:38.500
PROXYREGISTRY (4.0.33010.0)
THOMSONREUTERS.EIKON.PROXYREGISTRY (4.0.33010.0)
Installed on 2020-03-10 11:41:25.655
QUICKCHARTS (9.31.14.5000)
THOMSONREUTERS.EIKON.QUICKCHARTS (9.31.14.5000)
Installed on 2020-08-21 11:02:36.688
QUOTE (9.52.0.51)
THOMSONREUTERS.EIKON.QUOTE (9.52.0.51)
Installed on 2020-08-24 09:02:38.492
QUOTELIST (9.52.0.51)
THOMSONREUTERS.EIKON.QUOTELIST (9.52.0.51)
Installed on 2020-08-24 09:02:38.411
REALTIME.PIXLALLPROTOCOLS (9.0.4701.56)
THOMSONREUTERS.REALTIME.PIXLALLPROTOCOLS (9.0.4701.56)
Installed on 2020-03-10 11:41:21.796
REFINITIVHOLDINGS.EIKON.DATAAPIPROXY (1.1.0.12)
REFINITIVHOLDINGS.EIKON.DATAAPIPROXY (1.1.0.12)
Installed on 2020-10-19 08:33:01.959
STARTERCORE (0.0.0.41)
THOMSONREUTERS.EIKON.STARTERCORE (0.0.0.41)
Installed on 2020-03-10 11:41:28.822
STARTERNET (0.0.0.120)
THOMSONREUTERS.EIKON.STARTERNET (0.0.0.120)
Installed on 2020-03-10 11:41:21.752
SUPPORTTOOL (9.1.15.153)
THOMSONREUTERS.EIKON.SUPPORTTOOL (9.1.15.153)
Installed on 2020-03-10 11:48:13.496
SYSTEMTEST (9.51.0.10)
THOMSONREUTERS.EIKON.SYSTEMTEST (9.51.0.10)
Installed on 2020-03-10 11:56:35.214
TAS (9.1.4046.97)
THOMSONREUTERS.EIKON.TAS (9.1.4046.97)
Installed on 2020-03-10 11:41:21.630
THINMONITORMIGRATIONSERVICE (9.52.0.51)
THOMSONREUTERS.EIKON.THINMONITORMIGRATIONSERVICE (9.52.0.51)
Installed on 2020-08-24 09:02:38.560
TRANSACTION.TRADEWEBADAPTER (9.0.14.2)
THOMSONREUTERS.TRANSACTION.TRADEWEBADAPTER (9.0.14.2)
Installed on 2020-07-27 12:27:06.406
TRANSACTION.TRADINGVENUELOGIC (9.0.13.1722)
THOMSONREUTERS.TRANSACTION.TRADINGVENUELOGIC (9.0.13.1722)
Installed on 2020-04-08 16:51:28.603
TSI6 (6.4.2013.44564)
THOMSONREUTERS.EIKON.TSI6 (6.4.2013.44564)
Installed on 2020-03-10 11:41:21.763
UDASERVICE (2.10.13.3)
THOMSONREUTERS.EIKON.UDASERVICE (2.10.13.3)
Installed on 2020-03-10 11:41:36.227
WEBAPPS (9.52.0.51)
THOMSONREUTERS.EIKON.WEBAPPS (9.52.0.51)
Installed on 2020-08-24 09:02:38.519
WEBAPPS_DEV (9.52.0.51)
THOMSONREUTERS.EIKON.WEBAPPS_DEV (9.52.0.51)
Installed on 2020-08-24 09:02:38.527
WEBINTEGRATION (9.52.0.51)
THOMSONREUTERS.EIKON.WEBINTEGRATION (9.52.0.51)
Installed on 2020-08-24 09:02:38.536
- APPS (DOWNLOADED)
- No Apps Downloaded
==============================================================================
* * Date Time Settings * *
Time Zone: Eastern Standard Time
Daylight Saving Time (DST): Eastern Daylight Time
Changeover Date:
==============================================================================
* * Real-Time Sources * *
- Data Feeds
- No Data Feeds
- Information
- No Information
==============================================================================
* * Active Document * *
==============================================================================
* * Workspace Size * *
Width and Height Parameters:
Screen Resolution:
Grid Size:
Unit Size:
==============================================================================
* * ActiveX Controls * *
* There are no ActiveX Objects in the active document.
==============================================================================
* * Design Information * *
0 -
Cleared Cache and upgraded but still get same error, but more message. Also checked status of proxy (suggested in another thread) w/ http://localhost:9060/api/status and that gives me it's version number (below). Also attaching new error files w/out removed ids. Need this fixed SOON!!
{"statusCode":"ST_PROXY_READY","version":"2.6.3"}
0 -
Hi,
the error code 500 "self signed certificate in certificate chain" means requests need a corporate certificate.
If your IT can provide this certificate in 'pem' format, could you try following test ?
- Start a console window,
- set environment variable NODE_EXTRA_CA_CERTS to <path to your company certificate file>
( ex: c:\>set NODE_EXTRA_CA_CERTS=C:\tmp\cacert.pem ) - start jupyter notebook (or Eikon if you're using Codebook) from this console and run your code
0 -
It doesn't appear that you are doing anything incorrectly from an API perspective. Instead, the intermittent issues may be a result of server overload. The immediate workaround is to try the request with a smaller date range to see if this helps. If you continually encounter this error, the best and most efficient approach is to open a support case with Refinitiv Helpdesk and include the complete details. Your inquiry will be assigned immediately and investigated in a timely manner. These forums do not specialize in server issues.
0 -
wohh, i totally agree! A useful share
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 中文论坛