MultiPoolMiner / MultiPoolMiner

Monitors crypto mining pools in real-time in order to find the most profitable for your machine. Controls any miner that is available via command line.
GNU General Public License v3.0
898 stars 343 forks source link

NsgminerNvidia does not work with NiceHash #1361

Closed mserpell closed 6 years ago

mserpell commented 6 years ago

With v MultiPoolMinerV2.7.2.6.zip I get an error and then MPM goes into a continuous loop and doesn't mine anymore ...

2018-03-02 22:16:29 INFO: Pinging monitoring server. 2018-03-02 22:16:31 INFO: Miner Status (https://multipoolminer.io/monitor/miner.php): Success 2018-03-02 22:16:31 INFO: Start waiting before next run. 2018-03-02 22:17:01 INFO: Finish waiting before next run. 2018-03-02 22:17:01 INFO: Saving hash rates. 2018-03-02 22:17:59 ERROR: Failed to connect to miner (NsgminerNvidia). 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [2018-03-02 22:16:29] Started nsgminer 0.9.4 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:29] OpenCL platform 0 vendor: NVIDIA Corporation 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:29] OpenCL platform 0 name: NVIDIA CUDA 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:29] OpenCL platform 0 version: OpenCL 1.2 CUDA 9.1.84 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:29] Platform 0 devices: 6 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:29] 0 GeForce GTX 1070 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:29] 1 GeForce GTX 1070 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:29] 2 GeForce GTX 1070 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:29] 3 GeForce GTX 1070 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:29] 4 GeForce GTX 1070 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:29] 5 GeForce GTX 1070 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: System.Management.Automation.RemoteException 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:29] Probing for an alive pool 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:29] Testing pool stratum+tcp://neoscrypt.eu.nicehash.com:3341 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:29] HTTP request failed: Protocol "stratum+tcp" not supported or disabled in libcurl 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Unable to get work from pool 0 stratum+tcp://neoscrypt.eu.nicehash.com:3341 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] No servers were found that could be used to get work from. 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Please check the details from the list below of the servers you have input 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Pool: 0 URL: stratum+tcp://neoscrypt.eu.nicehash.com:3341 User: 3ESeLEBiuDSJTnhPz5gQ6jG7z1xvyGfxkA.Miner1 Password: x 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Press any key to exit or the miner will try again in 15s. 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Testing pool stratum+tcp://neoscrypt.eu.nicehash.com:3341 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] HTTP request failed: Protocol "stratum+tcp" not supported or disabled in libcurl 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Unable to get work from pool 0 stratum+tcp://neoscrypt.eu.nicehash.com:3341 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] No servers were found that could be used to get work from. 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Please check the details from the list below of the servers you have input 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Pool: 0 URL: stratum+tcp://neoscrypt.eu.nicehash.com:3341 User: 3ESeLEBiuDSJTnhPz5gQ6jG7z1xvyGfxkA.Miner1 Password: x 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Press any key to exit or the miner will try again in 15s. 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Testing pool stratum+tcp://neoscrypt.eu.nicehash.com:3341 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] HTTP request failed: Protocol "stratum+tcp" not supported or disabled in libcurl 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Unable to get work from pool 0 stratum+tcp://neoscrypt.eu.nicehash.com:3341 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] No servers were found that could be used to get work from. 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Please check the details from the list below of the servers you have input 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers 2018-03-02 22:17:59 VERBOSE: NsgminerNvidia: [22:16:31] Pool: 0 URL: stratum+tcp://neoscrypt.eu.nicehash.com:3341 User: 3ESeLEBiuDSJTnhPz5gQ6jG7z1xvyGfxkA.Miner1 Password: x

UselessGuru commented 6 years ago

Verify that you can run the miner with the same parameters as a standalone application (you can copy/paste the command from the MPM window). If this fails please post your issue on the miner developer page. To me this smells like another libcurl issue like this

mserpell commented 6 years ago

I have additional log file which indicates the parameter are not correct ...


PowerShell transcript start Start time: 20180302233049 Username: DESKTOP-1943H3L\mserp RunAs User: DESKTOP-1943H3L\mserp Configuration Name: Machine: DESKTOP-1943H3L (Microsoft Windows NT 6.2.9200.0) Host Application: C:\Program Files\PowerShell\6.0.0-rc.2\pwsh.dll -noexit -executionpolicy bypass -windowstyle maximized -command & .\multipoolminer.ps1 -wallet 3ESeLEBiuDSJTnhPz5gQ6jG7z1xvyGfxkA -username mserpell -workername Miner1 -region europe -currency btc,usd -type nvidia -poolname miningpoolhub,miningpoolhubcoins,nicehash -algorithm cryptonight,ethash,ethash2gb,equihash,groestl,lyra2re2,lyra2z,neoscrypt -donate 10 -watchdog -minerstatusurl https://multipoolminer.io/monitor/miner.php -switchingprevention 2 Process ID: 126048 PSVersion: 6.0.0-rc.2 PSEdition: Core GitCommitId: v6.0.0-rc.2 OS: Microsoft Windows 10.0.16299 Platform: Win32NT PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.10032.0, 6.0.0 PSRemotingProtocolVersion: 2.3 SerializationVersion: 1.1.0.1 WSManStackVersion: 3.0


Transcript started, output file is .\Logs\MultiPoolMiner_2018-03-02_23-30-49.txt INFO: Updating exchange rates from Coinbase. INFO: Loading saved statistics. INFO: Loading pool information. INFO: Selecting best pool for each algorithm. INFO: Getting miner information. INFO: Calculating profit for each miner. INFO: Starting miner (NsgminerNvidia): 'C:\Users\mserp\Downloads\MultiPoolMinerV2.7.2\Bin\Nsgminer\nsgminer.exe --api-port 24028 --api-listen --neoscrypt -o stratum+tcp://neoscrypt.eu.nicehash.com:3341 -u 3ESeLEBiuDSJTnhPz5gQ6jG7z1xvyGfxkA.Miner1 -p x --gpu-threads 1 --worksize 64 --intensity 15 --gpu-platform 0' INFO: Pinging monitoring server. INFO: Miner Status (https://multipoolminer.io/monitor/miner.php): Success Your miner status key is: 3ESeLEBiuDSJTnhPz5gQ6jG7z1xvyGfxkA

Type: NVIDIA

Miner Algorithm Speed BTC/Day Accuracy BTC/GH/Day Pool


PhoenixMinerNvidia Ethash 159.59 MH/s 0.00105269 100% 0.00659608 MiningPoolHub-Ethereum EthminerNvidia Ethash 155.20 MH/s 0.00102369 100% 0.00659608 MiningPoolHub-Ethereum ClaymoreNvidia Ethash 151.05 MH/s 0.00099630 100% 0.00659608 MiningPoolHub-Ethereum CcminerTpruvot Lyra2z 9.33 MH/s 0.00099102 100% 0.10618990 MiningPoolHubCoins-Zcoin CcminerLyra2z Lyra2z 9.29 MH/s 0.00098647 100% 0.10618990 MiningPoolHubCoins-Zcoin CcminerNanashi Lyra2z 9.26 MH/s 0.00098317 100% 0.10618990 MiningPoolHubCoins-Zcoin ExcavatorNvidia1 Ethash 144.52 MH/s 0.00095325 100% 0.00659608 MiningPoolHub-Ethereum ExcavatorNvidia2 Equihash 2.75 KH/s 0.00101182 93% 368.33457532 MiningPoolHub-Zcash ExcavatorNvidia1 NeoScrypt 6.84 MH/s 0.00101091 92% 0.14779901 NiceHash Dstm Equihash 2.64 KH/s 0.00097351 93% 368.33457532 MiningPoolHub-Zcash EthminerNvidia Ethash2gb 153.23 MH/s 0.00088129 98% 0.00575140 MiningPoolHubCoins-Expanse Ewbf Equihash 2.62 KH/s 0.00096651 93% 368.33457532 MiningPoolHub-Zcash CcminerKlaust NeoScrypt 6.71 MH/s 0.00099176 92% 0.14779901 NiceHash ExcavatorNvidia1 Equihash 2.60 KH/s 0.00095730 93% 368.33457532 MiningPoolHub-Zcash ExcavatorNvidia2 Lyra2RE2 247.09 MH/s 0.00088803 93% 0.00359395 NiceHash ExcavatorNvidia1 Lyra2RE2 234.05 MH/s 0.00084117 93% 0.00359395 NiceHash CcminerTpruvot Lyra2RE2 217.84 MH/s 0.00078289 93% 0.00359395 NiceHash CcminerTpruvot NeoScrypt 5.31 MH/s 0.00078445 92% 0.14779901 NiceHash CcminerNanashi NeoScrypt 5.02 MH/s 0.00074174 92% 0.14779901 NiceHash FireiceNvidia CryptoNight 3.30 KH/s 0.00056875 99% 172.45328643 NiceHash CcminerTpruvot CryptoNight 2.96 KH/s 0.00051046 99% 172.45328643 NiceHash CcminerKlaust Groestl 234.35 MH/s 0.00035408 96% 0.00151090 MiningPoolHubCoins-Groestlcoin CcminerTpruvot Groestl 209.75 MH/s 0.00031691 96% 0.00151090 MiningPoolHubCoins-Groestlcoin NsgminerNvidia NeoScrypt Benchmarking Unknown 92% 0.14779901 NiceHash

Type: {AMD, NVIDIA}

Miner Algorithm Speed BTC/Day Accuracy BTC/GH/Day Pool


Eminer Ethash2gb Benchmarking Unknown 98% 0.00575140 MiningPoolHubCoins-Expanse Eminer Ethash Benchmarking Unknown 100% 0.00659608 MiningPoolHub-Ethereum Prospector Ethash Benchmarking Unknown 100% 0.00659608 MiningPoolHub-Ethereum Prospector Ethash2gb Benchmarking Unknown 98% 0.00575140 MiningPoolHubCoins-Expanse Prospector CryptoNight Benchmarking Unknown 99% 172.45328643 NiceHash

Status: Running

Speed Active Launched Command


0 H/s 00 Days 00 Hours 00 Minutes Once Bin\Nsgminer\nsgminer.exe --api-port 24028 --api-listen --neoscrypt -o stratum+tcp://neoscrypt.eu.nicehash.com:3341 -u 3ESeLEBiuDSJTnhPz5gQ6jG7z1xvyGfxkA.Miner1 -p x --gpu-threads 1 --worksize 64 --intensity 15 --gpu-platform 0

INFO: Start waiting before next run. INFO: Finish waiting before next run. INFO: Saving hash rates. PS>TerminatingError(New-Object): "Exception calling ".ctor" with "2" argument(s): "No connection could be made because the target machine actively refused it 127.0.0.1:24028""

TerminatingError(New-Object): "Exception calling ".ctor" with "2" argument(s): "No connection could be made because the target machine actively refused it 127.0.0.1:24028"" Write-Log : Failed to connect to miner (NsgminerNvidia). At C:\Users\mserp\Downloads\MultiPoolMinerV2.7.2\APIs\Xgminer.ps1:24 char:17

  • ... Write-Log -Level Error "Failed to connect to miner ($($t ...
  • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
  • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Log
UselessGuru commented 6 years ago

@mserpell

What log entry makes you believe that the parameters are incorrect? TerminatingError(New-Object): "Exception calling ".ctor" with "2" argument(s): "No connection could be made because the target machine actively refused it 127.0.0.1:24028"" is a follow-up error because the miner could not be executed in the first place.

What happens when you run this command in a cmd window:

C:\Users\mserp\Downloads\MultiPoolMinerV2.7.2\Bin\Nsgminer\nsgminer.exe --api-port 24028 --api-listen --neoscrypt -o stratum+tcp://neoscrypt.eu.nicehash.com:3341 -u 3ESeLEBiuDSJTnhPz5gQ6jG7z1xvyGfxkA.Miner1 -p x --gpu-threads 1 --worksize 64 --intensity 15 --gpu-platform 0?

mserpell commented 6 years ago

When I run the command line I get a blanks console screen . I then press the letter "I" for information against the console (which is noted in the readme file for NSGminer) and the the program returns "No servers could be used! Exiting." to the console and then goes to a command prompt. Looks buggy.

UselessGuru commented 6 years ago

You are mining on NiceHash - not supported :-(

https://github.com/ghostlander/nsgminer/issues/31

Solution: Either don't use NiceHash or don't use NSGminer.

mserpell commented 6 years ago

Thankyou, glad to see you've picked this up as an enhancement.

UselessGuru commented 6 years ago

Enhancement is in the works.... https://github.com/grantemsley/MultiPoolMiner/commit/3bbc1a3d76e201444ed63a3a40b53d74a359c8d7

Kettoch commented 6 years ago

@UselessGuru did this get merged?

UselessGuru commented 6 years ago

No, it did not get merged. Maybe it will in the future.

UselessGuru commented 6 years ago

NsgMiner on Nvidia is fixed with https://github.com/MultiPoolMiner/MultiPoolMiner/pull/2061