Hi, good morning, I'm trying to run a refinitiv api from jupyter notebook and I'm getting connection errors.
Important: I am doing this with the refinitiv desktop application open.
Below I show the code:
import eikon as ek ek.set_log_level(1) ek.set_app_key('********************')
So far I'm not sure if it worked correctly. Please, if someone can confirm for me, I would appreciate it.
df,e = ek.get_data(['LSEG.L'], ['TR.RIC']) print(df)
Additionally, based on the answer to this forum question: https://community.developers.refinitiv.com/questions/91124/shown-up-eikonerror-error-code-401-eikon-proxy-not.html
I went to troubleshoot the troubleshoot and ran the following tests: https://developers.refinitiv.com/en/article-catalog/article/eikon-data-api-python-troubleshooting-refinitiv
6. Open http://localhost:9000/ping?all on a web browser.
{"port":9000,"mode":"eikon4","pid":****,"hasSecure":true,"startedTime":"Mon Aug 14 2023 12:51:16 GMT-0300 (Hora estándar de Argentina)","subApps":[{"path":"/heap"},{"path":"/ping"},{"path":"/sxs","data":{"hasSecure":true,"sxsApps":{}}},{"path":"/api"},{"path":"/sxs/v1/services/messenger"}]}
7. Open http://localhost:9060/api/status on a web browser.
{"statusCode":"ST_PROXY_READY","version":"3.5.4-eikon4"}
both seem to be correct.
But when I try the following:
1.2.3) Verify that Refinitiv Workspace and Data API Proxy service are running properly:
(http://localhost:9060/api/ or http://localhost:9000/api/)
{"code":500,"message":"Cannot find module \".\"","statusMessage":"Internal Server Error"}
And the truth is that I don't know what else to do. I don't know if it's a configuration problem, something from a firewall that is blocking it or a proxy (which are already issues in which I have no knowledge).
Please, if anyone has any idea where to go I would appreciate it.
Thank you!!