For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 1

API Error Python : Port number was not identified, cannot send any request

eikon.JPG

Hello, i am trying to set up the API eikon on Python (i am using Jupyter) but after looking all similar threads in this forum, it is impossible to find a solution. I have already my key, my desktop app is running and still, when i try to set the key on Python, it returns me an error :

2022-08-18 13:12:27,643 P[1477] [MainThread 140560821065536] Error: no proxy address identified.
Check if Eikon Desktop or Eikon API Proxy is running.
2022-08-18 13:12:27,647 P[1477] [MainThread 140560821065536] Error on handshake url http://127.0.0.1:None/api/handshake : UnsupportedProtocol("Request URL is missing an 'http://' or 'https://' protocol.")
2022-08-18 13:12:27,648 P[1477] [MainThread 140560821065536] Error on handshake url http://127.0.0.1:None/api/handshake : UnsupportedProtocol("Request URL is missing an 'http://' or 'https://' protocol.")
2022-08-18 13:12:27,648 P[1477] [MainThread 140560821065536] Port number was not identified, cannot send any request

Could you help me ?


Thanks for your time.

pythonerrorapp-keyport-number
eikon.jpg (69.3 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
1k 3 2 4

Hi @constansa ,

We need more information to understand the root cause.
You can investigate in following directions:

  1. Did you check steps in Eikon Data API(Python) Troubleshooting ?
  2. As no Eikon proxy address was identified by Python script, it could come from Eikon API Proxy.
    You can activate debug logs in Eikon (with Configuration Manager) and check in <logs folder>\TRD\Eikon.yymmdd.hhmmss.pid\APIProxy.yyyymmdd.hhmmss.pid.txt log file.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1 0 1 1

Hi @pf,

Thank you very much for your anwser !

1 - Yes i have already checked this and done the steps. There is a first problem here. At step 4, in the SxS file, i don't have this lot of text as in the screenshot. I just have something like this :

start node

Arg: c:\Program Files (x86)\Thomson Reuters\Eikon\Z\Bin\Eikonbox.exe C:\Users\alcaraz\AppData\Local\Thomson Reuters\Eikon User\Cache\LibraryCache\Apps\THOMSONREUTERS.EIKON.DESKTOPSXSSVC\1.1.0.100\index.js -TraceLevel=-1

So i can't check APIPROXY created and the port number. I checked in other txt files and i can't find them. Maybe it doesnt create the right text file, hence, it cant find the proxy ?


2 - In this txt file same problem :

start node

Arg: c:\Program Files (x86)\Thomson Reuters\Eikon\Z\Bin\Eikonbox.exe C:\Users\alcaraz\AppData\Local\Thomson Reuters\Eikon User\Cache\LibraryCache\Apps\REFINITIVHOLDINGS.EIKON.DATAAPIPROXY\1.5.2.4\index.js -TraceLevel=-1

I can't find the logs .. i think it comes from that .. but i have no knowledge enough to understand how to fix it ..


Thank you for your time


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@constansa

In my log file, the TraceLevel is 4.

Arg: C:\Program Files (x86)\Thomson Reuters\Eikon\Z\Bin\Eikonbox.exe C:\Users\U8009686\AppData\Local\Thomson Reuters\Eikon User\Cache\LibraryCache\Apps\THOMSONREUTERS.EIKON.DESKTOPSXSSVC\1.1.0.101\index.js -TraceLevel=4 

Please make sure that the TraceLevel is 4 in Refinitiv Eikon - Configuration Manager. After configuring, you need to restart all Eikon processes.

1661508081892.png

1661508081892.png (266.6 KiB)

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.