Coder Social home page Coder Social logo

Comments (9)

mbevand avatar mbevand commented on July 2, 2024

Yes I don't implement client.reconnect... but the error leads to a reconnection - so the end result is what we want but in a completely unintentional way :) I will look into properly supporting client.reconnect, eventually. Pull requests are welcome!

from silentarmy.

lexele avatar lexele commented on July 2, 2024

I run on nicehash for like two hours this morning with sometimes this errors, until at some point the miner crashed. Afterwards I couldn't connect again to nicehash .

from silentarmy.

n1koo avatar n1koo commented on July 2, 2024

Just had this happened to myself too. Not really related to the client.reconnect except that being the thing triggering it for @poiuty

from silentarmy.

mbevand avatar mbevand commented on July 2, 2024

This error ("not compatible with servers fixing the first 17 bytes of the nonce") is because equihash.eu.nicehash.com resolves to 2 IP addresses: 5.153.50.217 and 37.58.117.214. And nicehash seems to be running different stratum configuration: one of them returns a nonce of 5 bytes (supported) and the other of 17 bytes (unsupported). During startup silentarmy has 50% chance of hitting the wrong server, so it gets this fatal error and aborts. Just try launching silentarmy again and it will eventually pick the right server :)

from silentarmy.

mbevand avatar mbevand commented on July 2, 2024

I am going to close #16 since implementing client.reconnect is tracked in #17.

from silentarmy.

kenshirothefist avatar kenshirothefist commented on July 2, 2024

FYI (also posted on bitcointalk):

Please revise the official stratum documentation at https://slushpool.com/help/#!/manual/stratum-protocol. There are no such limitations, a nonce can be even larger. The fact that you're receiving different nonce sizes is not related to a particular NiceHash stratum endpoint. It is simply a fact that NiceHash is forwarding work from different hashing power orders, which are working on different target pools. Anyway, 17 bytes nonce is the largest (max) that you'll receive from NiceHash stratum and even at this size you still have 3 bytes for iteration. So there is no reason why not to accept this kind of work. Please fix this as soon as possible, since our users would really love to use your miner and are now not able to do so due to these limitations of your miner.

Thank you and keep up the good work!

from silentarmy.

birdie-github avatar birdie-github commented on July 2, 2024

So how am I supposed to use equihash.eu.nicehash.com:3557 with silentarmy?

All I get is "Stratum: connection was closed (invalid user/pwd?)"

Running master on CentOS 7.0/Python 3.4.

from silentarmy.

kenshirothefist avatar kenshirothefist commented on July 2, 2024

@birdie-github you're using wrong port - it's 3357 ... try again, please (add "#xnsub" after port to enable extranonce.subscription):

silentarmy -c stratum+tcp://equihash.eu.nicehash.com:3357#xnsub -u [YOUR-BTC-ADDRESS].[WORKER-NAME] -p x

from silentarmy.

birdie-github avatar birdie-github commented on July 2, 2024

@kenshirothefist

Thank you! It helped.

from silentarmy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.