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.

1 Answer

Upvotes
Accepted
56.1k 145 45 65

@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.