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

No valid ethereum provider error when docker has not internet connectivity #702

Open
ghost opened this issue Aug 31, 2020 · 0 comments
Open
Labels
P2 mid priority

Comments

@ghost
Copy link

ghost commented Aug 31, 2020

Catch this error:

➜  ~ bash xud.sh
1) Simnet
2) Testnet
3) Mainnet
Please choose the network: 3
Pulling image exchangeunion/utils:20.08.29
πŸš€ Launching mainnet environment
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/launcher-1.0.0-py3.8.egg/launcher/__init__.py", line 260, in launch
    env = XudEnv(config, shell)
  File "/usr/local/lib/python3.8/site-packages/launcher-1.0.0-py3.8.egg/launcher/__init__.py", line 122, in __init__
    self.node_manager = NodeManager(config, shell)
  File "/usr/local/lib/python3.8/site-packages/launcher-1.0.0-py3.8.egg/launcher/node/__init__.py", line 121, in __init__
    self.nodes = {name: globals()[name.capitalize()](name, ctx) for name in self.config.nodes}
  File "/usr/local/lib/python3.8/site-packages/launcher-1.0.0-py3.8.egg/launcher/node/__init__.py", line 121, in <dictcomp>
    self.nodes = {name: globals()[name.capitalize()](name, ctx) for name in self.config.nodes}
  File "/usr/local/lib/python3.8/site-packages/launcher-1.0.0-py3.8.egg/launcher/node/geth.py", line 43, in __init__
    raise RuntimeError("No valid ethereum provider")
RuntimeError: No valid ethereum provider

...and display a nicer error message.

@kilrau kilrau added the P3 low priority label Aug 31, 2020
@kilrau kilrau added P2 mid priority and removed P3 low priority labels Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 mid priority
Projects
None yet
Development

No branches or pull requests

1 participant