Port number was not identified, cannot send any request

Hi, Trying to get
data via Eikon via python and getting the error:
2024-10-06 14:46:06,684 P[16028] [MainThread 17836] Error on handshake url http://127.0.0.1:9060/api/handshake : ReadTimeout('')
2024-10-06 14:46:06,685 P[16028] [MainThread 17836] Port number was not identified, cannot send any request
2024-10-06 14:48:06,719 P[16028] [MainThread 17836] Eikon Proxy not running or cannot be reached. Please read the documentation on troubleshooting
And went through all
of Section 1.1 - screenshots below; don't know what to do after that; any advice?
Thank you
Best Answer
-
If the requests library can't connect to that endpoint, this should not be the problem in the Eikon Data API. You need to verify the network settings or the API Proxy.
I checked the APIProxy log and couldn't find the incoming request log for the handshake request.
This could indicate that the API Proxy didn't receive the request.
You may need to contact your local IT support team to verify the proxy settings and security or network policies.
Otherwise, you can also contact the Eikon support team directly via MyAccount to verify the settings.
0
Answers
-
@julien.granger
Please reshare the screentshots.
0 -
Here you go
0 -
Here you go
0 -
Thank you for reaching out to us.
According to the screenshots, the API proxy is running properly.
The error is ReadTimeout('') which could be the Python or network issue.
Please run the following Python code to verify what the problem is.
import requests
body = {
"AppKey": "<App Key>",
"AppScope": "rapi",
"ApiVersion": "1",
"LibraryName": "Eikon Python Library",
"LibraryVersion": "1.1.18"
}
r = requests.post(url="http://127.0.0.1:9060/api/handshake",
headers={"Host":"127.0.0.1","Content-Type": "application/json"},
json=body)
print(r)
print("HANDSHAKE:\n", r.text)0 -
Please see attached
0 -
Thank you for sharing the screenshot.
Please make sure 9060 is the correct TCP port used by the API Proxy. You can check it from the SxS log or the http://127.0.0.1:9060/api/status.
If the TCP port (9060) is correct and the requests library can't connect to that endpoint, this should not be the problem in the Eikon Data API. You need to verify the network settings or the API Proxy.
You can check the APIProxy log. The request should be recorded in the APIProxy log file.
You can also contact the Eikon support team via MyAccount to verify the settings.
0 -
I am attaching the APIProxy file for your review. I do not find the code you have highlighted in red.APIProxy.20241010.100802000.p16024.txt
Also here is the screenshot of the URL you mention
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
- 615 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 中文论坛