We are experiencing the issue on Eikon API after restarting PC.
Version: Desktop 4.0.56
>>> import eikon as ek >>> print(ek.__version__) 1.1.14
http://localhost:9000/api/status Cannot GET /api/status http://localhost:9000/api/data/v1 Cannot GET /api/data/v1 http://localhost:9000/ping?all {"port":9000,"mode":"eikon4","pid":11644,"hasSecure":true,"startedTime":"Fri Feb 11 2022 12:13:42 GMT+0100 (Paris, Madrid)","subApps":[{"path":"/heap"},{"path":"/ping"},{"path":"/sxs","data":{"hasSecure":true,"sxsApps":{}}},{"path":"/sxs/v1/services/messenger"}]} http://127.0.0.1:9000/api/handshake. Cannot GET /api/handshake. >>> import eikon as ek >>> ek.set_log_level(1) >>> ek.set_app_key('apikey') 2022-02-11 13:08:56,465 P[13028] [MainThread 7332] Reset a Desktop session with new app_key 2022-02-11 13:08:56,465 P[13028] [MainThread 7332] Unlock login_event for streaming session 0 due to stop streaming call 2022-02-11 13:08:56,480 P[13028] [MainThread 7332] Send GET request to http://127.0.0.1:9000/api/status to detect API Proxy... 2022-02-11 13:08:56,480 P[13028] [MainThread 7332] Request to http://127.0.0.1:9000/api/status headers = {'x-tr-applicationid': 'apikey'} params = None 2022-02-11 13:08:56,496 P[13028] [MainThread 7332] HTTP request response 404: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Error</title> </head> <body> <pre>Cannot GET /api/status</pre> </body> </html> 2022-02-11 13:08:56,496 P[13028] [MainThread 7332] Checking proxy url http://127.0.0.1:9000/api/status response : 404 - <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Error</title> </head> <body> <pre>Cannot GET /api/status</pre> </body> </html> 2022-02-11 13:08:56,512 P[13028] [MainThread 7332] Port 9000 was retrieved from .portInUse file 2022-02-11 13:08:56,512 P[13028] [MainThread 7332] Try to handshake on url http://127.0.0.1:9000/api/handshake... 2022-02-11 13:08:56,512 P[13028] [MainThread 7332] Request to http://127.0.0.1:9000/api/handshake headers = {'Content-Type': 'application/json', 'x-tr-applicationid': 'apikey'} params = None 2022-02-11 13:08:56,512 P[13028] [MainThread 7332] HTTP request response 404: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Error</title> </head> <body> <pre>Cannot POST /api/handshake</pre> </body> </html> 2022-02-11 13:08:56,512 P[13028] [MainThread 7332] Response : 404 - <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Error</title> </head> <body> <pre>Cannot POST /api/handshake</pre> </body> </html> 2022-02-11 13:08:56,512 P[13028] [MainThread 7332] Response 404 on handshake url http://127.0.0.1:9000/api/handshake : <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Error</title> </head> <body> <pre>Cannot POST /api/handshake</pre> </body> </html> 2022-02-11 13:08:56,512 P[13028] [MainThread 7332] Application ID: apikey 2022-02-11 13:08:56,512 P[13028] [MainThread 7332] Init a Desktop session with new app_key >>>
Can somebody help to identify and resolve API connection issues ?
Thank you.