Successfully installed Eikon Data API on my windows. But failed in taking my App ID.
My Eikon application is running. Not sure why it's causing the error.
ERROR:pyeikon:Error on checking port 9000 : HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /api/v1/data (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f532b2b1ba8>: Failed to establish a new connection: [Errno 111] Connection refused',)) ERROR:pyeikon:Error on checking port 36036 : HTTPConnectionPool(host='localhost', port=36036): Max retries exceeded with url: /api/v1/data (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f532b2d14e0>: Failed to establish a new connection: [Errno 111] Connection refused',)) ERROR:pyeikon:Error: no proxy address identified. Check if Eikon Desktop or Eikon API Proxy is running.
First I suggest you restart Eikon.
If the problem persists see if Eikon created file named .portInUse in %appdata%\Thomson Reuters\Eikon API Proxy\
If the file exists open it with a text editor and see what port number is written into this file.
It would also be helpful to know the version of Eikon you're running. You can check it by going to the main Eikon menu and selecting Help - About Thomson Reuters Eikon. The version number we're looking for appears at the top of the dialog box after the word "Desktop", e.g. I have Desktop 4.0.43 (4.0.43157).
Let's try this first and then I may suggest further troubleshooting if required.
Hi @Alex Putkov.,
Thanks for your quick reply! It seems that the issue still exists after restarting the app. The port number in the file is 9000. And my version is Desktop 4.0.42(4.0.42144).
How should I further troubleshoot? Could I reach someone to remote into my desktop?
Thanks for providing the info. There's a couple more things I'd like to ask you to do.
First is to confirm that you're running your Python scripts on the same machine where Eikon is running. Then could you run "netstat -anb" as Administrator from the Command Prompt to verify all listening TCP ports? In the output I'm looking to see
TCP 127.0.0.1:9000 0.0.0.0:0 LISTENING
which signifies that port 9000 on the localhost is owned by Eikonbox.exe process.
Finally could you create and check the following log file?
Set Trace Level of Thomson Reuters Desktop to Debug via the Logs tab in All Programs - Thomson Reuters - Configuration Manager.
Then shut down Eikon. Check that all Eikon*.exe processes terminated before starting Eikon again. After that please share your SxS log (SxS.<datetime>.<pid>.txt) which is in Eikon Logs path (%ProgramData%\Thomson Reuters\Eikon Data\Logs\TRD\Eikon.<datetime>.<pid>).
If it starts properly, you should see:
[2018-02-27 03:30:40.423|prod] (sxs-proxy) SxS Proxy init OK [2018-02-27 03:30:40.425|prod] (app) Start server... [2018-02-27 03:30:40.443|dev] (app) onStarted: 9000 [2018-02-27 03:30:40.462|prod] (app) Write port file. [2018-02-27 03:30:40.466|prod] (app) API Proxy is listening to port: 9000