Error code -1 | Port number was not identified. eikon lib error.

sorry I can't write English.


sample code:


import eikon as ek ek.set_app_key('cxxxxx') 

eikon.eikonError.EikonError: Error code -1 | Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.

----------------------------------

http://localhost:9000/ping?all

{"port":9000,"mode":"eikon4","pid":5352,"hasSecure":true,"startedTime":"Thu Oct 08 2020 00:46:08 GMT+0900 (대한민국 표준시)","subApps":[{"path":"/heap"},{"path":"/ping"},{"path":"/sxs","data":{"hasSecure":true,"sxsApps":{}}},{"path":"/api"},{"path":"/sxs/v1/services/messenger"}]}


checkeikondataapi.ps1

output.txt


OS : window 10
Python version : 3.8.6 32bit

IDE : Pycharm

eikin lib version : 1.1.6.post3,
httpx version : 0.15.5




Eikon Desktop Info
eikon-desktop-info.txt


test ---
eikon lib version

1.1.2 work.

1.1.4 not work. Port number was not identified

1.1.5 not work. Port number was not identified

1.1.6 not work. Port number was not identified



thank you.

Best Answer

  • Hanwha-total1
    Hanwha-total1 Newcomer
    Answer ✓

    Thank you.. it's work.
    eikon lib version : 1.1.6.post3
    nest-asyncio lib version : 1.3.3


    Thank you.

Answers