Skip to content

ERROR powchain: Could not connect to powchain endpoint error=the method net_version does not exist/is not available #22059

@t814816

Description

@t814816

System information

Geth version:
[root@enode bin]# ./geth version
Geth
Version: 1.9.26-unstable
Git Commit: 3c46f55
Git Commit Date: 20201216
Architecture: amd64
Go Version: go1.14.7
Operating System: linux
GOPATH=
GOROOT=go

OS & Version: Windows/Linux/OSX

[root@enode bin]# cat /etc/centos-release
CentOS Linux release 8.3.2011

Commit hash : (if develop)

Expected behaviour

Prysm not starting cannot connect to geth

/mnt/ssd/prysm/prysm.sh beacon-chain --http-web3provider=/root/.ethereum/geth.ipc --accept-terms-of-use
Should startup

Actual behaviour

Running prysm doesnt run.
/mnt/ssd/prysm/prysm.sh beacon-chain --http-web3provider=/root/.ethereum/geth.ipc --accept-terms-of-use

ERROR powchain: Could not connect to powchain endpoint error=the method net_version does not exist/is not available

Could be similar to ConsenSys-archive/truffle#788 but have added -rpc --rpcapi web3,eth,personal,miner,net,txpool

Steps to reproduce the behaviour

Start geth with
/mnt/ssd/go-ethereum/build/bin/geth --syncmode light --cache 1024 --rpc --rpcapi web3,eth,personal,miner,net,txpool --rpcport 8545 --rpcaddr 127.0.0.1 --ipcpath /root/.ethereum/geth.ipc

Start prysm with:
/mnt/ssd/prysm/prysm.sh beacon-chain --http-web3provider=/root/.ethereum/geth.ipc --accept-terms-of-use

Starting Prysm beacon-chain --http-web3provider=/root/.ethereum/geth.ipc --accept-terms-of-use
[2020-12-21 18:39:10] WARN flags: Running on ETH2 Mainnet
[2020-12-21 18:39:10] INFO flags: Using "max_cover" strategy on attestation aggregation
[2020-12-21 18:39:10] INFO node: Checking DB database-path=/mnt/ssd/.eth2/beaconchaindata

[2020-12-21 18:39:10] INFO initial-sync: Waiting for state to be initialized
[2020-12-21 18:39:10] INFO node: Starting beacon node version=Prysm/v1.0.5/2428880058c0e8183bd33ec04c3a0656ec471deb. Built at: 2020-12-14 17:23:54+00:00
[2020-12-21 18:39:10] INFO gateway: Starting JSON-HTTP API address=127.0.0.1:3500
[2020-12-21 18:39:10] INFO blockchain: Waiting to reach the validator deposit threshold to start the beacon chain...
[2020-12-21 18:39:10] INFO rpc: gRPC server listening on port address=127.0.0.1:4000
[2020-12-21 18:39:10] WARN rpc: You are using an insecure gRPC server. If you are running your beacon node and validator on the same machines, you can ignore this message. If you want to know how to enable secure connections, see: https://docs.prylabs.network/docs/prysm-usage/secure-grpc
[2020-12-21 18:39:10] ERROR powchain: Could not connect to powchain endpoint error=the method net_version does not exist/is not available
could not dial eth1 nodes
github.com/prysmaticlabs/prysm/beacon-chain/powchain.(*Service).connectToPowChain
beacon-chain/powchain/service.go:383
github.com/prysmaticlabs/prysm/beacon-chain/powchain.(*Service).waitForConnection
beacon-chain/powchain/service.go:467
github.com/prysmaticlabs/prysm/beacon-chain/powchain.(*Service).Start.func1
beacon-chain/powchain/service.go:269
runtime.goexit
GOROOT/src/runtime/asm_amd64.s:1374
^C[2020-12-21 18:39:17] INFO node: Got interrupt, shutting down...
[2020-12-21 18:39:17] INFO node: Stopping beacon node
[2020-12-21 18:39:18] INFO powchain: Context closed, exiting pow goroutine

Backtrace

[backtrace]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions