2024-06-10 22:08:06.225 [CRT] SXMN: Exiting: Fatal error in goroutine `MAIN`: context deadline exceeded
error connecting to localhost:18110
github.com/spectre-project/spectred/infrastructure/network/rpcclient/grpcclient.Connect
/home/runner/work/spectred/spectred/infrastructure/network/rpcclient/grpcclient/grpcclient.go:43
github.com/spectre-project/spectred/infrastructure/network/rpcclient.(*RPCClient).connect
/home/runner/work/spectred/spectred/infrastructure/network/rpcclient/rpcclient.go:47
github.com/spectre-project/spectred/infrastructure/network/rpcclient.NewRPCClient
/home/runner/work/spectred/spectred/infrastructure/network/rpcclient/rpcclient.go:38
main.(*minerClient).connect
/home/runner/work/spectred/spectred/cmd/spectreminer/client.go:26
main.newMinerClient
/home/runner/work/spectred/spectred/cmd/spectreminer/client.go:55
main.main
/home/runner/work/spectred/spectred/cmd/spectreminer/main.go:38
runtime.main
/opt/hostedtoolcache/go/1.21.9/x64/src/runtime/proc.go:267
runtime.goexit
/opt/hostedtoolcache/go/1.21.9/x64/src/runtime/asm_amd64.s:1650
error connecting to address localhost:18110
github.com/spectre-project/spectred/infrastructure/network/rpcclient.(*RPCClient).connect
/home/runner/work/spectred/spectred/infrastructure/network/rpcclient/rpcclient.go:49
github.com/spectre-project/spectred/infrastructure/network/rpcclient.NewRPCClient
/home/runner/work/spectred/spectred/infrastructure/network/rpcclient/rpcclient.go:38
main.(*minerClient).connect
/home/runner/work/spectred/spectred/cmd/spectreminer/client.go:26
main.newMinerClient
/home/runner/work/spectred/spectred/cmd/spectreminer/client.go:55
main.main
/home/runner/work/spectred/spectred/cmd/spectreminer/main.go:38
runtime.main
/opt/hostedtoolcache/go/1.21.9/x64/src/runtime/proc.go:267
runtime.goexit
/opt/hostedtoolcache/go/1.21.9/x64/src/runtime/asm_amd64.s:1650
error connecting to the RPC server
main.main
/home/runner/work/spectred/spectred/cmd/spectreminer/main.go:40
runtime.main
/opt/hostedtoolcache/go/1.21.9/x64/src/runtime/proc.go:267
runtime.goexit
/opt/hostedtoolcache/go/1.21.9/x64/src/runtime/asm_amd64.s:1650
panic: Writing to the logger when it's not running
goroutine 40 [running]:
github.com/spectre-project/spectred/infrastructure/logger.(*Logger).printf(0x7ff63399efa0, 0x5, {0x7ff633b1788c, 0x4}, {0x7ff633b1d3b4, 0xb}, {0xc0000abfc0, 0x1, 0x1})
/home/runner/work/spectred/spectred/infrastructure/logger/logs.go:185 +0x365
github.com/spectre-project/spectred/infrastructure/logger.(*Logger).Writef(...)
/home/runner/work/spectred/spectred/infrastructure/logger/logs.go:144
github.com/spectre-project/spectred/infrastructure/logger.(*Logger).Criticalf(0xc000414000?, {0x7ff633b1d3b4?, 0x7ff634035668?}, {0xc0000abfc0?, 0x7ff634035644?, 0x0?})
/home/runner/work/spectred/spectred/infrastructure/logger/logs.go:127 +0x4c
github.com/spectre-project/spectred/util/panics.exit.func1()
/home/runner/work/spectred/spectred/util/panics/panics.go:58 +0xa6
created by github.com/spectre-project/spectred/util/panics.exit in goroutine 1
/home/runner/work/spectred/spectred/util/panics/panics.go:57 +0x17c
Help me,no mining...
For the miner to work, make sure your node is running and fully synchronized.