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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 1 0

EIKON API PROXY NOT RUNNING

Already checked that everything (Jupyter notebook, eikon) the latest version, Opened EIKON when running the code in notebook, eikon packege installed and running, just couldn't use ek.set_app_key('xxxxmy key here')

used a ps1 file found on this website to get the current results, no idea how to fix the problem


More details:

I've tried using this website for troubleshotting

https://developers.refinitiv.com/en/article-catalog/article/eikon-data-api-python-troubleshooting-refinitiv

I used what's in this, in step 4 it's SUPPOSED to be like

image.png

image.png

While my file looks like

image.png

Still not a clue

also I used eikon.get_port_number()

and it outputs 9060

don't know if that helps



eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
1601101868365.png (36.5 KiB)
1601101892160.png (54.9 KiB)
icon clock
10 |1500

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

Upvotes
Accepted
4.3k 2 4 5

Hi,

To check if Eikon API Proxy is really running, open http://localhost:9000/api/status

If you have following response :

{"statusCode":"ST_PROXY_READY","version":"2.6.3"}

That means that python script failed for other reason (like this thread)


icon clock
10 |1500

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

Upvotes
3 0 1 0

@pierre.faurel

Hi! Thanks. Right now I'm able to set key and I will just list what I did here in case anybody wants to know.

Just like what I mentioned in the question, the .portInUse file was not found. I manually created \AppData\Local\Thomson Reuters\Eikon API Proxy\.portInUse (a notepad text file) with 9000 as its content, but it's still not working.

I used this website again

https://developers.refinitiv.com/en/article-catalog/article/eikon-data-api-python-troubleshooting-refinitiv

and by looking at the s x s log file I found out that the actual port EIKON is using is port 9060.

After that I'm able to set key.

So I changed the text file from 9000 to 9060.

http://localhost:9060/api/status gives me the following output. While I still have no idea that means, I'm finally able to use set_app_key()...

{"statusCode":"ST_PROXY_READY","version":"2.6.0"}

Thank god it's resolved.

icon clock
10 |1500

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

Click below to post an Idea Post Idea