Error code -1 | Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is runn...

...ing.

Hi,

Appreciate that there have been multiple queries on this issue, yet it appears every issue has its unique root. I've attempted to use Eikon API after setting up the app key, but it returned this error: "Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running."

.Portinuse file within AppData\Roaming\Refinitiv\Data API Proxy correctly states port 9060.

I suspect this might be related to the backlog in new Eikon accounts / receiving a full access (haven't received a welcome email, while Eikon desktop is running well). Please may you kindly see if access to Eikon API could be established for my account?

Thank you.



Best Answer

  • jason.ramchandani01
    Answer ✓

    @jihoon.park what version of httpx package are you running? Please drop back to 0.19.2 and try again.

    pip install httpx==0.19.2

    Let us know how you get on. I take it you have already generated an appkey correctly etc. Also which package are you using - I recommend you use :

    pip install refinitiv.dataplatform

    then you can use both Eikon Data API and RDP services:

    import refintiv.dataplatform.eikon as ek
    #import refinitiv.dataplatform as rdp

    ek.set_app_key('YOUR APP KEY HERE')
    #session = rdp.open_desktop_session('YOUR APP KEY HERE')

    I hope this can help.

Answers