zone117x / node-cryptonote-pool

Mining pool for CryptoNote based coins such as Bytecoin and Monero
GNU General Public License v2.0
825 stars 1.14k forks source link

socket error while connecting miner #278

Open alexmateescu opened 6 years ago

alexmateescu commented 6 years ago

Hi. I have setup your pool onto a new cryptocoin "Alloy (XAO)" and i am getting the following error when i am trying to connect the miner.

8|init | Error: Failed to parse block 8|init | at Object.BlockTemplate.nextBlob (/home/alex/node-cryptonote-pool/lib/pool.js:128:23) 8|init | at Object.Miner.getJob (/home/alex/node-cryptonote-pool/lib/pool.js:301:41) 8|init | at handleMinerMethod (/home/alex/node-cryptonote-pool/lib/pool.js:511:28) 8|init | at handleMessage (/home/alex/node-cryptonote-pool/lib/pool.js:645:13) 8|init | at Socket.socket.on.on.on.pushMessage (/home/alex/node-cryptonote-pool/lib/pool.js:699:25) 8|init | at Socket.emit (events.js:95:17) 8|init | at Socket. (_streamreadable.js:765:14) 8|init | at Socket.emit (events.js:92:17) 8|init | at emitReadable (_stream_readable.js:427:10) 8|init | at emitReadable (_stream_readable.js:423:5) 8|init | Error: Failed to parse block 8|init | at Object.BlockTemplate.nextBlob (/home/alex/node-cryptonote-pool/lib/pool.js:128:23) 8|init | at Object.Miner.getJob (/home/alex/node-cryptonote-pool/lib/pool.js:301:41) 8|init | at handleMinerMethod (/home/alex/node-cryptonote-pool/lib/pool.js:511:28) 8|init | at handleMessage (/home/alex/node-cryptonote-pool/lib/pool.js:645:13) 8|init | at Socket.socket.on.on.on.pushMessage (/home/alex/node-cryptonote-pool/lib/pool.js:699:25) 8|init | at Socket.emit (events.js:95:17) 8|init | at Socket. (_streamreadable.js:765:14) 8|init | at Socket.emit (events.js:92:17) 8|init | at emitReadable (_stream_readable.js:427:10) 8|init | at emitReadable (_stream_readable.js:423:5) 8|init | 2018-01-29 09:29:32 [master] Pool fork 1 died, spawning replacement worker... 8|init | 2018-01-29 09:29:34 [pool] (Thread 1) New block to mine at height 4014 w/ difficulty of 168679209

if i setup the pool on the cryptonote-universal-pool it is working and i was wondering if there could be something worng in the cryptonote-util package.

what could i look for in it ?

regards

falcron11468 commented 6 years ago

Same issue, did you find a fix? Tried a lot of suggestions online but not finding any working solutions for me.

alexmateescu commented 6 years ago

no. no solution yet

i have tried multiple things but none working.

On 27 February 2018 at 07:37, falcron11468 notifications@github.com wrote:

Same issue, did you find a fix? Tried a lot of suggestions online but not finding any working solutions for me.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zone117x/node-cryptonote-pool/issues/278#issuecomment-368774168, or mute the thread https://github.com/notifications/unsubscribe-auth/AVoG2v6AzLip_306fbKuxKfhP-KEJ9dxks5tY7CggaJpZM4RwK51 .

falcron11468 commented 6 years ago

I am searching, will post here if I find a solution. Please do the same.

Admiral-Noisy-Bottom commented 6 years ago

If cryptonote-universal-pool was working, go back to it. Unless you have a good reason to change. There is alos forknote pool.