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

AssertionError: assert 'error' not in response #92

Open
mikeshultz opened this issue Dec 4, 2020 · 0 comments
Open

AssertionError: assert 'error' not in response #92

mikeshultz opened this issue Dec 4, 2020 · 0 comments
Labels
bug Something isn't working console-module

Comments

@mikeshultz
Copy link
Owner

mikeshultz commented Dec 4, 2020

Seen when trying to connect to a turbogeth rpcdaemon:

Traceback (most recent call last):
  File "/home/mike/.venvs/solidbyte-env/bin/sb", line 11, in <module>
    load_entry_point('solidbyte==1.0.2', 'console_scripts', 'sb')()
  File "/home/mike/.venvs/solidbyte-env/lib/python3.8/site-packages/solidbyte-1.0.2-py3.8.egg/solidbyte/cli/handler.py", line 86, in main
    IMPORTED_MODULES[args.command].main(parser_args=args)
  File "/home/mike/.venvs/solidbyte-env/lib/python3.8/site-packages/solidbyte-1.0.2-py3.8.egg/solidbyte/cli/console.py", line 22, in main
    shell = SolidbyteConsole(network_name=network_name)
  File "/home/mike/.venvs/solidbyte-env/lib/python3.8/site-packages/solidbyte-1.0.2-py3.8.egg/solidbyte/console/__init__.py", line 37, in __init__
    self.web3 = web3c.get_web3(network_name)
  File "/home/mike/.venvs/solidbyte-env/lib/python3.8/site-packages/solidbyte-1.0.2-py3.8.egg/solidbyte/common/web3/connection.py", line 147, in get_web3
    success = provider.isConnected()
  File "/home/mike/.venvs/solidbyte-env/lib/python3.8/site-packages/web3/providers/base.py", line 82, in isConnected
    assert 'error' not in response
AssertionError

networks.yml entry:

archival:
  type: http
  url: http://archival.mikes.network:8545

Command:

sb console archival

Seen on the tg node:

WARN [12-03|21:37:44.667] Served                                   conn=12.23.56.78:57518 method=web3_clientVersion      reqid=0  t="16.448µs"  err="the method web3_clientVersion does not exist/is not available"
@mikeshultz mikeshultz added bug Something isn't working console-module labels Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working console-module
Projects
None yet
Development

No branches or pull requests

1 participant