Error: no proxy address identified for Eikon Data API Python

goca
Newcomer
Hi,
I just installed the Eikon Desktop (4.0.65) on my Windows 11, and is trying to connect through Eikon Data API (1.1.18) for Python (3.11). However, I have encouraged an error saying "Error: no proxy address identified.". The full log with ek.set_log_level(1) is as below:
An error occurred while requesting URL('http://localhost:9000/api/status').
ConnectError('[WinError 10061] No connection could be made because the target machine actively refused it')
An error occurred while requesting URL('http://localhost:9060/api/status').
ConnectError('[WinError 10061] No connection could be made because the target machine actively refused it')
Error: no proxy address identified.
Check if Desktop is running.
An error occurred while requesting URL('http://localhost:9000/api/handshake').
ConnectError('[WinError 10061] No connection could be made because the target machine actively refused it')
Error on handshake url http://localhost:9000/api/handshake : ConnectError('[WinError 10061] No connection could be made because the target machine actively refused it')
<refinitiv.data.session.Definition object at 0x28b4cd66690 {name='workspace'}>
An error occurred while requesting URL('http://localhost:9000/api/status').
ReadTimeout('timed out')
An error occurred while requesting URL('http://localhost:9060/api/status').
ConnectError('[WinError 10061] No connection could be made because the target machine actively refused it')
Error: no proxy address identified.
Check if Desktop is running.
An error occurred while requesting URL('http://localhost:9000/api/handshake').
RemoteProtocolError("illegal status line: bytearray(b'\\xff\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x01\\x7fe\\x01')")
Error on handshake url http://localhost:9000/api/handshake : RemoteProtocolError("illegal status line: bytearray(b'\\xff\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x01\\x7fe\\x01')")
<OpenState.Closed: 'Closed'>
2024-09-26 16:31:05,255 P[53560] [MainThread 69032] Reset a Desktop session with new app_key
2024-09-26 16:31:05,256 P[53560] [MainThread 69032] Warning: file .portInUse was not found. Try to fallback to default port number.
2024-09-26 16:31:05,257 P[53560] [MainThread 69032] Try defaulting to port 9000...
2024-09-26 16:31:05,258 P[53560] [MainThread 69032] Send GET request to http://127.0.0.1:9000/api/status to detect API Proxy...
2024-09-26 16:31:05,258 P[53560] [MainThread 69032] Request to http://127.0.0.1:9000/api/status
headers = {'x-tr-applicationid': 'xxx'}
params = None
2024-09-26 16:31:20,273 P[53560] [MainThread 69032] TimeoutException on HTTP request: ReadTimeout('')
2024-09-26 16:31:20,273 P[53560] [MainThread 69032] Error on checking proxy url http://127.0.0.1:9000/api/status : ReadTimeout('')
2024-09-26 16:31:20,274 P[53560] [MainThread 69032] Default proxy port #9000 failed
2024-09-26 16:31:20,275 P[53560] [MainThread 69032] Try defaulting to port 9060...
2024-09-26 16:31:20,275 P[53560] [MainThread 69032] Send GET request to http://127.0.0.1:9060/api/status to detect API Proxy...
2024-09-26 16:31:20,276 P[53560] [MainThread 69032] Request to http://127.0.0.1:9060/api/status
headers = {'x-tr-applicationid': 'xxx'}
params = None
2024-09-26 16:31:22,311 P[53560] [MainThread 69032] HTTP request failed: ConnectError('All connection attempts failed')
2024-09-26 16:31:22,312 P[53560] [MainThread 69032] Error on checking proxy url http://127.0.0.1:9060/api/status : ConnectError('All connection attempts failed')
2024-09-26 16:31:22,313 P[53560] [MainThread 69032] Default proxy port #9060 failed
2024-09-26 16:31:22,313 P[53560] [MainThread 69032] Error: no proxy address identified.
Check if Eikon Desktop or Eikon API Proxy is running.
2024-09-26 16:31:22,314 P[53560] [MainThread 69032] Try to handshake on url http://127.0.0.1:None/api/handshake...
2024-09-26 16:31:22,315 P[53560] [MainThread 69032] Request to http://127.0.0.1:None/api/handshake
headers = {'Content-Type': 'application/json', 'x-tr-applicationid': 'xxx'}
params = None
2024-09-26 16:31:22,315 P[53560] [MainThread 69032] HTTP request failed: InvalidURL("Invalid port: 'None'")
2024-09-26 16:31:22,316 P[53560] [MainThread 69032] Error on handshake url http://127.0.0.1:None/api/handshake : InvalidURL("Invalid port: 'None'")
2024-09-26 16:31:22,317 P[53560] [MainThread 69032] Error on handshake url http://127.0.0.1:None/api/handshake : InvalidURL("Invalid port: 'None'")
2024-09-26 16:31:22,317 P[53560] [MainThread 69032] Port number was not identified, cannot send any request
2024-09-26 16:31:22,318 P[53560] [MainThread 69032] Received notification for closed streaming session 0
2024-09-26 16:31:22,318 P[53560] [MainThread 69032] Received notification for closed streaming session 0
2024-09-26 16:31:22,319 P[53560] [MainThread 69032] Init a Desktop session with new app_key
I have tried to follow https://developers.lseg.com/en/article-catalog/article/eikon-data-api-python-troubleshooting-refinitiv. However, I failed to find the log file named "SxS.<datetime>.p<process-id>.txt".
Could you please help me to address the issue? Thank you.
Tagged:
0
Best Answer
Answers
-
I have this same issue, also with the missing SxS log it seems many people have it
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 中文论坛