import eikon as ek
ek.set_app_key('826xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
2020-05-13 08:26:48,497 P[208] [MainThread 140443013973888] Error on checking port 9000 : HTTPConnectionPool(host='localhost', port=9000): Max retries exceeded with url: /api/v1/data (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fbb4620c978>: Failed to establish a new connection: [Errno 111] Connection refused',)) 2020-05-13 08:26:48,499 P[208] [MainThread 140443013973888] Error on checking port 36036 : HTTPConnectionPool(host='localhost', port=36036): Max retries exceeded with url: /api/v1/data (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fbb4620cdd8>: Failed to establish a new connection: [Errno 111] Connection refused',)) 2020-05-13 08:26:48,503 P[208] [MainThread 140443013973888] Error on handshake port None : Failed to parse: localhost:None 2020-05-13 08:26:48,510 P[208] [MainThread 140443013973888] Error: no proxy address identified. Check if Eikon Desktop or Eikon API Proxy is running. 2020-05-13 08:26:48,511 P[208] [MainThread 140443013973888] Port number was not identified, cannot send any request 2020-05-13 08:26:48,512 P[208] [MainThread 140443013973888] Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.
---------------------------------------------------------------------------
EikonError Traceback (most recent call last)
<ipython-input-19-822979004c45> in <module>() 1 import eikon as ek 2 ----> 3 ek.set_app_key('826xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')
2 frames
/usr/local/lib/python3.6/dist-packages/eikon/Profile.py in check_profile(self) 369 # port number wasn't identified => raise EikonError exception 370 self.logger.error('Port number was not identified.\nCheck if Eikon Desktop or Eikon API Proxy is running.') --> 371 raise EikonError(-1, 'Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.') 372 373
EikonError: Error code -1 | Port number was not identified. Check if Eikon Desktop or Eikon API Proxy is running.