Closed Konstantin35 closed 6 years ago
Could run the miner with maximum verbosity output and post the log here?
sgminer.exe --kernel lyra2v2 -o stratum+tcp://mona.poolmining.org:3092 -u M8k9bKo6wYhFJnrTxLecKQkpD3y1tquVcT -p x
[18:58:53] No servers were found that could be used to get work from.
[18:58:53] Please check the details from the list below of the servers you have input
[18:58:53] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
[18:58:53] Pool: 0 URL: stratum+tcp://mona.poolmining.org:3092 User: M8k9bKo6wYhFJnrTxLecKQkpD3y1tquVcT Password: x
[18:58:53] Press any key to exit, or sgminer will try again in 15s.
[18:59:09] mona.poolmining.org difficulty changed to 15
[18:59:09] No servers were found that could be used to get work from.
[18:59:09] Please check the details from the list below of the servers you have input
[18:59:09] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
[18:59:09] Pool: 0 URL: stratum+tcp://mona.poolmining.org:3092 User: M8k9bKo6wYhFJnrTxLecKQkpD3y1tquVcT Password: x
[18:59:09] Press any key to exit, or sgminer will try again in 15s.
[18:59:25] mona.poolmining.org difficulty changed to 15
[18:59:26] No servers were found that could be used to get work from.
[18:59:26] Please check the details from the list below of the servers you have input
[18:59:26] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
[18:59:26] Pool: 0 URL: stratum+tcp://mona.poolmining.org:3092 User: M8k9bKo6wYhFJnrTxLecKQkpD3y1tquVcT Password: x
[18:59:26] Press any key to exit, or sgminer will try again in 15s.
Is there no way to get sgminer spit out more detailed information?
I have the same issue just with another, Vertcoin one click miner. It just crashes the stratum server. The server still finds new block and processes the payments, but no miner can connect once the stratum has crashed. Can we add a possible auto-restart function?
@pfeiflelukas Restarting itself is not something we should handle internally. If you are running the miningcore under systemd this is quite easy. This is how we do it on poolmining.org:
[Unit]
Description=Pool 1
After=network.target postgresql.service
Requires=postgresql.service
[Service]
User=miningpool
Environment=DOTNET_CLI_TELEMETRY_OPTOUT=1
WorkingDirectory=/cluster/miningcore/build
ExecStart=/usr/bin/dotnet MiningCore.dll -c /cluster/pool1/config.json
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
@pfeiflelukas If are able to reliably reproduce the crash you've mentioned I'd like to ask you to run using
"logging": {
"level": "trace",
.....
},
Please post the log around the time the crash occurs.
Sorry i should have made myself clearer. The stratum only crashes while the other parts of the software appear normal such as the finding blocks and payments. I can still see the program running with htop (ubuntu) however i cannot connect any miners. Only a full restart fixes this issue.
@pfeiflelukas Could you still try to repro the crash when running with trace logging?
@oliverw Will do we i can
Closing this as I'm quite confident that this was also a side-effect of the stratumclient bugs that have been recently fixed.
Lyra2REv2
sgminer doesn't work on the pool nor on my not on your checked on suprnova everything works