HTTP request response 503: Cant access Eikon data API through python official library

Hi,

I've been trying to reach support for this issue by phone and they ask me to upload a thread here. I'm behind a corporate proxy and unable to reach the eikon API through the python library, although I'm able to check the status of the API through a web browser or Postman. I've been following the https://developers.refinitiv.com/en/article-catalog/article/eikon-data-api-python-troubleshooting-refinitiv


Eikon Desktop is up and running with online data in the same machine that python and eikon library is installed. The proxy is configured in the machine with the HTTP_PROXY and HTTPS_PROXY environment variables. The logs showed the API running, here is a screenshot of it:


image


Using Postman to query http://127.0.0.1:9060/api/status works as expected, receiving a statusCode "ST_PROXY_READY" and the version (2.8.0), the same is obtained through a normal get with a browser.

Despite all that, Python lib does not work. I imagine it's due to some kind of configuration missing for the lib regarding the proxy/bypassing, here is a screenshot of the 503 error:


python-lib2.png


I wanted to upload more images but the thread only allows me to upload 2, hope that it's clear enough.

Thanks in advance

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @jcbozzetti

    It could be 159.220.54.3.

    C:\Users\U8009686>nslookup
    Default Server:  stcp-tenidns01vrrp.ten.thomsonreuters.com
    Address:  10.29.128.9


    > amers2.apps.cp.thomsonreuters.com
    Server:  stcp-tenidns01vrrp.ten.thomsonreuters.com
    Address:  10.29.128.9


    Non-authoritative answer:
    Name:    hdcp-erpcprp-sdk-sancert1-www.cp.thomsonreuters.com
    Address:  159.220.54.3
    Aliases:  amers2.apps.cp.thomsonreuters.com

    However, it is better to contact the Eikon support team to confirm it.

    From my finding, "getaddrinfo ENOTFOUND" may relate to the permission of your Eikon user.

    I have submitted a new case (10129377) under your name to the Eikon support team to verify the settings. The support team will contact you regarding this issue.


Answers