AWS Eikon-python issue
Hello,
I use AWS and got the error message when run the python code:
import eikon as ek
print (ek.__version__)
ek.set_app_key("73c")
Error message:
2024-04-23 15:26:44,018 P[2056] [MainThread 20712] Error on handshake url http://127.0.0.1:9060/api/handshake : EikonError(1, 'Status code 400: App key is incorrect')
1.1.18
2024-04-23 15:26:44,022 P[2056] [MainThread 20712] Error on handshake url http://127.0.0.1:9060/api/handshake : EikonError(1, 'Status code 400: App key is incorrect')
2024-04-23 15:26:44,023 P[2056] [MainThread 20712] Port number was not identified, cannot send any request
Eikon proxy was checked:
{
"statusCode": "ST_PROXY_READY",
"version": "3.3.11-eikon4"
}
Could unybody help to figure out in the issue?
Best Answer
-
Hello @alexander.shkurin01
It could be something conflict when you install the Workspace application in AWS. I strongly suggest you contact the Workspace support team to help you with this issue. You can contact the team via https://my.refinitiv.com/content/mytr/en/helpandsupport.html website.
0
Answers
-
Thank you for reaching out to us.
The error(Status code 400: App key is incorrect) indicates tha the application key is incorrect. You need to use the App Key Generator tool to create application keys.
For more information, please refer to the Eikon Data API Quick Start Guide.
You may need to enable logging in the API to verify what the problem is.
import eikon as ek
ek.set_log_level(1)
print (ek.__version__)
ek.set_app_key("<app key>")0 -
Hello @alexander.shkurin01
Do you want to run the Eikon Data API application on the AWS Cloud?
If so, please be informed that the Workspace/Eikon desktop application integrates a Data API proxy that acts as an interface between the Eikon Data API Python library and the Workspace Platform. For this reason, the Workspace/Eikon application must be running in the same machine when you use the Eikon Data API Python library. I do not think you can run the Workspace/Eikon application on the cloud.
0 -
Thanks for the answer. But the key works in other environments.
0 -
Hello @wasin.w
Workspace is installed in AWS and is working. Moreover, there are no problems with realtime data. I have a suspicion that if the Workspace works through a proxy, then a conflict arises. I tried to add AWS proxy data to the workspace proxy, but it didn't help.
{
"statusCode": "ST_PROXY_READY",
"version": "3.3.11-eikon4"
}
0 -
Can you enable logging in the API to verify what the problem is?
import eikon as ek
ek.set_log_level(1)
print (ek.__version__)
ek.set_app_key("<app key>")0 -
print(rd.__version__)
Status code 400: Bad request on handshake url http://localhost:9060/api/handshake : <HEAD><TITLE>Request on loopback from external IP</TITLE></HEAD>
<BODY BGCOLOR="white" FGCOLOR="black"><H1>Request on loopback from external IP</H1><HR>
<FONT FACE="Helvetica,Arial"><B>
Description: Your request is prohibited because the request is on loopback from external IP.</B></FONT>
<HR>
<!-- default "Request on loopback from external IP" response (400) -->
</BODY>
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 中文论坛