Recently AwesomeMiner began to stop mining after switching to sgminer (I'm on AMDs). From logs it seems to try and restart it a few times, each time complaining about
No connection could be made because the target machine actively refused it 127.0.0.1:4028
and then it just gives up. Restart on offline detection didn't help.
From the logs, it doesn't try to switch back to other miners, like EthDcrMiner, it just keeps pounding at the Sgminer until it gives up. I am able to start Sgminer manually using the same command from the log and it works fine. Also I've seen it working fine before with AwesomeMiner. I've checked and Firewall isn't a problem. Access to sgminer.exe is allowed on all ports and I see it listening on 4028 when running.
I didn't find much on this on the net, so coming to the source. It goes down every day, with a 100% repro rate, so I'm loosing hours of mining. Any ideas? Here is the log snippet.
[s][s]11/21/2017 8:36:06 AM.034 [005] [S][ManagedMiner#2 - My Profit Miner] Starting Mining Software
11/21/2017 8:36:06 AM.034 [005] [S][ManagedMiner#2 - My Profit Miner] Setting up Miner Engine. Instance: 1
11/21/2017 8:36:06 AM.034 [005] [S][ManagedMiner#2 - My Profit Miner] Engine Type: SgMiner, Auto Download: True, EnginePath: , Subtype: Disabled, CustomExecutable:
11/21/2017 8:36:06 AM.034 [005] [S]EngineSetup: SgMiner
11/21/2017 8:36:06 AM.037 [005] [S][ManagedMiner#2 - My Profit Miner] Prepare Configuration for pool
11/21/2017 8:36:06 AM.037 [005] [S][ManagedMiner#2 - My Profit Miner] : GetStaticSortedPools, Enginetype: SgMiner, Algorithms: Scrypt, ScryptAN, X11, X13, X14, X15, Groestl, Nist5, NeoScrypt, SHA3, Lyra2RE, Qubit, WhirlpoolX, Quark, Axiom, Lyra2REv2, Decred, Blake2b, Lbry, Pascal, X11Gost
11/21/2017 8:36:06 AM.037 [005] [S][ManagedMiner#2 - My Profit Miner] : GetStaticSortedPools, ignoring pool:stratum+tcp://us-east.ethash-hub.miningpoolhub.com:17020, Ethereum
11/21/2017 8:36:06 AM.037 [005] [S][ManagedMiner#2 - My Profit Miner] : GetStaticSortedPools, ignoring pool:stratum+tcp://us-east.equihash-hub.miningpoolhub.com:17023, Equihash
11/21/2017 8:36:06 AM.037 [005] [S][ManagedMiner#2 - My Profit Miner] : GetStaticSortedPools, ignoring pool:stratum+tcp://us-east.cryptonight-hub.miningpoolhub.com:17024, CryptoNight
11/21/2017 8:36:06 AM.037 [005] [S][ManagedMiner#2 - My Profit Miner] Prepare Configuration for Device Profile
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, Intensity: 16
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, RawIntensity:
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, XIntensity:
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, GpuEngine:
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, GpuFan:
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, GpuMemclock:
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, GpuPowertune:
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, GpuVoltage:
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, Vectors:
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, Worksize: 256
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, LookupGap:
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, ThreadConcurrency:
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, Shaders: 2048
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, TempCutoff:
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, TempOverheat:
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, TempTarget:
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, GpuThreads: 2
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, GpuPlatform:
11/21/2017 8:36:06 AM.038 [005] [S]Preparing device setting, GpuDyninterval:
11/21/2017 8:36:06 AM.038 [005] [S][ManagedMiner#2 - My Profit Miner] Configuration preparations done
11/21/2017 8:36:06 AM.043 [005] [S]ChannelFactoryProvider: Create Channel Factory: IntelliBreeze.Maintenance.Service.Contracts.ServiceContracts.ISecurityService
11/21/2017 8:36:06 AM.074 [005] [S][ManagedMiner#2 - My Profit Miner] Added rule for: C:\Users\Michael\AppData\Local\AwesomeMiner\sgminer-5.6.1-nicehash-51-windows-i386_1\sgminer.exe
11/21/2017 8:36:06 AM.074 [005] [S][ManagedMiner#2 - My Profit Miner] C:\Users\Michael\AppData\Local\AwesomeMiner\sgminer-5.6.1-nicehash-51-windows-i386_1\sgminer.exe --config awesome.conf --algorithm neoscrypt (WindowMode: ConsoleFormat, EngineType: SgMiner, IsProfitMiner: True)
11/21/2017 8:36:06 AM.074 [005] [S][ManagedMiner#2 - My Profit Miner] Configuration:
{
"pools": [
{
"name": "MiningPoolHub [NeoScrypt]",
"nfactor": "10",
"algorithm": "neoscrypt",
"url": "stratum+tcp://hub.miningpoolhub.com:17012",
"user": "micwebnet.dev",
"pass": "x"
},
{
"name": "MiningPoolHub [Groestl]",
"nfactor": "10",
"algorithm": "groestlcoin",
"url": "stratum+tcp://hub.miningpoolhub.com:17004",
"user": "micwebnet.dev",
"pass": "x"
},
{
"name": "MiningPoolHub [SHA-3]",
"nfactor": "10",
"algorithm": "maxcoin",
"url": "stratum+tcp://hub.miningpoolhub.com:17003",
"user": "micwebnet.dev",
"pass": "x"
},
{
"name": "MiningPoolHub [Lyra2REv2]",
"nfactor": "10",
"algorithm": "lyra2rev2",
"url": "stratum+tcp://hub.miningpoolhub.com:17018",
"user": "micwebnet.dev",
"pass": "x"
},
{
"name": "MiningPoolHub [Blake 2b]",
"nfactor": "10",
"algorithm": "sia",
"url": "stratum+tcp://hub.miningpoolhub.com:17022",
"user": "micwebnet.dev",
"pass": "x"
},
{
"name": "MiningPoolHub [Qubit]",
"nfactor": "10",
"algorithm": "qubitcoin",
"url": "stratum+tcp://hub.miningpoolhub.com:17014",
"user": "micwebnet.dev",
"pass": "x"
},
{
"name": "MiningPoolHub [Scrypt]",
"nfactor": "10",
"algorithm": "zuikkis",
"url": "stratum+tcp://hub.miningpoolhub.com:17001",
"user": "micwebnet.dev",
"pass": "x"
},
{
"name": "MiningPoolHub [X11]",
"nfactor": "10",
"algorithm": "darkcoin-mod",
"url": "stratum+tcp://hub.miningpoolhub.com:17007",
"user": "micwebnet.dev",
"pass": "x"
}
],
"api-port": "4028",
"intensity": "16",
"worksize": "256",
"shaders": "2048",
"failover-only": true,
"gpu-threads": "2",
"api-listen": true,
"api-allow": "W:127.0.0.1/32",
"expiry": "120",
"log": "5",
"queue": "1",
"scan-time": "60",
"temp-hysteresis": "3"
}
11/21/2017 8:36:06 AM.381 [005] [S]Saving configuration to: C:\ProgramData\AwesomeMinerService\ServiceDataIntegrated.xml.tmp
11/21/2017 8:36:06 AM.394 [005] [S]--> C:\ProgramData\AwesomeMinerService\ServiceDataIntegrated.xml
11/21/2017 8:36:06 AM.396 [005] [S][ManagedMiner#2 - My Profit Miner] Mining Engine Process started, PID: 5096
11/21/2017 8:36:07 AM.661 [009] [E]Failed to process API request (time: 1003 ms): {"command":"config"}
No connection could be made because the target machine actively refused it 127.0.0.1:4028
11/21/2017 8:36:13 AM.688 [028] [E]Failed to process API request (time: 1003 ms): {"command":"config"}
No connection could be made because the target machine actively refused it 127.0.0.1:4028
11/21/2017 8:36:20 AM.399 [005] [W][ManagedMiner#2 - My Profit Miner] process not running. Too many restarts...
11/21/2017 8:36:20 AM.399 [005] [S][ManagedMiner#2 - My Profit Miner] Stopping...
11/21/2017 8:36:20 AM.399 [005] [S][ManagedMiner#2 - My Profit Miner] Executing API command: Quit
11/21/2017 8:36:21 AM.400 [005] [E]Failed to process API request (time: 1001 ms): {"command":"quit"}
No connection could be made because the target machine actively refused it 127.0.0.1:4028
11/21/2017 8:36:22 AM.402 [005] [S][ManagedMiner#2 - My Profit Miner] Performing stop
11/21/2017 8:36:22 AM.402 [005] [S][ManagedMiner#2 - My Profit Miner] Stopping Mining Software
11/21/2017 8:36:22 AM.402 [005] [S] Process already closed[/s][/s]