bcnode icon indicating copy to clipboard operation
bcnode copied to clipboard

ERROR rover.eth.rover Rejected promise, trace:

Open Simon0x opened this issue 6 years ago • 0 comments

Prerequisites

  • [x] Are you running the latest version?
  • [x] Did you build from source?
  • [x] Did you check the README.md for steps to run?
  • [x] Did you check logs? (either in console or in _logs directory)

For more information, see the CONTRIBUTING guide.

Description

The log shows that sometimes a timeout occurs when working with the ethereum network.

Steps to Reproduce

  1. Run latest version of the miner

Expected behavior: The timeout should be handled properly.

Actual behavior: Currently there is the possibility that a timeout occurs when working with the ethereum network.

Versions

(0.5.5/9905e51)

Application (required)

You can get this information:

  • Built from source
  • Run the miner using forever: forever start ./bin/cli start --miner-key CryptoSmileee --node --ui --ws

Environment (optional but helpful)

  • OS Version (Ubuntu 17.10)
  • Nodejs (v9.11.1)
  • Rust (rustc 1.27.0-nightly (ad610bed8 2018-04-11))

Logs

Full Log: http://telobot.com/UP_o.log

2018-05-08T16:30:37.260Z ERROR	rover.eth.rover Rejected promise, trace:
Error: Connection timeout
at Socket.<anonymous> (/home/bc/bcnode/node_modules/ethereumjs-devp2p/lib/rlpx/index.js:141:32)
at Object.onceWrapper (events.js:272:13)
at Socket.emit (events.js:180:13)
at Socket._onTimeout (net.js:396:8)
at ontimeout (timers.js:466:11)
at tryOnTimeout (timers.js:304:5)
at Timer.listOnTimeout (timers.js:267:5) 

Simon0x avatar May 09 '18 06:05 Simon0x