Error on handshake port 9060 : TimeoutException

Hi,
I have the following error when trying to access Eikon API using Python.
Error on handshake port 9060 : TimeoutException("TimeoutException on HTTP request: ReadTimeout('')")
My Python packages and applications related to Eikon are as follows.
Python packages:
- python 3.9.1
- eikon 1.1.8
Applications:
- Eikon Desktop 4.0.52055
- Eikon API Proxy 9.52.0.51
Also, setting environment variables are as follows because of using proxy server for the internet connection.
- HTTP_PROXY = http://username:password@proxyhost:port
- HTTPS_PROXY = http://username:password@proxyhost:port
- NO_PROXY = localhost,127.0.0.1
Can you help me?
Best Answer
-
Thank you for the information. All data retrieval from Eikon platform using Eikon Data APIs is via HTTPS port 443, hence I don't think the fact that you cannot telnet to apac1.apps.cp.thomsonreuters.com on port 80 is a concern for the issue you experienced.
For further investigation, could you please increase the logging level in Eikon Data APIs library for Python as follows before calling set_app_key method, and include the full output?ek.set_log_level(1)
ek.set_app_key(YOUR_APP_KEY)And could you also try retrieving some data, e.g.
ek.get_data('IBM.N', 'TR.Revenue')
0
Answers
-
-
Thanks @jason.ramchandani01
Please confirm my using library versions as indicated below.
- httpx : 0.14.3
- nest-asyncio : 1.3.3
0 -
@Daichi Your httpx and nest-asyncio libs are correct. Also please can you confirm with your IT team that you have opened firewall access for the following (not sure which region you are in so I put all regions):
emea1.apps.cp.thomsonreuters.com 159.220.1.19
amers1.apps.cp.thomsonreuters.com 159.220.40.41
apac1.apps.cp.thomsonreuters.com 159.220.16.215I have seen many issues where firewalls have been updated - so please do check that and confirm please.
0 -
@jason.ramchandani01 Thanks for your advice.
Do I have opened firewall access for apac1.apps.cp.thomsonreuters.com to use Eikon API from Japan?
0 -
@Daichi Yes thats correct - see if that fixes things.
0 -
May I ask one more question?
Does Eikon API need to access on port 80/443 for apac1.apps.cp.thomsonreuters.com?
0 -
@Daichi yes I believe thats correct.
0 -
The following is the result to check connect for apac1.apps.cp.thomsonreuters.com on port 80/443 using curl command.
curl -v telnet://apac1.apps.cp.thomsonreuters.com:80 -x http://username:password@proxyhost:port
→error 503
curl -v telnet://apac1.apps.cp.thomsonreuters.com:443 -x http://username:password@proxyhost:port
→OK
Would you happen to know the reason I can't connect that server on port 80 for error 503?
0 -
@Daichi I need to check this and get back to you - apols for delay.
0 -
Thank you for the information.
I have attached the log file I got by running as below, Could you check it, please?
import eikon as ek
ek.set_log_level(1)
ek.set_app_key('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
ek.get_data('IBM.N', 'TR.Revenue')0 -
Thank you for the log. We need to continue investigating this issue with Refinitiv Support. I raised case 09567134 on your behalf with Refinitiv Helpdesk. You will be contacted by the Helpdesk.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 685 Datastream
- 1.4K DSS
- 616 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 252 ETA
- 556 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 652 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛