error using get function after successful connection to api.
hi,
hope I will find help here. I keep getting this error (in attached screenshot)
I tried downgrading httpx 0.14.2 didn't help
eikon version 1.1.13
after two unsuccessful remote sessions and a period where it worked (i thought because ofnew virtual environment through pipenv I thought I solved it then this error returned.
Help!!
2021-11-10 14:39:17,829 P[4068] [MainThread 2212] Error: no proxy address identified.
Check if Eikon Desktop or Eikon API Proxy is running.
2021-11-10 14:39:17,834 P[4068] [MainThread 2212] Error on handshake url http://127.0.0.1:None/api/handshake : TypeError("AsyncClient.send() got an unexpected keyword argument 'timeout'")
2021-11-10 14:39:17,834 P[4068] [MainThread 2212] Error on handshake url http://127.0.0.1:None/api/handshake : TypeError("AsyncClient.send() got an unexpected keyword argument 'timeout'")
2021-11-10 14:39:17,834 P[4068] [MainThread 2212] Port number was not identified, cannot send any request
2021-11-10 14:39:17,834 P[4068] [MainThread 2212] HTTP request failed: AsyncClient.send() got an unexpected keyword argument 'timeout'
Traceback (most recent call last):
File "C:\Users\Rafi Levy\Google Drive\projects\Refinitiv\dollar_iv\dollar_iv.py", line 596, in <module>
pl = pull_data1(stocks)
File "C:\Users\Rafi Levy\Google Drive\projects\Refinitiv\dollar_iv\dollar_iv.py", line 120, in pull_data1
pll, err = ek.get_data(instruments=stock_lst, fields=['CF_LAST'])
File "C:\Users\Rafi Levy\.virtualenvs\Refinitiv-wQXrtoLB\lib\site-packages\eikon\data_grid.py", line 192, in get_data
if result.get('responses'):
AttributeError: 'NoneType' object has no attribute 'get'
Best Answer
-
Hi @rafi.levy1
Can you try httpx 0.19.0?
https://community.developers.refinitiv.com/questions/86731/cannot-connect-to-eikon-1.html
0
Answers
-
@umer.nalla
this didn't help
I did get an error on cmd when running pip install httpx==0.19.0:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
http3 0.6.0 requires h11==0.8.*, but you have h11 0.12.0 which is incompatible.
maybe this could lead to the solution
0 -
Hi @rafi.levy1
Ok - so did you try downgrading your h11 library?
For example to install v0.8.1
pip install h11==0.8.1
0
Categories
- All Categories
- 6 AHS
- 39 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
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛