Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running

Starting today (09/30) can no longer connect to the Eikon API Proxy.

Error looks like this:

2019-09-30 14:45:35,654 pyeikon INFO     Warning: file .portInUse was not found. Try to fallback to default port number.
2019-09-30 14:45:35,655 pyeikon INFO     Try defaulting to port 9000...
2019-09-30 14:45:37,663 pyeikon ERROR    Error on checking port 9000 : HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /api/v1/data (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001C5CB39FB70>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',))
2019-09-30 14:45:37,664 pyeikon INFO     Try defaulting to port 36036...
2019-09-30 14:45:39,690 pyeikon ERROR    Error on checking port 36036 : HTTPConnectionPool(host='localhost', port=36036): Max retries exceeded with url: /api/v1/data (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001C5CB3C3198>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',))
2019-09-30 14:45:39,691 pyeikon INFO     Try to handshake on url http://localhost:None/api/handshake...
2019-09-30 14:45:39,692 pyeikon ERROR    Error on handshake port None : Failed to parse: localhost:None
2019-09-30 14:45:39,692 pyeikon INFO     Set Proxy port number to None
2019-09-30 14:45:39,692 pyeikon ERROR    Port number was not identified.
Check if Eikon Desktop or Eikon API Proxy is running.


c:\Users\<user>\AppData\Roaming\Thomson Reuters\Eikon API Proxy\ is empy, no .portInUse file


Eikon terminal version 4.0.49

eikon lib version 1.0.1


In C:\ProgramData\Thomson Reuters\Eikon Data\Logs I don't see lines like 'listening to port=" at all, however, proxy worked somehow until today and I see a lot of lines containing "APIPROXY" before today, for example:

[2019-09-27 10:16:53.441|2B50|SD_KPROCFG    |2|INFO ][Batch#1] Uploading 1 CPAP setting(s), APIPROXY.THROTTLING.STORE

in the EikonStarter*.txt file.


Any help is highly appreciated, it's a blocker which happened over sudden. I already contacted the Eikon support (chat option), but was redirected here.

Sort by:
1 - 1 of 11

    It appears that the problem was in the corporate firewall or smth. like that.

    To reiterate:

    * eikon python api started throwing the "Warning: file .portInUse was not found. Try to fallback to default port number" error

    * http://localhost:9000/ping?all was not accessible, nothing listened 9000 port

    * after a fresh reinstall of the Eikon terminal:

    ** SxS.YYYYMMDD.hhmmssfff.pPID.txt log files were missing in the ..\Thomson Reuters\Eikon Data\Logs\TRD

    ** THOMSONREUTERS.EIKON.DESKTOPSXSSVC directory was missing in the ..\Thomson Reuters\EikonUser\Cache\LibraryCache\Apps

    * it appears that smth. prevented the THOMSONREUTERS.EIKON.DESKTOPSXSSVC app from downloading

    * once the issue above was pinpointed and addressed, the THOMSONREUTERS.EIKON.DESKTOPSXSSVC app installed and the proxy started on 9000 port


    Maybe this information will help someone running into the same problem.

    Please consider adding a check for the THOMSONREUTERS.EIKON.DESKTOPSXSSVC to the troubleshooting guide https://developers.refinitiv.com/article/eikon-data-apipython-troubleshooting-refinitiv .