ofek / bit

Bitcoin made easy.
https://ofek.dev/bit/
MIT License
1.25k stars 219 forks source link

Error: All APIs are unreachable. #144

Open AhrimanSefid opened 3 years ago

AhrimanSefid commented 3 years ago

Hi All. Error:

File "C:\Program Files\Python39\lib\site-packages\bit\wallet.py", line 227, in get_balance return self.balance_as(currency) File "C:\Program Files\Python39\lib\site-packages\bit\wallet.py", line 215, in balance_as return satoshi_to_currency_cached(self.balance, currency) File "C:\Program Files\Python39\lib\site-packages\bit\network\rates.py", line 674, in satoshi_to_currency_cached Decimal(num / Decimal(currency_to_satoshi_cached(1, currency))) File "C:\Program Files\Python39\lib\site-packages\bit\network\rates.py", line 642, in currency_to_satoshi_cached return currency_to_satoshi_local_cached(amount, currency) File "C:\Program Files\Python39\lib\site-packages\bit\network\rates.py", line 618, in wrapper cached_rate.satoshis = EXCHANGE_RATES[currency]() File "C:\Program Files\Python39\lib\site-packages\bit\network\rates.py", line 332, in usd_to_satoshi raise ConnectionError('All APIs are unreachable.') ConnectionError: All APIs are unreachable.

ghost commented 3 years ago

Are you still getting this? Is it only the conversion APIs?