API Error Python : Port number was not identified, cannot send any request
Hello, i am trying to set up the API eikon on Python (i am using Jupyter) but after looking all similar threads in this forum, it is impossible to find a solution. I have already my key, my desktop app is running and still, when i try to set the key on Python, it returns me an error :
2022-08-18 13:12:27,643 P[1477] [MainThread 140560821065536] Error: no proxy address identified.
Check if Eikon Desktop or Eikon API Proxy is running.
2022-08-18 13:12:27,647 P[1477] [MainThread 140560821065536] Error on handshake url http://127.0.0.1:None/api/handshake : UnsupportedProtocol("Request URL is missing an 'http://' or 'https://' protocol.")
2022-08-18 13:12:27,648 P[1477] [MainThread 140560821065536] Error on handshake url http://127.0.0.1:None/api/handshake : UnsupportedProtocol("Request URL is missing an 'http://' or 'https://' protocol.")
2022-08-18 13:12:27,648 P[1477] [MainThread 140560821065536] Port number was not identified, cannot send any request
Could you help me ?
Thanks for your time.
Best Answer
-
Hi @constansa ,
We need more information to understand the root cause.
You can investigate in following directions:- Did you check steps in Eikon Data API(Python) Troubleshooting ?
- As no Eikon proxy address was identified by Python script, it could come from Eikon API Proxy.
You can activate debug logs in Eikon (with Configuration Manager) and check in <logs folder>\TRD\Eikon.yymmdd.hhmmss.pid\APIProxy.yyyymmdd.hhmmss.pid.txt log file.
0
Answers
-
Hi @pf,
Thank you very much for your anwser !
1 - Yes i have already checked this and done the steps. There is a first problem here. At step 4, in the SxS file, i don't have this lot of text as in the screenshot. I just have something like this :
start node
Arg: c:\Program Files (x86)\Thomson Reuters\Eikon\Z\Bin\Eikonbox.exe C:\Users\alcaraz\AppData\Local\Thomson Reuters\Eikon User\Cache\LibraryCache\Apps\THOMSONREUTERS.EIKON.DESKTOPSXSSVC\1.1.0.100\index.js -TraceLevel=-1
So i can't check APIPROXY created and the port number. I checked in other txt files and i can't find them. Maybe it doesnt create the right text file, hence, it cant find the proxy ?
2 - In this txt file same problem :
start node
Arg: c:\Program Files (x86)\Thomson Reuters\Eikon\Z\Bin\Eikonbox.exe C:\Users\alcaraz\AppData\Local\Thomson Reuters\Eikon User\Cache\LibraryCache\Apps\REFINITIVHOLDINGS.EIKON.DATAAPIPROXY\1.5.2.4\index.js -TraceLevel=-1
I can't find the logs .. i think it comes from that .. but i have no knowledge enough to understand how to fix it ..
Thank you for your time
0 -
In my log file, the TraceLevel is 4.
Arg: C:\Program Files (x86)\Thomson Reuters\Eikon\Z\Bin\Eikonbox.exe C:\Users\U8009686\AppData\Local\Thomson Reuters\Eikon User\Cache\LibraryCache\Apps\THOMSONREUTERS.EIKON.DESKTOPSXSSVC\1.1.0.101\index.js -TraceLevel=4
Please make sure that the TraceLevel is 4 in Refinitiv Eikon - Configuration Manager. After configuring, you need to restart all Eikon processes.
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 中文论坛