I am not sure if this thread is dead, or no one is using this.
I am trying to use this to connect to nicehash.
One work shows up fine and the worker name shows up on nicehash stats.
I have my worker number set to 256 in the conf file.
When I try to connect more than one worker it says not authorized and kicks back all my workers except one. Running on ubuntu server, here is one of the responses for worker = "x":
2015-11-19 13:36:01,873 INFO [x.x.x.7-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New WorkerConnection x.x.x.7 subscribed. 2 connections active on pool Nicehash Bitcoin usa.
2015-11-19 13:36:01,973 WARN [x.x.x.7-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - User connection not authorized. Worker 1bitcoinaddress.x is not authorized on pool Nicehash Bitcoin usa. Cause: JsonRpcError [c ode=null, message=null, traceback=null]
2015-11-19 13:36:01,976 INFO [x.x.x.7-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Worker connection x.x.x.7 closed. 1 connections active on pool Nicehash Bitcoin usa. Cause: Connection closed.
I use the same config to connect my workers to other pools just fine. I am sure something different required for nicehash I am missing. Thanks!
section from conf file:
"name" : "Nicehash Bitcoin usa",
"host" : "sha256.usa.nicehash.com:3334",
"user" : "1bitcoinaddress",
"password" : "x",
"enableExtranonceSubscribe" : true,
"appendWorkerNames" : true,
"workerNameSeparator" : "."
becuase we cant see your full conf file - you will want to look at WHY the stratum proxy is kicking a worker called '1bitcoinaddress.x' when the setup you have is based on '1bitcoinaddress' ( in the setting "user" : "1bitcoinaddress", ) ...
i have a number of systems running this proxy directly connected to nicehash and all of them are working ... so when you figure out the reason why your workers are different - then you can move on to the next step - which is the nicehash connectivity ...
edit - i just realized you have assigned - "appendWorkerNames" : true, - so i guess the worker will be passed through the proxy as x ...
how long have you had the proxy running without on nicehash? ...
nicehash ban connections that are have been sitting idle for more than a few minutes ... the ban time is usually and hour or two ...
so if the proxy has been sitting there without a worker - it maybe that it is banned and any other worker you pass through the proxy will be banned from being used ...
this is one of the reasons i set the parameter - "appendWorkerNames" : false, - and push the workers all through one address ...
this may not work for you - or it maybe a different error ... but a good test maybe that you wait 2 hours by disconnecting the proxy from nicehash - the reconnect it and test with the same settings and push multiple workers through ... if it goes through - then it just may be the ban - if it gives the same error as you are getting now then we need to look more at what configuration you may have ...
the last time an issue happened similar to this was a typo ...
#crysx