Hi I have been following the troubleshooting docs for the Eikon API, but it is not clear to me what I should do to rectify issues when they don’t match.
I am on desktop version 4.0.52 using eikon api version 1.1.7.
When I run Eikon API I am getting the following error message:
ERROR - [pyeikon|log|376] - 10/19/2020 11:31:30 AM - Error: no proxy address identified.
Check if Eikon Desktop or Eikon API Proxy is running.
ERROR - [pyeikon|log|376] - 10/19/2020 11:31:30 AM - Port number was not identified, cannot send any request
ERROR - [pyeikon|check_profile|353] - 10/19/2020 11:31:30 AM - Port number was not identified.
Check if Eikon Desktop or Eikon API Proxy is running.
---------------------------------------------------------------------------
EikonError Traceback (most recent call last)
<ipython-input-17-fe8dd09feae5> in <module>
1 import eikon as ek
2
----> 3 ek.set_app_key('xxxxxx')
4
/usr/local/Miniconda3-py37_4.8.2-Linux-x86_64/envs/jupyter-apf/lib/python3.6/site-packages/eikon/Profile.py in set_app_key(app_key)
31 You can get an app key using the App Key Generator (this App is available in Eikon Desktop).
32 """
---> 33get_profile().set_app_key(app_key)
34
35
/usr/local/Miniconda3-py37_4.8.2-Linux-x86_64/envs/jupyter-apf/lib/python3.6/site-packages/eikon/Profile.py in set_app_key(self, app_key)
229 self.logger = self._desktop_session.logger()
230 self.logger.debug('Init a Desktop session with new app_key')
--> 231self.check_profile()
232
233def set_on_state_callback(self, on_state):
/usr/local/Miniconda3-py37_4.8.2-Linux-x86_64/envs/jupyter-apf/lib/python3.6/site-packages/eikon/Profile.py in check_profile(self)
352# port number wasn't identified => raise EikonError exception
353 self.logger.error('Port number was not identified.\nCheck if Eikon Desktop or Eikon API Proxy is running.')
--> 354raise EikonError(-1, 'Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.')
EikonError: Error code -1 | Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.
The configuration is fine, and the listening to port file is set to 9000.
Issues vs troubleshooting doc:
- When I browse into sub-folder TRD, the most recent folder only has file EikonDM.20201019.123400816.p27824.txt
- The second most recent folder has a "SxS.<datetime>.p<process-id>.txt" file. But this ends:
[2020-10-19 07:32:13.879|1|api-svc|1|INFO] Start server...
[2020-10-19 07:32:13.952|1|api-svc|2|DEBUG] onStarted: 9000
[2020-10-19 07:32:13.954|1|api-svc|1|INFO] Listening to port=9000
[2020-10-19 07:32:13.958|1|data-api|1|INFO] API Proxy is available on port 9060. Start redirecting /api/* requests
[2020-10-19 07:32:18.061|1|api-svc|0|WARN] Error: messenger not found.
[2020-10-19 07:32:18.068|1|sxs-api|3|DEBUG] [ws] Create endpoint=/sxs/v1/services/messenger
- When I run http://localhost:9000/ping?all I get:
{"port":9000,"mode":"eikon4","pid":4692,"hasSecure":true,"startedTime":"Mon Oct 19 2020 08:32:13 GMT+0100 (GMT Daylight Time)","subApps":[{"path":"/heap"},{"path":"/ping"},{"path":"/sxs","data":{"hasSecure":true,"sxsApps":{}}},{"path":"/api"},{"path":"/sxs/v1/services/messenger"}]}