Python API Error on handshake port 9000

After EIKON App update earlier this week I can no longer use the python API. In particular, the error I get is:

Error on handshake port 9000 : ReadTimeout(ReadTimeout())

The app and Excel addon are working fine. I tried restarting the app and the PC but no luck. I also run the Powershell script (CheckEikonDataAPI14.ps1) provided in answers to similar questions. The output is attached. Hope someone will be able to help resolve the problem

installed versions:

Eikon Desktop: 4.0.52005

python libraries:

eikon: 1.1.2

http3: 0.6.7

nest-asynco : 1.0.0

Best Answer

  • pf
    pf LSEG
    Answer ✓

    Do you have similar logs ?

    [2020-10-16 08:51:08.341|1|api-svc|1|INFO] Listening to port=9060
    ...
    [2020-10-16 12:30:46.598|1|data-api|1|INFO] [LogRequestDetailMiddleware][Request #73f907d4-f729-4c55-811c-009a75643609] New incoming GET request
    [2020-10-16 12:30:46.605|1|data-api|3|DEBUG] [LogRequestDetailMiddleware][Request #73f907d4-f729-4c55-811c-009a75643609] URL: http://127.0.0.1:9060/api/status
    [2020-10-16 12:30:46.611|1|data-api|3|DEBUG] [LogRequestDetailMiddleware][Request #73f907d4-f729-4c55-811c-009a75643609] Headers: {"host":"127.0.0.1:9060","user-agent":"python-httpx/0.14.3","accept":"*/*","accept-encoding":"gzip, deflate","connection":"keep-alive","x-tr-applicationid":"xxxxxxxxxxxxxxxxxxxx"}
    ...
    [2020-10-16 12:30:46.671|1|data-api|1|INFO] [LogRequestDetailMiddleware][Request #4caacf9b-7fdd-49cc-b5e5-83c78ff41a33] New incoming POST request
    [2020-10-16 12:30:46.679|1|data-api|3|DEBUG] [LogRequestDetailMiddleware][Request #4caacf9b-7fdd-49cc-b5e5-83c78ff41a33] URL: http://127.0.0.1:9060/api/handshake
    [2020-10-16 12:30:46.687|1|data-api|3|DEBUG] [LogRequestDetailMiddleware][Request #4caacf9b-7fdd-49cc-b5e5-83c78ff41a33] Headers: {"host":"127.0.0.1:9060","user-agent":"python-httpx/0.14.3","accept":"*/*","accept-encoding":"gzip, deflate","connection":"keep-alive","content-type":"application/json","x-tr-applicationid":"xxxxxxxxxxxxxxxxxxxx","content-length":"161"}
    ...
    [2020-10-16 12:30:46.780|1|data-api|3|DEBUG] Sending usage tracking payload {"Target":"/UsageTracking","RequestType":"send","Method":"EventRawData","MethodParam":{"EventName":"RequestReceived","EventProperties":"{\"AppKey\":\"1fdf06af15764dc79e27fa4760bb77464642e8f8\",\"EndPoint\":\"SymbologySearch\",\"API\":\"Eikon Data APIs\"}","ProjectToken":"881d83de3bf9490988d03e2250149e5a"}} on EikonBus channel /UsageTracking
    [2020-10-16 12:30:47.865|1|api-svc|3|DEBUG] Request -> https://amers1.apps.cp.thomsonreuters.com/Apps/UDF/MSF has a response with status code: 200

    Check especially how API Proxy manages each request (search "New incoming POST request").

Answers