Error on handshake url http://127.0.0.1:9060/api/handshake
Hi,
My Python packages and applications related to Eikon are as follows.
Python packages:
- python 3.10.1 and 3.9.1
- eikon 1.1.14
Applications:
- Eikon Desktop 4.0.56026
I have this error after set app key:
ek.set_app_key('****’)
2022-03-14 20:01:32,183 P[14720] [MainThread 10684] Error on handshake url http://127.0.0.1:9060/api/handshake : ReadTimeout('')
2022-03-14 20:01:32,184 P[14720] [MainThread 10684] Error on handshake url http://127.0.0.1:9060/api/handshake : ReadTimeout('')
2022-03-14 20:01:32,184 P[14720] [MainThread 10684] Port number was not identified, cannot send any request
I have seen your threads (thread1, thread2) but but none of the given solutions have helped me.
I can’t reach (error 504):
• curl -v telnet://apac1.apps.cp.thomsonreuters.com:80 -x http://user:pswd@proxy_host:port
• curl -v telnet:// http://127.0.0.1:9060/api/handshake -x http://user:pswd@proxy_host:port
I can’t open this localhost:
• http://localhost:9000/ping?all
• http://localhost:9060/api/status
I reach:
curl -v telnet:/159.220.1.19:443 -x http://user:pswd@proxy_host:port
Finally, I tried to shut down my Eikon, clear cache, restart application and retry API call but I still have the same problem (see thread3 and article: Eikon Data API(Python) Troubleshooting | Refinitiv.)
Do I need to contact Refinitiv Helpdesk (thread4) or my Refinitiv Account Manager (thread5)?
Thanks for any help you can give me.
Best Answer
-
Hello @mario.andreoli ,
It does not look like Eikon Proxy is listening on port 9060 on your local machine.
Some suggestions, as the issue is local:
1. I would try to determine, what port Eikon is listening on:
Follow Eikon Data API(Python) Troubleshooting | Refinitiv section "3. Verify that Eikon Desktop is running properly and APIPROXY service is enabled" to find your latest SxS log file and the line where it says "API Proxy is available on port". Is the port 9060? Or?
2. Do you see file .portInUse in AppData\Roaming\Refinitiv\Data API Proxy directory, are the contents of the file 9060? Or?
3. If you are a local admin, open a cmd shell "as admin" and go:
netstat -a | findstr 9060
What do you see, is it:
TCP 127.0.0.1:9060 YOURHOSTNAMEO:0 LISTENING
Now you can shut down your Eikon desktop, make sure via Task manager that no Eikon processes are running, and check the same. Was the process that was listening on port 9060 part of your Eikon desktop, or is another application is listening on 9060 port?
If you have found a port that is different from 9060 in two previous steps, run the same for that port, what do you see?
4. Failing the previous ideas, and if you are a local admin, I would verify what firewalls or virus blocks are running and which ports are they blocking on the local machine. If this is not easy to discover, I would temporarily stop these, to see if when you restart Eikon in the absence of such, you are able to both bind Eikon proxy and connect via Eikon Data API.
Hope that this information is of help
0
Categories
- All Categories
- 6 AHS
- 37 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
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛