Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

socket error while connecting miner #285

Open
alexmateescu opened this issue Jan 29, 2018 · 7 comments
Open

socket error while connecting miner #285

alexmateescu opened this issue Jan 29, 2018 · 7 comments

Comments

@alexmateescu
Copy link

Hi.

I have setup your pool onto and i am getting the following error when i am trying to connect the miner. The error is below and the miner i use is xmr-stak. i have tried to replace cryptonote-util package and got it working with one of them but only for very very slow hash rate line ~19H/s. anything else the results are rejected. what could it be wrong? where should i look?

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.

Regards

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. (stream_readable.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. (stream_readable.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

@lloyd-yeo
Copy link

lloyd-yeo commented Feb 10, 2018

Did anyone find a resolution to this error?

I'm also getting this after running pm2 log pool:

/home/pooldaemon/.pm2/logs/pool-error-8.log last 15 lines: 8|pool | 2018-02-10 09:56 +00:00: (Worker 2 - 23825) Socket Error from 88.98.201.182 Error: Error: read EHOSTUNREACH 8|pool | 2018-02-10 10:18 +00:00: (Worker 4 - 23835) Socket Error from 202.166.49.253 Error: Error: read ETIMEDOUT 8|pool | 2018-02-10 10:31 +00:00: (Worker 3 - 23830) Socket Error from 58.182.37.57 Error: Error: read ETIMEDOUT 8|pool | 2018-02-10 10:40 +00:00: (Worker 2 - 23825) Socket Error from 116.87.88.44 Error: Error: read ETIMEDOUT 8|pool | 2018-02-10 10:40 +00:00: (Worker 1 - 23824) Socket Error from 60.50.46.95 Error: Error: read ETIMEDOUT 8|pool | 2018-02-10 11:02 +00:00: (Worker 4 - 23835) Malformed message from 5.101.40.34 Message: /*�Cookie: mstshash=Administr 8|pool | 2018-02-10 11:06 +00:00: (Worker 3 - 23830) Socket Error from 202.166.49.253 Error: Error: read ETIMEDOUT 8|pool | 2018-02-10 11:15 +00:00: (Worker 1 - 23824) Socket Error from 119.74.138.124 Error: Error: read ETIMEDOUT 8|pool | 2018-02-10 11:18 +00:00: (Worker 3 - 23830) Socket Error from 222.164.18.235 Error: Error: read ETIMEDOUT 8|pool | 2018-02-10 11:24 +00:00: (Worker 3 - 23830) Malformed message from 5.101.40.34 Message: /*�Cookie: mstshash=Administr 8|pool | 2018-02-10 11:28 +00:00: (Worker 2 - 23825) Socket Error from 202.166.49.253 Error: Error: read ETIMEDOUT 8|pool | 2018-02-10 11:42 +00:00: (Worker 3 - 23830) Malformed message from 5.101.40.34 Message: /*�Cookie: mstshash=Administr

And for a known fact those IPs do not have any network issues. Might there be some sort of overloading? Please advise so that I can scale the server if required.

@bobbieltd
Copy link
Contributor

@alexmateescu Coin not supported
@lloyd-yeo ETIMEOUT is normal.

@alexmateescu
Copy link
Author

@bobbieltd i have also tried your node-cryptonote-util package and with that one with slow hash rate everything is fine but over 500 H/s it is rejecting all results. our coind looks like it is using v3 blocks. maybe if you could help fixing your cryptonote-util package. i am available to test and i can give you full access to the vm so test and fix.

@bobbieltd
Copy link
Contributor

Could you please wait ? The nodejs-pool for forknote (ITNS) from one pool owner will be released open source soon. It’s not just util package, the codes are heavily modified and improved for ITNS (I think it will work flawlessssly with other forknote coins too).

@alexmateescu
Copy link
Author

alexmateescu commented Feb 11, 2018 via email

@bobbieltd
Copy link
Contributor

For info, here is recently released ITNS (forknote) nodejs-pool for everyone from Venthos : https://github.com/Venthos/nodejs-pool

@alexmateescu
Copy link
Author

alexmateescu commented Mar 4, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants