Read timed out Error

While retrieving data with ek.get_data() sometimes I get error:

ReadTimeout: HTTPConnectionPool(host='localhost', port=36036): Read timed out. (read timeout=60)

What is the best way to hadle it?

Best Answer

  • pf
    pf LSEG
    Answer ✓

    Hi,

    Some requests can spend more than 60 seconds to resolve by the platform and/or due to a low network bandwidth.

    You can increase the timeout with the function ek.set_timeout before calling ek.get_data()

Answers