Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
1 2 2 3

Eikon API python keeps repeating the following message: "Init a Desktop session with new app_key" I have set the app key couple of times but this error doesn't seem to go away

Hi, My eikon, when using following python code: import logging.config import eikon as ek ek.set_log_level(logging.DEBUG) ek.set_app_key('3a0543d5fdca4325ab12c1ecd5c8ae2a0d439e12') -------------------------------------------------------------------- Gives me following error and I reset my app keys still it asks me register a new app key. This is the log of the error-- please see the last line at end of the log. 2024-06-09 18:05:41,985 P[3484] [MainThread 8231484096] Reset a Desktop session with new app_key 2024-06-09 18:05:41,996 P[3484] [MainThread 8231484096] Unlock login_event for streaming session 0 due to stop streaming call 2024-06-09 18:05:42,003 P[3484] [MainThread 8231484096] Send GET request to http://127.0.0.1:9000/api/status to detect API Proxy... 2024-06-09 18:05:42,004 P[3484] [MainThread 8231484096] Request to http://127.0.0.1:9000/api/status headers = {'x-tr-applicationid': '3a0543d5fdca4325ab12c1ecd5c8ae2a0d439e12', 'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBcGlWZXJzaW9uIjoiMSIsIkFwcEtleSI6IjNhMDU0M2Q1ZmRjYTQzMjVhYjEyYzFlY2Q1YzhhZTJhMGQ0MzllMTIiLCJBcHBTY29wZSI6InRyYXBpIiwiTGlicmFyeU5hbWUiOiJSRFAgUHl0aG9uIExpYnJhcnkiLCJMaWJyYXJ5VmVyc2lvbiI6IjEuMS4xOCIsImlhdCI6MTcxNzk4MDQ1OSwiZXhwIjoxNzE5MTkwMDU5fQ.7_UR8AUSUU2bB_m6TsPMiDeHA5E8RQeLqmqaSEzA_aw'} params = None 2024-06-09 18:05:42,042 P[3484] [MainThread 8231484096] Checking proxy url h

eikon-data-api#technologyapp-key
icon clock
10 |1500

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

@rsharan

Please use the ek.set_log_level(1) code and then share the pyeikon.xxx.log file

Hi @rsharan ,

Could you please provide an information required for further information.

Thanks,
AHS

0 Answers