Post
Topic
Board Mining (Altcoins)
Re: [Awesome Miner] - Powerful Windows GUI to manage and monitor up to 10000 miners
by
manvsrice
on 09/06/2018, 09:55:58 UTC
Hello I updated yesterday to latest version and now I have a slight problem. Did something change around "rules" and templates or is there a new bug? I have made some rules that I run via the web api. However now the miners are not started. The template is applied correctly, but the miner is not started so it stay in "stopped" mode.

https://image.ibb.co/nKXM3T/ruleproblem.png

Hi and thanks for your question. I wasn't able to reproduce this issue. I've tested by sending an HTTP post to:
http://localhost:17790/api/miners/13?action=rule&rule_id=4

Can you see if you get a "200 OK" as result from this HTTP request? Can you also check if Awesome Miner processes this request by looking for "Executing command from web" in the log file (Toolbar: Tools -> Log File)? Many thanks!

"/9/2018 11:54:16 AM.859 [065] Saving configuration to: C:\ProgramData\AwesomeMinerService\ServiceDataIntegrated.xml.tmp
6/9/2018 11:54:16 AM.877 [065] --> C:\ProgramData\AwesomeMinerService\ServiceDataIntegrated.xml
6/9/2018 11:54:16 AM.920 [052] Updating Online Services, configUpdate: True
6/9/2018 11:54:16 AM.953 [021] Rule execute: Accept progress, miners: [MRR C11 guard, localhost], [MRR GUARD LYRA2REV2, localhost], [MRR GUARD LYRA2Z, localhost], [MRR GUARD PHI, localhost], [MRR GUARD TRIBUS, localhost], [MRR GUARD XEVAN, localhost], [MRR HMQ1725, localhost], [MRR x16r GUARD, localhost], [MRR x17 guard, localhost]
6/9/2018 11:54:17 AM.139 [051] CoinStore, Built in coin dictionary updated
6/9/2018 11:54:17 AM.675 [005] [ManagedMiner#2 - mvr1] Performing stop
6/9/2018 11:54:17 AM.675 [005] [ManagedMiner#2 - mvr1] Prepare stopping Mining Software
6/9/2018 11:54:17 AM.675 [005] [ManagedMiner#2 - mvr1] Stopping Mining Software
6/9/2018 11:54:17 AM.675 [005]   Closing process
6/9/2018 11:54:18 AM.676 [005]   Process closed
6/9/2018 11:54:18 AM.884 [016] [E]ChannelManagerBase: ObjectDisposedException for channel: AwesomeMiner.Service.Contracts.ServiceContracts.IMinerService, 192.168.1.108:9630
6/9/2018 11:54:18 AM.884 [016] ChannelFactoryProvider: Removing factory: AwesomeMiner.Service.Contracts.ServiceContracts.IMinerService
6/9/2018 11:54:22 AM.959 [021] Rule execute: Accept progress, miners: [MRR C11 guard, localhost], [MRR GUARD LYRA2REV2, localhost], [MRR GUARD LYRA2Z, localhost], [MRR GUARD PHI, localhost], [MRR GUARD TRIBUS, localhost], [MRR GUARD XEVAN, localhost], [MRR HMQ1725, localhost], [MRR x16r GUARD, localhost], [MRR x17 guard, localhost]
6/9/2018 11:54:23 AM.605 [056] CloudManager running, cloudstate: EnableAll, Sending: True
6/9/2018 11:54:23 AM.732 [056] [E]Failed to download string from: https://cloud.awesomeminer.com/command/pull?userid=bW92ZWxpa2VjbGVlc2VAZ21haWwuY29t&code=MTA1MTQ1MDU3MTQwMTM3MTM3MTI5MDIxMDc1MDk3MDM5MTc0MTcwMDc0MjEzMTU1&systemid=1
 System.Net.WebException: The remote server returned an error: (400) Bad Request.
6/9/2018 11:54:23 AM.958 [056] [E]Failed to Post string to: https://cloud.awesomeminer.com/publish/stats?userid=bW92ZWxpa2VjbGVlc2VAZ21haWwuY29t&code=MTA1MTQ1MDU3MTQwMTM3MTM3MTI5MDIxMDc1MDk3MDM5MTc0MTcwMDc0MjEzMTU1&systemid=1&minercount=17
 System.Net.WebException: The remote server returned an error: (400) Bad Request.
6/9/2018 11:54:28 AM.963 [021] Rule execute: Accept progress, miners: [MRR C11 guard, localhost], [MRR GUARD LYRA2REV2, localhost], [MRR GUARD LYRA2Z, localhost], [MRR GUARD PHI, localhost], [MRR GUARD TRIBUS, localhost], [MRR GUARD XEVAN, localhost], [MRR HMQ1725, localhost], [MRR x16r GUARD, localhost], [MRR x17 guard, localhost]
6/9/2018 11:54:31 AM.888 [027] [E]Service Request Failed: 192.168.1.108:9630
 System.InvalidOperationException: Cannot make a call on this channel because a call to Open() is in progress."

It is the same error if I use the "actions" dropdown in awesome miner too, without using any web script.