ethereumclassic / explorer

EthereumClassic Block Explorer
MIT License
263 stars 252 forks source link

No connection, please specify web3host in conf.json #157

Open vadim-shadrin opened 6 years ago

vadim-shadrin commented 6 years ago

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" } }

hackmod commented 6 years ago

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,
...
vadim-shadrin commented 6 years ago

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