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
1 0 1 1

Key not work in Data Eikon API

I have changed Visual Studio 2019 for 2022. Installed Eikon in Python39_64. When I run my application, my identification gives an error (command ek.set_app_key ('xxxxxxxxxxxxxxxxxxxxxxx')):

2021-11-19 08: 23: 40,371 P [14052] [MainThread 11868] Error: no proxy address identified.

Check if Eikon Desktop or Eikon API Proxy is running.

2021-11-19 08: 23: 40,372 P [14052] [MainThread 11868] Error on handshake url http://127.0.0.1:None/api/handshake: TypeError ("send () got an unexpected keyword argument 'timeout' ")

2021-11-19 08: 23: 40,373 P [14052] [MainThread 11868] Error on handshake url http://127.0.0.1:None/api/handshake: TypeError ("send () got an unexpected keyword argument 'timeout' ")

2021-11-19 08: 23: 40,373 P [14052] [MainThread 11868] Port number was not identified, cannot send any request


What is the solution?

app-key
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
80k 257 52 75

@jesus.lopez

It could be a problem in httpx 0.20.0.

Referring to the changelog of httpx 0.20.0, the send method no longer accepts the timeout parameter. However, it seems that Eikon Data API is still using the timeout parameter.

                
  1. The client.send() method no longer accepts a timeout=... argument, but the client.build_request() does. This required by the signature change of the Transport API. The request timeout configuration is now stored on the request instance, as request.extensions['timeout'].

Please downgrade the version of httpx to 0.19.0.

                
  1. pip install httpx==0.19.0


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.

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.