mimblewimble / grin-miner

Standalone miner for grin
Apache License 2.0
296 stars 153 forks source link

Mining status: Starting miner and awaiting first graph time... #243

Closed rstmsn closed 4 years ago

rstmsn commented 4 years ago

I'm running a grin node and a wallet listener. My grin-miner is configured to run 'cuckaroo_cpu_compat_19'. When I run grin-miner, it connects to the wallet listener, but the 'Mining Devices' list remains empty and nothing appears to be happening...

The Connection status is: 'Connected to Grin server at 127.0.0.1:3145' and the Mining status is: Starting miner and awaiting first graph time...

I'm running MacOS. Screenshots included:

Screen Shot 2020-02-25 at 19 24 56

Screen Shot 2020-02-25 at 19 25 04

jaspervdm commented 4 years ago

You're using the wrong plugin, either use one for cuckaroom29 or cuckatoo31+

rstmsn commented 4 years ago

I've tried a selection of the bundled mniing plugins, with no success.. Here's an export of the grin-miner log.. It looks to me like there might be an issue communicating with the listening wallet http interface?

Feb 25 19:39:51.482 INFO This is Grin-Miner version 3.0.0-beta.1 (git v3.0.0), built for x86_64-apple-darwin by rustc 1.40.0 (73528e339 2019-12-16). Feb 25 19:39:51.483 DEBG Built with profile "release", features "CURSIVE, DEFAULT, OCL_CUCKAROO, OCL_CUCKATOO, OPENCL, TUI" on Wed, 15 Jan 2020 20:50:44 GMT. Feb 25 19:39:51.483 DEBG Starting solvers Feb 25 19:39:51.483 DEBG Using mining plugin dir provided by config: "/Users/crispy/Documents/Code/grin/grin/target/release/plugins" Feb 25 19:39:51.483 DEBG Loading miner plugin: /Users/crispy/Documents/Code/grin/grin/target/release/plugins/cuckarood_cpu_compat_29.cuckooplugin Feb 25 19:39:51.486 DEBG Loading miner plugin: /Users/crispy/Documents/Code/grin/grin/target/release/plugins/cuckarood_cpu_compat_29.cuckooplugin Feb 25 19:39:52.495 WARN Connection Status: Connected to Grin server at 127.0.0.1:3415. Feb 25 19:39:52.508 DEBG sending request: {"id":"0","jsonrpc":"2.0","method":"getjobtemplate","params":null} Feb 25 19:39:53.012 DEBG Received message: HTTP/1.1 400 Bad Request

Feb 25 19:39:53.013 ERRO Error parsing message: HTTP/1.1 400 Bad Request

Feb 25 19:39:54.051 DEBG Mining: Plugin 0 - Device 0 () at Cuckarood0 - Status: OK : Last Graph time: 0s; Graphs per second: inf - Total Attempts: 0 Feb 25 19:39:54.051 INFO Mining: Cuckaoo at 0 gps (graphs per second) Feb 25 19:39:55.007 DEBG Received message: content-length: 0

Feb 25 19:39:55.007 ERRO Error parsing message: content-length: 0

Feb 25 19:39:57.001 DEBG Received message: date: Tue, 25 Feb 2020 19:39:52 GMT

Feb 25 19:39:57.001 ERRO Error parsing message: date: Tue, 25 Feb 2020 19:39:52 GMT

Feb 25 19:39:57.023 DEBG Mining: Plugin 0 - Device 0 () at Cuckarood0 - Status: OK : Last Graph time: 0s; Graphs per second: inf - Total Attempts: 0 Feb 25 19:39:57.023 INFO Mining: Cuckaoo at 0 gps (graphs per second) Feb 25 19:39:59.007 DEBG Received message:

Feb 25 19:39:59.008 ERRO Error parsing message:

Feb 25 19:40:00.020 DEBG Mining: Plugin 0 - Device 0 () at Cuckarood0 - Status: OK : Last Graph time: 0s; Graphs per second: inf - Total Attempts: 0 Feb 25 19:40:00.020 INFO Mining: Cuckaoo at 0 gps (graphs per second) Feb 25 19:40:01.008 ERRO Error reading message: ConnectionError("broken pipe") Feb 25 19:40:01.009 WARN Connection Status: Connected to Grin server at 127.0.0.1:3415. Feb 25 19:40:01.019 DEBG sending request: {"id":"0","jsonrpc":"2.0","method":"getjobtemplate","params":null} Feb 25 19:40:01.047 DEBG Miner received message: StopJob Feb 25 19:40:01.047 DEBG Stopping jobs Feb 25 19:40:01.047 DEBG Pause message sent Feb 25 19:40:01.047 DEBG solver_thread - solver_loop_rx got msg: Pause Feb 25 19:40:03.006 DEBG Received message: HTTP/1.1 400 Bad Request

Feb 25 19:40:03.006 ERRO Error parsing message: HTTP/1.1 400 Bad Request

Feb 25 19:40:03.102 DEBG Mining: Plugin 0 - Device 0 () at Cuckarood0 - Status: OK : Last Graph time: 0s; Graphs per second: inf - Total Attempts: 0 Feb 25 19:40:03.102 INFO Mining: Cuckaoo at 0 gps (graphs per second) Feb 25 19:40:05.001 DEBG Received message: content-length: 0

Feb 25 19:40:05.001 ERRO Error parsing message: content-length: 0

Feb 25 19:40:05.406 DEBG Client received message: Shutdown Feb 25 19:40:05.406 DEBG Shutting down client controller Feb 25 19:40:05.468 DEBG Miner received message: Shutdown Feb 25 19:40:05.468 DEBG Stopping jobs and Shutting down mining controller Feb 25 19:40:05.468 DEBG Stop message sent Feb 25 19:40:05.468 DEBG solver_thread - solver_loop_rx got msg: Stop Feb 25 19:40:05.529 DEBG Solver stopped: 0

quentinlesceller commented 4 years ago

No activity on this issue. Closing.