eikon.eikonError.EikonError: Error code 500 | Server Error: {"code":500,"message":"connect ETIMEDOUT

I was trying to run eikon API, but an error showed


eikon.eikonError.EikonError: Error code 500 | Server Error: {"code":500,"message":"connect ETIMEDOUT 159.220.1.19:443","statusMessage":"Internal Server Error"}


Could you help me solve it? please feel free to forward if this is not the right channel

Many thanks in advance,

Ray

Best Answer

  • Hello @rayr.hou,

    The timeout on connection, manifesting as error 500, can be happening for more then one reason. I would categorize the origins of these errors into three main families:

    1. Hindered connectivity can be an issue. If you are establishing connection from behind your organization's firewall this would likely be the case. The persons to confirm this would be network admin/group. Please find more in this previous discussion thread .

    2. Refinitiv workspace/Eikon Proxy is part of your Eikon/Refinitiv Workspace installation, it runs automatically and responsible for establishing your connectivity to endpoints. Any issue accessing it successfully will prevent you from running API. Please find the detailed guidance on how to verify and troubleshoot this aspect in Eikon API Troubleshooting article.

    3. Several important bug fixes have been applied in the past to Eikon API, eliminating issues, and also some common-use python module versions are not recommended to use together. This is less likely in your case, as you have just installed afresh. Nevertheless, having eliminated the previous causes, would suggest this previous discussion thread for how to verify these types of issues.

    Hope this helps

Answers

  • Hello @rayr.hou,

    The timeout on connection can be happening for more then one reason. In order to narrow down the likely causes, it would be helpful to know:

    • If the timeout is consistent, it keeps happening; or is intermittent, once, or for a limited period of time?
    • Have you been connecting successfully before, or just getting started?
    • If you have been connecting before this time, be helpful to know what was updated, upgraded or has possibly changed?
  • Hi Zoya,

    I just get started and this error happens every time. fyi, I am using python 3.8