CoiniumServ
CoiniumServ copied to clipboard
Rigs disconnecting
Running bitcoin pool with mpos implemented, but not sure why rigs are not working with the pool, if its mpos or coiniumserv issue, via mpos added workers and bfgminer is able to connect from outside using cpu mining(low hash power) which is useless, no hashes submitted which seems to be fine.
But as soon as i connect rigs from outside which have 10 and more th/s, im still getting disconnecting messages, tested 2 two different rigs, they work fine on cksolo pool Any idea what could be wrong?
05/23/2018 17:16:46 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "188.166.37.58:36920" 05/23/2018 17:16:47 +02:00 [Debug] [MinerManager] [Bitcoin] Authenticated miner: xko.bitcoin [188.166.37.58:36511] 05/23/2018 17:16:47 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "188.166.37.58:36922" 05/23/2018 17:16:55 +02:00 [Error] [PoolManager] [global] Error recaching statistics; The method or operation is not implemented. 05/23/2018 17:16:55 +02:00 [Debug] [StatisticsManager] [global] Recached statistics - took 0.000 seconds 05/23/2018 17:17:06 +02:00 [Debug] [MinerManager] [Bitcoin] Authenticated miner: xko.bitcoin [188.166.37.58:36920] 05/23/2018 17:17:06 +02:00 [Debug] [ShareManager] [Bitcoin] Share accepted at 41823.59/32768 by miner xko.bitcoin 05/23/2018 17:17:06 +02:00 [Debug] [MinerManager] [Bitcoin] Authenticated miner: xko.bitcoin [188.166.37.58:36922] 05/23/2018 17:17:42 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "Not Connected!" 05/23/2018 17:17:42 +02:00 [Debug] [ShareManager] [Bitcoin] Share accepted at 35157.68/32768 by miner xko.bitcoin 05/23/2018 17:17:42 +02:00 [Debug] [ShareManager] [Bitcoin] Share accepted at 44603.73/32768 by miner xko.bitcoin 05/23/2018 17:17:42 +02:00 [Debug] [ShareManager] [Bitcoin] Share accepted at 334887.77/32768 by miner xko.bitcoin 05/23/2018 17:17:42 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "188.166.37.58:38354" 05/23/2018 17:17:46 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "Not Connected!" 05/23/2018 17:17:46 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "Not Connected!" 05/23/2018 17:17:46 +02:00 [Debug] [MinerManager] [Bitcoin] Authenticated miner: xko.bitcoin [188.166.37.58:38354] 05/23/2018 17:17:46 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "188.166.37.58:39751" 05/23/2018 17:17:55 +02:00 [Error] [PoolManager] [global] Error recaching statistics; The method or operation is not implemented. 05/23/2018 17:17:55 +02:00 [Debug] [StatisticsManager] [global] Recached statistics - took 0.000 seconds 05/23/2018 17:17:59 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "188.166.37.58:39752" 05/23/2018 17:18:55 +02:00 [Error] [PoolManager] [global] Error recaching statistics; The method or operation is not implemented 05/23/2018 23:09:21 +02:00 [Debug] [MinerManager] [Bitcoin] Authenticated miner: xko.bitcoin [188.166.37.58:30398] 05/23/2018 23:09:21 +02:00 [Debug] [MinerManager] [Bitcoin] Authenticated miner: xko.bitcoin [188.166.37.58:30401] 05/23/2018 23:09:21 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "188.166.37.58:30431" 05/23/2018 23:09:21 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "188.166.37.58:30433" 05/23/2018 23:09:21 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "188.166.37.58:30432" 05/23/2018 23:09:21 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "188.166.37.58:30435" 05/23/2018 23:09:21 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "188.166.37.58:30437" 05/23/2018 23:09:21 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "188.166.37.58:30438" 05/23/2018 23:09:21 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "Not Connected!" 05/23/2018 23:09:22 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "Not Connected!" 05/23/2018 23:09:22 +02:00 [Debug] [MinerManager] [Bitcoin] Authenticated miner: xko.bitcoin [188.166.37.58:30437] 05/23/2018 23:09:22 +02:00 [Debug] [MinerManager] [Bitcoin] Authenticated miner: xko.bitcoin [188.166.37.58:30438] 05/23/2018 23:09:22 +02:00 [Debug] [MinerManager] [Bitcoin] Authenticated miner: xko.bitcoin [188.166.37.58:30431] 05/23/2018 23:09:22 +02:00 [Debug] [MinerManager] [Bitcoin] Authenticated miner: xko.bitcoin [188.166.37.58:30433] 05/23/2018 23:09:22 +02:00 [Debug] [MinerManager] [Bitcoin] Authenticated miner: xko.bitcoin [188.166.37.58:30435] 05/23/2018 23:09:22 +02:00 [Debug] [MinerManager] [Bitcoin] Authenticated miner: xko.bitcoin [188.166.37.58:30432] 05/23/2018 23:09:22 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client connected: "188.166.37.58:30479" 05/23/2018 23:09:22 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "Not Connected!" 05/23/2018 23:09:22 +02:00 [Debug] [StratumServer] [Bitcoin] Stratum client disconnected: "Not Connected!"
Getting the same error, Stratum connects, the miner authenticates, and then stratum disconnects:
05/24/2018 15:58:32 +00:00 [Debug] [StratumServer] [BTC] Stratum client connected: "xx.xx.xx.xx:40288"
05/24/2018 15:58:32 +00:00 [Debug] [MinerManager] [BTC] Authenticated miner: group.miner [xx.xx.xx.xx:40288]
05/24/2018 15:58:33 +00:00 [Debug] [StratumServer] [BTC] Stratum client disconnected: "Not Connected!"
After some debugging, we found that after we changed the user accounts wallet address, it still stored the old address under the user's worker in the coin_addresses
table in mpos mysql database. Deleting the old address manually allowed the miner to connect. The code that checks the database is line 53 of MposStorage.Accounts.cs:
using (var connection = new MySqlConnection(_mySqlProvider.ConnectionString))
{
return connection.Query<Account>(
@"SELECT a.id, w.username, a.coin_address as address FROM pool_worker as w
INNER JOIN coin_addresses as a ON a.account_id=w.account_id
WHERE w.username = @username",
new {username}).Single();
}
hmm, strange, my rigs using username i did register within MOS webpage plus worker id, something like this: username.workerid - how can i specify to use coin address instead of username plus worker id?
cce4