Error on handshake port 9060 : TimeoutException

021-01-25 09:50:58,021 P[2648] [MainThread 15368] Port 9060 was retrieved from .portInUse file
2021-01-25 09:50:58,022 P[2648] [MainThread 15368] Try to handshake on url http://127.0.0.1:9060/api/handshake...
2021-01-25 09:50:58,024 P[2648] [MainThread 15368] Request to http://127.0.0.1:9060/api/handshake
headers = {'Content-Type': 'application/json', 'x-tr-applicationid': '52147867362a47a78287a31c5a9bd559e24e4ade'}
params = None
2021-01-25 09:51:13,028 P[2648] [MainThread 15368] TimeoutException on HTTP request: ReadTimeout('')
2021-01-25 09:51:13,029 P[2648] [MainThread 15368] Error on handshake port 9060 : TimeoutException("TimeoutException on HTTP request: ReadTimeout('')")
Best Answer
-
Ok, just to give you give some follow up on my situation.
A Refinitiv support case was opened to investigate my issue further. Some changes actually needed to be performed on my profile, on Refinitiv side.
Now the API is working just fine. Thanks!
0
Answers
-
More details below:0
-
@bjorn.carvalho Please see this thread to see if it can help. In particular please check httpx and nest-asyncio library versions and also then check with your IT Team that your firewall has permissioned 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. I hope this can help.
0 -
Thank you. I have checked my lib versions and here they are:
httpx 0.14.3
nest-asyncio 1.3.3
I will try to reach my IT departement about firewall access to emea1.apps.cp.thomsonreuters.com 159.220.1.19 as I believe this is the one for me, as I'm working from France.0 -
Could you please explain me what happens in the Eikon Data Api log?
I'm not a developer, just what a Refinitv employee recently called a "citizen developer" but I would like to get a grasp on what is happening.
My understand is that Eikon Data API is connecting to my Eikon's local server on port 9060, to send an HTML GET on :
http://127.0.0.1:9060/api/handshake
which is timed out.
And now I assume, from what you've mentioned about firewall access to:
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.215that the Refinitiv Eikon application is trying to connect to Refinitiv's emea server to perform that hanshake, which is timed out again.
Same thing happens when trying to use :
Request to http://127.0.0.1:9060/api/v1/data
I get this error:
HTTP Response: {"code":500,"message":"connect ETIMEDOUT 159.220.1.19:443","statusMessage":"Internal Server Error"}
Is that correct?
As @daichi.yuasa.b mentionned it in his thread related with the same issue, I tried a telnet on emea1.apps.cp.thomsonreuters.com:443 and this works just fine.
0 -
Here it is:
0 -
@bjorn.carvalho There could be many reasons for this happening - it may be best to open a support ticket for this but just before I do this - please could you try clearing the eikon cache and restarting the machine:
Launch Clear Cache from Windows menu >> Thomson Reuters >> Clear Cache
Please could you also update you eikon library to the latest 1.1.8 if you have not already done so:
pip install eikon==1.1.8
Try this and then rerun your code to see if it can return data.
a simple call will suffice:
df,err = ek.get_data('VOD.L',['TR.PriceClose'])
dfTry this and see if it helps. Otherwise I will open a ticket for you.
0 -
I did what you wrote but I still face the same issue.
0 -
@bjorn.carvalho Thanks for your patience. We need to continue investigating this issue with Refinitiv Support. I raised case 9568978 on your behalf with Refinitiv Helpdesk. You will be contacted by the Helpdesk.
0 -
@bjorn.carvalho thanks for coming back on this. Glad all is now working.
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 中文论坛