Stratehm / stratum-proxy

Java implementation of a stratum->stratum/HTTPGetwork proxy with a Web GUI and some pool switching strategies (PriorityFailover, WeightedRoundRobin). Simple to install and configure.
GNU General Public License v3.0
199 stars 118 forks source link

no automatic reconnect when miner restarts - minerd/ccminer #20

Closed chrysophylax69 closed 9 years ago

chrysophylax69 commented 10 years ago

hi,

there is an issue im having that results in a 'booo' on the miners end when the client itself is diconnected and restarted. ie - a computer reboots and the miner auto starts connecting to stratum proxy but has 'boo' results with EVERY share ...

this only happens with minerd/ccminer - compiled in fedora 20 x64 ... sgminer has no such issues reconnecting to any of the proxies ...

the way i seem to get around it is to stop the stratum-proxy then start up the original proxy (which is https://github.com/slush0/stratum-mining-proxy/tarball/master stratum-proxy) - wait for the workers to re-establish connection after 30 seconds - then stop slush's proxy - then restart this stratum proxy again ...

thats really the only way of getting the workers to start sending 'yay' shares through ...

is there something wrong here or am I doing something wrong?

crysx

Stratehm commented 10 years ago

Hi,

Could you give me the cause of the share rejection ? (Share above target, job not found...).

You can find this cause in the stratum-proxy logs (check the Booo lines in the logs)

Stratehm commented 9 years ago

No response. Closing.

chrysophylax69 commented 9 years ago

sorry - actually missed this one ages ago ...

i found the issue to be simply that the miners were set as http:// ( or getwork - as far as i can gather ) and not stratum protocol - stratum+tcp:// ...

tanx :) ...

crysx