I have the following error when trying to access Eikon API using Python.
Error on handshake port 9060 : TimeoutException("TimeoutException on HTTP request: ReadTimeout('')")
My Python packages and applications related to Eikon are as follows.
- python 3.9.1
- eikon 1.1.8
- Eikon Desktop 4.0.52055
- Eikon API Proxy 18.104.22.168
Also, setting environment variables are as follows because of using proxy server for the internet connection.
- HTTP_PROXY = http://username:password@proxyhost:port
- HTTPS_PROXY = http://username:password@proxyhost:port
- NO_PROXY = localhost,127.0.0.1
Can you help me?
Thank you for the information. All data retrieval from Eikon platform using Eikon Data APIs is via HTTPS port 443, hence I don't think the fact that you cannot telnet to apac1.apps.cp.thomsonreuters.com on port 80 is a concern for the issue you experienced.
For further investigation, could you please increase the logging level in Eikon Data APIs library for Python as follows before calling set_app_key method, and include the full output?
And could you also try retrieving some data, e.g.
Hi @daichi.yuasa.b Please could you tell me what library versions of the following you are running httpx, nest-asyncio? This thread maybe able to assist you as it deals with a number of possible solutions. For a start I would start with Python 3.8x. But let me know how you get on. I hope this can help.
@daichi.yuasa.b Your httpx and nest-asyncio libs are correct. Also please can you confirm with your IT team that you have opened firewall access for the following (not sure which region you are in so I put all regions):
I have seen many issues where firewalls have been updated - so please do check that and confirm please.