Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Lyra2REv2 sgminer doesn't work #45

Closed
Konstantin35 opened this issue Oct 31, 2017 · 10 comments
Closed

Lyra2REv2 sgminer doesn't work #45

Konstantin35 opened this issue Oct 31, 2017 · 10 comments

Comments

@Konstantin35
Copy link
Contributor

Lyra2REv2 sgminer doesn't work on the pool nor on my not on your checked on suprnova everything works

@oliverw
Copy link
Owner

oliverw commented Nov 1, 2017

Could run the miner with maximum verbosity output and post the log here?

@Konstantin35
Copy link
Contributor Author

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.

@oliverw
Copy link
Owner

oliverw commented Nov 2, 2017

Is there no way to get sgminer spit out more detailed information?

@Mer-idium
Copy link

Mer-idium commented Nov 16, 2017

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?

@oliverw
Copy link
Owner

oliverw commented Nov 16, 2017

@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

@oliverw
Copy link
Owner

oliverw commented Nov 16, 2017

@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.

@Mer-idium
Copy link

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.

@oliverw
Copy link
Owner

oliverw commented Nov 16, 2017

@pfeiflelukas Could you still try to repro the crash when running with trace logging?

@Mer-idium
Copy link

@oliverw Will do we i can

@oliverw
Copy link
Owner

oliverw commented Nov 25, 2017

Closing this as I'm quite confident that this was also a side-effect of the stratumclient bugs that have been recently fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants