explorer icon indicating copy to clipboard operation
explorer copied to clipboard

No connection, please specify web3host in conf.json

Open vadim-shadrin opened this issue 6 years ago • 2 comments

No connection, please specify web3host in conf.json [1] node app.js exited with code 1 [0] Error: Web3 connection time out trying to get block undefined retrying connection now

I do not understand which parameter is rwong

{ "nodeAddr": "localhost", "gethPort": 8545, "startBlock": 0, "endBlock": "latest", "quiet": true, "syncAll": true, "patch": true, "patchBlocks": 100, "settings": { "symbol": "ETC", "name": "Ethereum Classic", "title": "Ethereum Classic Block Explorer", "author": "Elaine" } }

vadim-shadrin avatar Jul 31 '18 04:07 vadim-shadrin

looks like somewhat older config.json (not conf.json) and the current config.example.json example is outdated.

{
    "nodeAddr":     "localhost", // check this
    "gethPort":     8545, // check this
    "startBlock":   0,
    "quiet":        true,
    "syncAll":      true,
    "patch":        true,
    "patchBlocks":  100,
    "bulkSize":     100,
...

hackmod avatar Jul 31 '18 22:07 hackmod

I just was need to up my node using geth with --rpc options. And I have got opened 8545 port on localhost as result .

vadim-shadrin avatar Aug 01 '18 05:08 vadim-shadrin