Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
55 2 5 9

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'


1636548633976.png

eikoneikon-data-apierror
1636548633976.png (187.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
25.3k 87 12 25
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@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

Hi @rafi.levy1

Ok - so did you try downgrading your h11 library?

h11 · PyPI

For example to install v0.8.1

pip install h11==0.8.1

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.