btccom / libbtctools

A core library of BTCTools

Repository from Github https://github.combtccom/libbtctoolsRepository from Github https://github.combtccom/libbtctools

failed:getHashrate:./lua/scripts/scanner/WhatsMinerHttpsLuci.lua:300

rock2022 opened this issue · comments

I'm having trouble reading the hashrate and I'm not sure how to fix it, can you provide advice?thanks

192.168.24.229 C6:10:09:00:18:30 success WhatsMiner M30S_V50
--------- HelperBase:makeRequest ---------
Error: Exception raised: ./lua/scripts/scanner/WhatsMinerHttpsLuci.lua:300: attempt to call field 'getNext' (a nil value)

stack traceback:
./lua/scripts/scanner/WhatsMinerHttpsLuci.lua:300: in function 'exec'
./lua/scripts/HelperBase.lua:22: in function <./lua/scripts/HelperBase.lua:21>
[C]: in function 'xpcall'
./lua/scripts/utils/oop.lua:37: in function 'try'
./lua/scripts/HelperBase.lua:21: in function 'makeRequest'
./lua/scripts/ScannerHelper.lua:25: in function <./lua/scripts/ScannerHelper.lua:24>

stack traceback:
./lua/scripts/HelperBase.lua:24: in function 'func'
./lua/scripts/utils/oop.lua:51: in function 'catch'
./lua/scripts/HelperBase.lua:23: in function 'makeRequest'
./lua/scripts/ScannerHelper.lua:25: in function <./lua/scripts/ScannerHelper.lua:24>
192.168.24.229 C6:10:09:00:18:30 failed:getHashrate:./lua/scripts/scanner/WhatsMinerHttpsLuci.lua:300: attempt to call field 'getNext' (a nil value) WhatsMiner M30S_V50

when i update machine firmware ,resolved