Go-ethereum: Fatal: Failed to start the JavaScript console: api modules: context deadline exceeded

Created on 24 Dec 2018  路  2Comments  路  Source: ethereum/go-ethereum

Hi there,

I am trying to attach a console to a running geth on local machine but each time it says "context deadline exceeded".

I have tried all these but same error:

geth attach /path/to/ipc/geth.ipc

geth attch http://localhost:8545

geth attach http://127.0.0.1/8545

The rpc parameters that I tried to execute geth are:

  • --rpc --rpcaddr "localhost" --rpcport "8545" --rpccorsdomain "*"

  • --rpc --rpcaddr "127.0.0.1" --rpcport "8545" --rpccorsdomain "*"

  • --rpc --rpcaddr "0.0.0.0" --rpcport "8545" --rpccorsdomain "*"

Any prompt help would be appreciated.

Thanks

System information

Geth version: geth version 1.8.20
OS & Version: Linux , Ubuntu 16.04 LTS

Expected behaviour

Should attach the additional console to the ipc.

Actual behaviour

Fatal: Failed to start the JavaScript console: api modules: context deadline exceeded

All 2 comments

sudo geth attch http://localhost:8545 should work

Where was a probl茅m ?

Was this page helpful?
0 / 5 - 0 ratings