Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: All APIs are unreachable. #144

Open
AhrimanSefid opened this issue Mar 21, 2021 · 1 comment
Open

Error: All APIs are unreachable. #144

AhrimanSefid opened this issue Mar 21, 2021 · 1 comment

Comments

@AhrimanSefid
Copy link

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_RATEScurrency
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
Copy link

ghost commented Mar 31, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant