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

Upvote
Accepted
16 0 0 1

Problem using Eikon package

I got the following Exception :

2022-10-27 09:38:29,423 P[12616] [MainThread 23084] Error code 500 | Server Error: {"code":500,"message":"getaddrinfo EAI_AGAIN emea1.apps.cp.thomsonreuters.com:443","statusMessage":"Internal Server Error"} 2022-10-27 09:38:29,424 P[12616] [MainThread 23084] HTTP request failed: EikonError-Server Error: {"code":500,"message":"getaddrinfo EAI_AGAIN emea1.apps.cp.thomsonreuters.com:443","statusMessage":"Internal Server Error"}


when executing the following piece of code :

import eikon as ek

import configparser as cp

cfg = cp.ConfigParser()

cfg.read('eikon.cfg')

ek.set_app_key(cfg['eikon']['app_id'])

data = ek.get_timeseries('AAPL.O', # the RIC for Apple, Inc.

fields='*', # all fields

start_date='2021-01-01', # start date

end_date='2021-12-31') # end date


eikoneikon-data-apipythonconnection
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.

hi @ALQuant ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,
AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
78.8k 250 52 74

@ALQuant

Sorry about the issue that you are facing.

I checked this error (EAI_AGAIN) and found that it could relate to the DNS server, as shown here.

EAI_AGAIN is a DNS lookup timed out error, means it is a network connectivity error or proxy related error. 

You may need to contact your IT support team to verify if the DNS server works properly.

I hope that this information is of help


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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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