Page 1 of 1

EIA API

Posted: Tue Feb 15, 2022 7:49 am
by amrsherif
Hello,

I am having trouble with EIA's database again (please see the below snapshots). It seems like they've made changes, but i cannot be sure. Any idea what is going on?

I am using EVIews 12 Feb 1 2022 edition

Thanks

Re: EIA API

Posted: Tue Feb 15, 2022 12:56 pm
by dman
Same issue, Eviews 11.
It would seem that the EIA has disabled HTTP access and now requires HTTPS connections only.

https://www.eia.gov/opendata/register.php
Notice: As of February 11th, 2022: The API now only respond to HTTPS. Insecure (HTTP) web protocols are no longer supported.

Re: EIA API

Posted: Tue Feb 15, 2022 4:06 pm
by EViews Gareth
EViews 12 patch addressing this has been released.

Re: EIA API

Posted: Tue Feb 15, 2022 5:32 pm
by amrsherif
I just downloaded the patch. I now get he following error message:

"The request was aborted: Could not create SSL/TLS secure channel."
"Database Error: EIA library error: unable to fetch series from server."

Re: EIA API

Posted: Wed Feb 16, 2022 9:22 am
by EViews Katerina
Please email to support@eviews.com with the issue for (EIA error : SSL/TLS secure channel) and we can contact you directly.

Re: EIA API

Posted: Wed Feb 16, 2022 12:35 pm
by amrsherif
Done. Thanks

Re: EIA API

Posted: Fri Feb 18, 2022 10:21 am
by amrsherif
Just downloaded another patch, and it now works on EViews 12. Thank you

Re: EIA API

Posted: Thu Nov 03, 2022 9:00 am
by dman
EIA API having issues for the second day in a row for me.

I'm getting like 5% of requests processed normally, the rest return "unexpected reply from server" errors. Simply opening the database and hitting 'browse' results in the same error.

Any help would appreciated.

I'm on Eviews 12, October 17th build
Thanks!

P.S. could be related to this message that shows up in their online V1 API:
"EIA will discontinue support for its legacy API (APIv1) in November, 2022"

Re: EIA API

Posted: Tue Nov 08, 2022 9:31 am
by EViews Katerina
We have noticed the instability of getting reply from EIA API as well. We are not sure if it is related to their work on the v2 API. The v1 API will be deprecated (which means no further support) but it should continue to work.
We are working on adding the EIA v2 API in EViews and we will let you know as soon as we release it.
Note that the new version of EIA API does not support the existing series ID. When v2 API is available all fetch commands will have to use new ids.