forex-python icon indicating copy to clipboard operation
forex-python copied to clipboard

forex_python.converter.RatesNotAvailableError: Currency Rates Source Not Ready

Open aPischel opened this issue 2 years ago • 26 comments

Receiving the error with v1.6 installed. Tried a request from the api website, https://theforexapi.com , as well as going there in a browser (Chrome) but received 502: Bad Gateway. Please let me know if there is something else I can try,

Thanks!

aPischel avatar Aug 27 '21 13:08 aPischel

Got the same error. Please give an ETA if possible. Thanks!

coding-by-sea avatar Aug 27 '21 13:08 coding-by-sea

https://theforexapi.com/ seems down. that is the api that is queried.

blaaaaaaa avatar Aug 27 '21 15:08 blaaaaaaa

Same issue here. Do you have an alternative?

F1x3rG avatar Aug 28 '21 14:08 F1x3rG

Experiencing the same issue as well

ate08 avatar Aug 28 '21 15:08 ate08

Just installed forex v1.6 and experiencing the same issue. Tried putting the rates request in a backoff block and let it run for some time, but still no luck. Using python v3.8.

tim-arney avatar Aug 31 '21 00:08 tim-arney

Same issue here. The first request succeeds. Subsequent ones fail. Is it related to having a paid service? I assumed theforexapi.com is free?

image

SocOrg avatar Aug 31 '21 14:08 SocOrg

same issue here

soocer134 avatar Sep 01 '21 22:09 soocer134

Hi Guys,Issue Was Fixed.Please Check Now.Still you are facing issue,please let us know

abhijeet-1110 avatar Sep 02 '21 06:09 abhijeet-1110

Just tried and getting an error. Same error as my earlier screen shot.

SocOrg avatar Sep 02 '21 07:09 SocOrg

Pull the latest code from the master branch and try it. PFA

Regards, B.Abhijit Reddy

On Thu, Sep 2, 2021 at 1:11 PM SocOrg @.***> wrote:

Just tried and getting an error. [image: image] https://user-images.githubusercontent.com/35916595/131802999-7f19584b-e8d7-47fa-a31a-772668468f1d.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MicroPyramid/forex-python/issues/100#issuecomment-911326165, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQOYZ3VB6YG2RLFIMDE75T3T74TEFANCNFSM5C5QC5MA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

abhijeet-1110 avatar Sep 02 '21 11:09 abhijeet-1110

Screenshot from 2021-09-02 16-48-36 (1)

abhijit111093 avatar Sep 02 '21 12:09 abhijit111093

Works great now, thanks!

SocOrg avatar Sep 02 '21 13:09 SocOrg

When is the new release containing this fix scheduled?

vnmabus avatar Sep 13 '21 08:09 vnmabus

Can confirm historic data loads with current master branch code.

alfonsrv avatar Oct 24 '21 12:10 alfonsrv

@alfonsrv yes, data is available from 1999-01-04

abhijeet-1110 avatar Oct 25 '21 05:10 abhijeet-1110

Looks to be working! Thanks!!!

aPischel avatar Oct 25 '21 11:10 aPischel

What I mean is, we need a new version on pypi as historical data only works with the current master branch.

alfonsrv avatar Oct 25 '21 12:10 alfonsrv

Can anyone publish a new PyPI release, please, @ashwin31?

vnmabus avatar Nov 25 '21 19:11 vnmabus

I am seeing this issue presently.

dholladay00 avatar Jan 21 '22 17:01 dholladay00

@dholladay00 can you check now?

ashwin31 avatar Jan 22 '22 08:01 ashwin31

@vnmabus new version released in December.

ashwin31 avatar Jan 22 '22 08:01 ashwin31

It appears to be working again, thanks @ashwin31

dholladay00 avatar Jan 22 '22 14:01 dholladay00

Hey, folks. Looks like this issue is back! Working w/ version 1.6 as the repo instructs. Can we look into this?

Maria-Fox avatar Jul 05 '22 18:07 Maria-Fox

Same issue, when i try to convert QAR, TWD to INR.

used forex-python 1.8

pcbzmani avatar Sep 21 '22 17:09 pcbzmani

Same issue as well. Every request results in an error RatesNotAvailableError("Currency Rates Source Not Ready")

johnathan-booy avatar Sep 22 '22 21:09 johnathan-booy

I am facing the same issue, downgraded to 1.6, still persists, 1.8 worked fine couple of weeks ago without problem. The API website is down, that probably is the issue.

image #121 This probably relates to the same problem, I think only solution is to wait until the source is fixed.

egemen1109 avatar Sep 23 '22 12:09 egemen1109

Ping ...

Same error, stopped working on Friday 23rd of September, 2022; any chance this is fixed at some point?

GLeonov avatar Sep 27 '22 08:09 GLeonov

when I run following code: from forex_python.converter import CurrencyRates \n c = CurrencyRates() \n c.convert('USD', 'EUR', 100) I get error: forex_python.converter.RatesNotAvailableError: Currency Rates Source Not Ready

kabdrau avatar Sep 29 '22 02:09 kabdrau

Also experiencing the same old error

tg295 avatar Sep 30 '22 10:09 tg295

from forex_python.converter import CurrencyRates

c = CurrencyRates() USDSEK = c.get_rate('USD', 'SEK')

Gives forex_python.converter.RatesNotAvailableError: Currency Rates Source Not Ready

Does not matter if the day is a weekday or not, tried both. And I'm on version 1.8 so should be no issue with that.

jsikst avatar Oct 01 '22 08:10 jsikst