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

Nimbus only wants to talk with Geth for ETH1 #2072

Closed
xachen opened this issue Nov 24, 2020 · 2 comments
Closed

Nimbus only wants to talk with Geth for ETH1 #2072

xachen opened this issue Nov 24, 2020 · 2 comments

Comments

@xachen
Copy link

xachen commented Nov 24, 2020

Describe the bug
Nimbus only wants to work with either Geth or Infura (which uses Geth) for ETH1 logs. Besu does not want to communicate. I know Besu is configured correctly since Teku and Lighthouse connect correctly to it.

To Reproduce
Steps to reproduce the behavior:

  1. Platform details (OS, architecture): '...'
    justin@bullwinkle:~/pyrmont$ uname -a
    Linux bullwinkle 4.19.0-12-amd64 Shuffling tests #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64 GNU/Linux

  2. Branch/commit used: '...'
    justin@bullwinkle:~/pyrmont/nimbus-eth2$ git log -1
    commit 7b7dc6f (HEAD -> devel, origin/devel)

(same issue on latest master)

  1. Commands being executed: '...'
    WEB3_URL="ws://127.0.0.1:8546" ./run-pyrmont-beacon-node.sh --log-level=TRACE
  2. Relevant log lines: '...'
    justin@bullwinkle:~/pyrmont/nimbus-eth2$ ./run-pyrmont-beacon-node.sh --log-level=TRACE

To monitor the Eth1 validator deposit contract, you'll need to pair
the Nimbus beacon node with a Web3 provider capable of serving Eth1
event logs. This could be a locally running Eth1 client such as Geth
or a cloud service such as Infura. For more information please see
our setup guides:

https://status-im.github.io/nimbus-eth2/eth1.html

Please enter a Web3 provider URL: ws://127.0.0.1:8546
WRN 2020-11-24 14:01:49.025-07:00 You are running an alpha version of Nimbus - it is not suitable for mainnet! topics="beacnde" tid=14291 file=nimbus_beacon_node.nim:1135 version=v0.6.6-7b7dc6fe
INF 2020-11-24 14:01:49.025-07:00 Launching beacon node topics="beacnde" tid=14291 file=nimbus_beacon_node.nim:1137 version=v0.6.6-7b7dc6fe bls_backend=BLST cmdParams="@["--network=pyrmont", "--data-dir=build/data/shared_pyrmont_0", "--log-file=build/data/shared_pyrmont_0/nbc_bn_20201124140149.log", "--web3-url=ws://127.0.0.1:8546", "--tcp-port=9000", "--udp-port=9000", "--rpc", "--rpc-port=9190", "--log-level=TRACE"]" config="(logLevel: "TRACE", logFile: Some(build/data/shared_pyrmont_0/nbc_bn_20201124140149.log), eth2Network: Some("pyrmont"), dataDir: build/data/shared_pyrmont_0, validatorsDirFlag: None[InputDir], secretsDirFlag: None[InputDir], walletsDirFlag: None[InputDir], web3Url: "ws://127.0.0.1:8546", depositContractAddress: Some(0x8c5fecdc472e27bc447696f431e425d02dd46a8c), depositContractDeployedAt: Some((isHash: false, number: 3743587)), nonInteractive: false, netKeyFile: "random", netKeyInsecurePassword: false, cmd: noCommand, bootstrapNodes: @["# @protolambda bootnode 1", "enr:-Ku4QOA5OGWObY8ep_x35NlGBEj7IuQULTjkgxC_0G1AszqGEA0Wn2RNlyLFx9zGTNB1gdFBA6ZDYxCgIza1uJUUOj4Dh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDVTPWXAAAgCf__________gmlkgnY0gmlwhDQPSjiJc2VjcDI1NmsxoQM6yTQB6XGWYJbI7NZFBjp4Yb9AYKQPBhVrfUclQUobb4N1ZHCCIyg", "# @protolambda bootnode 2", "enr:-Ku4QOksdA2tabOGrfOOr6NynThMoio6Ggka2oDPqUuFeWCqcRM2alNb8778O_5bK95p3EFt0cngTUXm2H7o1jkSJ_8Dh2F0dG5ldHOIAAAAAAAAAACEZXRoMpDVTPWXAAAgCf__________gmlkgnY0gmlwhDaa13aJc2VjcDI1NmsxoQKdNQJvnohpf0VO0ZYCAJxGjT0uwJoAHbAiBMujGjK0SoN1ZHCCIyg", "# lighthouse bootnode 1", "enr:-LK4QDiPGwNomqUqNDaM3iHYvtdX7M5qngson6Qb2xGIg1LwC8-Nic0aQwO0rVbJt5xp32sRE3S1YqvVrWO7OgVNv0kBh2F0dG5ldHOIAAAAAAAAAACEZXRoMpA7CIeVAAAgCf__________gmlkgnY0gmlwhBKNA4qJc2VjcDI1NmsxoQKbBS4ROQ_sldJm5tMgi36qm5I5exKJFb4C8dDVS_otAoN0Y3CCIyiDdWRwgiMo", "# lighthouse bootnode 2", "enr:-LK4QKAezYUw_R4P1vkzfw9qMQQFJvRQy3QsUblWxIZ4FSduJ2Kueik-qY5KddcVTUsZiEO-oZq0LwbaSxdYf27EjckBh2F0dG5ldHOIAAAAAAAAAACEZXRoMpA7CIeVAAAgCf__________gmlkgnY0gmlwhCOmkIaJc2VjcDI1NmsxoQOQgTD4a8-rESfTdbCG0V6Yz1pUvze02jB2Py3vzGWhG4N0Y3CCIyiDdWRwgiMo", "# nimbus bootnodes", "enr:-LK4QK6e16UnTLbi8mJuXHdUSNN8BUcUqhnhyy2bL2_JeX7iMfK9lRbtq8M4kMDGhFwyUQLkHxaDNxS0IPuGS53c1osBh2F0dG5ldHOI__________-EZXRoMpA7CIeVAAAgCf__________gmlkgnY0gmlwhAN_0AGJc2VjcDI1NmsxoQOPQv1VILGXeB10y088SeuU6-w8Yh689Fv_uWjhtFqbLIN0Y3CCI4yDdWRwgiOM", "enr:-LK4QHy7BBDm_mxT0i-EBatHvHGfzNH4BcaAdNguNS8fuaxFDfHP0qVJ9f9A38Q_lMmRUK5PSVHEEoC1mwrExO51T2cBh2F0dG5ldHOI__________-EZXRoMpA7CIeVAAAgCf__________gmlkgnY0gmlwhBLGXiqJc2VjcDI1NmsxoQJV51WZn_NLj-0vHAmmZ6tWtzIdu-P_xVr7k9zMEkvaA4N0Y3CCI4yDdWRwgiOM", "enr:-LK4QE8QIkEl2k67fj53vn6SgLwj07ElmWZJrIeEpZUfh91oe-PNAlIzeRwI47_wZTK1S2KretXF56XkZqP0v5VlBVUBh2F0dG5ldHOI__________-EZXRoMpA7CIeVAAAgCf__________gmlkgnY0gmlwhBLB_8yJc2VjcDI1NmsxoQOEowpACJVUFtcWKhpEk9HlEyY4AEcTB4fON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G5ldHOI__________-EZXRoMpA7CIeVAAAgCf__________gmlkgnY0gmlwhBLGowKJc2VjcDI1NmsxoQK13jMsuO1LbguOsFZ0hxvRe7PT8V1W9qeUMs6fgiwuM4N0Y3CCI4yDdWRwgiOM", "enr:-LK4QAtPY91umFgpKmvSEcsDdzXxB6Ss5pa55oqk-t58Uv9qF-B68jEjsN7B_SBGe4qCH1thKwokbS8-zC8Xy-NsED8Bh2F0dG5ldHOI__________-EZXRoMpDzGkhaAAAAAP__________gmlkgnY0gmlwhBKeqH2Jc2VjcDI1NmsxoQIRA0fHAr6eECjjIZZK-GB6dE0awWYtTrOMACfjq12M5oN0Y3CCI4yDdWRwgiOM", "enr:-LK4QLvxqICUmpMitpwHDwJNEUGj1ecsW_ZlGImx6SwfyFJICV2SO6lYcdxDKHAK0RzdWYo8dGm3tL__NpP_4Afy5psBh2F0dG5ldHOI__________-EZXRoMpDzGkhaAAAAAP__________gmlkgnY0gmlwhBLBEDqJc2VjcDI1NmsxoQJw2JPyabX2G_f9eAkbjhBDshIeUP-eZ-KoMGqFTdxUToN0Y3CCI4yDdWRwgiOM", ""], bootstrapNodesFile: , listenAddress: 0.0.0.0, tcpPort: 9000, udpPort: 9000, maxPeers: 79, nat: "any", weakSubjectivityCheckpoint: None[Checkpoint], finalizedCheckpointState: None[InputFile], finalizedCheckpointBlock: None[InputFile], runtimePreset: (GENESIS_FORK_VERSION: 00002009, GENESIS_DELAY: 432000, MIN_GENESIS_ACTIVE_VALIDATOR_COUNT: 16384, MIN_GENESIS_TIME: 1605700800, ETH1_FOLLOW_DISTANCE: 2048), nodeName: "", graffiti: None[GraffitiBytes], verifyFinalization: false, stopAtEpoch: 0, metricsEnabled: false, metricsAddress: 127.0.0.1, metricsPort: 8008, statusBarEnabled: true, statusBarContents: "peers: $connected_peers;finalized: $finalized_root:$finalized_epoch;head: $head_root:$head_epoch:$head_epoch_slot;time: $epoch:$epoch_slot ($slot);sync: $sync_status|", rpcEnabled: true, rpcPort: 9190, rpcAddress: 127.0.0.1, inProcessValidators: true, discv5Enabled: true, dumpEnabled: false)"
INF 2020-11-24 14:01:49.038-07:00 Loading block dag from database topics="beacnde" tid=14291 file=nimbus_beacon_node.nim:198 path=build/data/shared_pyrmont_0/db
INF 2020-11-24 14:01:49.518-07:00 Block dag initialized topics="beacnde" tid=14291 file=chain_dag.nim:423 head=da778bb6:123 finalizedHead=6a89af5d:0 tail=6a89af5d:0 totalBlocks=88
ERR 2020-11-24 14:01:49.520-07:00 Failed to start Eth1 monitor topics="beacnde" tid=14291 file=nimbus_beacon_node.nim:241 reason="Failed to setup web3 connection" web3Url=ws://127.0.0.1:8546 depositContractAddress=0x8c5fecdc472e27bc447696f431e425d02dd46a8c depositContractDeployedAt="(isHash: false, number: 3743587)"
INF 2020-11-24 14:01:49.520-07:00 Starting JSON-RPC HTTP server topics="JSONRPC-HTTP-SERVER" tid=14291 file=httpserver.nim:215 url=http://127.0.0.1:9190
INF 2020-11-24 14:01:49.524-07:00 Generating new networking key topics="networking" tid=14291 file=eth2_network.nim:1251 network_public_key=08021221025c25008a81365ceaa82e88e23998216c9b160243797252979e2c9daa54f76350 network_peer_id=16Uiu2HAm1dNDJxduVzKqJGcYBLg137iLsaoWGSUju2FKGKB9iiZd

@zah
Copy link
Contributor

zah commented Nov 29, 2020

Support for Besu is likely to be added in our first point release after the v1.0.0 release. The problem has been tracked down to a compatibility issue present in one of the few third-party packages that we use. A fix has been pushed in the following PR and will be proposed to the upstream project:

status-im/news#1

@zah
Copy link
Contributor

zah commented Feb 14, 2022

This issue has been resolved shortly after the comment above

@zah zah closed this as completed Feb 14, 2022
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

2 participants