Error on checking port 9001?

I am getting the following error (I have restarted my machine multiple times):

ek.set_app_key("*****")

2020-11-30 20:00:49,241 P[10012] [MainThread 15136] Error on checking port 9001 : HTTPConnectionPool(host='localhost', port=9001): Read timed out.


2020-11-30 20:01:06,350 P[10012] [MainThread 15136] Error code 404 | Client Error: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 404 NOT_FOUND</title> </head> <body><h2>HTTP ERROR 404</h2> <p>Problem accessing /api/v1/data. Reason: <pre>    NOT_FOUND</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                <br/>                                                 </body> </html>




Best Answer

  • Which version of Eikon Data APIs library for Python are you using? Try updating it to the latest version, which is currently v1.1.8. I'm thinking that perhaps you have an older version of Eikon Data APIs library for Python, which picks the port number for Eikon API Proxy from Thomson Reuters branded location of .portInUse file, whereas latest versions of Eikon write the port number into Refinitiv branded location: %APPDATA%\Refinitiv\Data API Proxy\.portInUse