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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
16 2 3 5

Error Python Eikon Api No proxy Address

The following configuration was made to perform a data query.


Eikon Application installed

An APP Key was generated

Python 3.8.5 installed

Pandas was installed

Eikon (1.1.5) Python package for retrieving Eikon data was installed.

The default port was verified at 9000

Connection tests were performed to http://localhost:9000/ping?all

{"port":9000,"mode":"eikon4","pid":70664,"hasSecure":true,"startedTime":"Tue Sep 08 2020 09:24:12 GMT-0500 (Hora de verano central (México))","subApps":[{"path":"/heap"},{"path":"/ping"},{"path":"/sxs","data":{"hasSecure":true,"sxsApps":{}}},{"path":"/api"},{"path":"/sxs/v1/services/messenger"}]}

Obtaining the following result

We support ourselves with the following documentation https://developers.refinitiv.com/article/eikon-data-apipython-troubleshooting-refinitiv but we got the same result.

.py file

import eikon as ek

import warnings

import pandas as pd

warnings.simplefilter(action='ignore', category=FutureWarning)

ek.set_app_key('XXXXXXXXXXXX')


SxS.20200908.092355000.p70664

[2020-09-08 14:24:12.124|1|api-svc|3|DEBUG] create SIDEBYSIDE

[2020-09-08 14:24:12.142|1|api-svc|3|DEBUG] create APIPROXY

[2020-09-08 14:24:12.282|1|sxs-api|3|DEBUG] [ws] Create endpoint=/sxs/v1/notifications

[2020-09-08 14:24:12.291|1|sxs-api|3|DEBUG] [ws] Create endpoint=/sxs/s/v1/notifications

[2020-09-08 14:24:12.311|1|api-svc|2|DEBUG] [bus] onCallback name=sxs:GetSetting callId=12 data~={"callId":12,"value":"4.0.52055","action":"ReturnCall"}

[2020-09-08 14:24:12.328|1|data-api|1|INFO] Request API Proxy port number using channel=/api-proxy/port/request

[2020-09-08 14:24:12.336|1|api-svc|1|INFO] Start server...

[2020-09-08 14:24:12.352|1|api-svc|2|DEBUG] onStarted: 9000

[2020-09-08 14:24:12.361|1|api-svc|1|INFO] Listening to port=9000

[2020-09-08 14:24:12.374|1|data-api|1|INFO] API Proxy is available on port 9060. Start redirecting /api/* requests

Result:

Error: no proxy address identified

Port number was not identified, cannot send any request.


Can I do something additional? Because this steps was made in three different computers obtaining the same error message.

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

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

Upvote
Accepted
39.2k 75 11 27

@isanchez

Thank you very much for your feedback. We identified the root cause of the problem, which manifests with Python 3.8+. The root cause happened to be in the dependencies of Eikon Data APIs for Python library (requests-async, http3 and nest-asyncio).
The problem has been addressed in Eikon Data APIs for Python library v1.1.6, which is now available on PyPI. Would you be so kind as to upgrade eikon module on your machine to v1.1.6 and see if it works? I'd very much appreciate if you could post your experience back on this thread.

icon clock
10 |1500

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

Upvote
39.2k 75 11 27

@isanchez

Could you try downgrading the version of Eikon Data APIs Python library to v1.1.2?

pip install eikon==1.1.2 
icon clock
10 |1500

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

Upvotes
16 2 3 5

@Alex Putkov, I did the downgrading Eikon Data APIs Python library to v1.1.2 and it is working right now with this version.

Thanks for the support

icon clock
10 |1500

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

Upvotes
4.3k 2 4 5

Hi,

eikon 1.1.6.post1 was just released and is available on pypi.org.

You can update with "pip install --upgrade --no-cache-dir eikon"

It should fix issues with Python 3.8

icon clock
10 |1500

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

Upvotes
18k 21 12 20

Please note that the latest release version is 1.1.6.post2

icon clock
10 |1500

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

Upvotes
16 2 3 5

Hi everyone! I did the downgrade for the python eikon and the result was

but with the version eikon==1.1.2 the result was successfully.




erreikon.png (82.5 KiB)
icon clock
10 |1500

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

Upvotes
1 0 0 1

Hi @isanchez

I've the same error of yours:

2021-11-29 13:40:09,577 P[10680] [MainThread 14984] Error: no proxy address identified.
Check if Eikon Desktop or Eikon API Proxy is running.
2021-11-29 13:40:09,577 P[10680] [MainThread 14984] Error on handshake url http://127.0.0.1:None/api/handshake : TypeError("send() got an unexpected keyword argument 'timeout'")
2021-11-29 13:40:09,577 P[10680] [MainThread 14984] Error on handshake url http://127.0.0.1:None/api/handshake : TypeError("send() got an unexpected keyword argument 'timeout'")
2021-11-29 13:40:09,577 P[10680] [MainThread 14984] Port number was not identified, cannot send any request.

I tried to install eikon 1.1.2 from conda console but it didn'go.

I tried to search eikon version in conda console but i received this message

"
(base) C:\Users\Denis>pip search eikon
ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI's XMLRPC API is currently disabled due to unmanageable load a
nd will be deprecated in the near future. See https://status.python.org/ for mor
e information.

(base) C:\Users\Denis>

I have installed Python 3.8.8rc1

Can anybody help me please?

Thankyou very much.

icon clock
10 |1500

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

Click below to post an Idea Post Idea