smracer
Donator
Legendary
Offline
Activity: 1057
Merit: 1021
|
|
October 28, 2015, 03:49:03 PM |
|
Hi,
Could you fill a bug on github with the log file (DEBUG level) when the problem happens ? I will have a look when I have some time.
Thanks.
Sure. When it happens again I will upload the DEBUG logs. Everything is running smoothly now.
|
|
|
|
altcointalk14
|
|
November 10, 2015, 01:08:05 PM |
|
I am having difficulty getting the stratum proxy to increase difficulty.
I am using this proxy to connect to stratum.antpool.com
The difficulty stays at 1024 24/7.
I have "suggested" 4096 and 0.01 but it never changes. If I let the miners connect directly it quickly gets increased to 8k or more.
I have tried getwork enabled and disabled
If I set enableExtranonceSubscribe = true, it says mining extrononce subscribe not found
Any ideas? Thanks!
|
|
|
|
altcointalk14
|
|
November 19, 2015, 06:42:42 PM Last edit: November 19, 2015, 06:56:07 PM by altcointalk14 |
|
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" : "."
|
|
|
|
chrysophylax
Legendary
Offline
Activity: 2912
Merit: 1091
--- ChainWorks Industries ---
|
|
November 20, 2015, 01:49:23 AM Last edit: November 20, 2015, 03:40:53 AM by chrysophylax |
|
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
|
|
|
|
Pfool (OP)
|
|
November 20, 2015, 08:35:03 AM |
|
The appendWorkerNames option is not compatible with Nicehash.
Nicehash accepts only one worker by stratum connection. If you use the appendWorkerNames, each time a worker connects to the proxy, the proxy issue an authorization request on the already established stratum connection to the pool (since the proxy merges all the worker connections to a single pool connection). When Nicehash receives the second authorization request, it closes the stratum connection.
=> set "appendWorkerNames":false
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
altcointalk14
|
|
November 20, 2015, 01:40:52 PM |
|
Thank You!
I will give it a try.
|
|
|
|
mannyg
|
|
December 02, 2015, 08:05:02 PM |
|
Would this proxy work to make a stratum server to connect to a local pc running a wallet for solo mining?
|
|
|
|
altcointalk14
|
|
December 03, 2015, 02:44:11 AM |
|
I believe this is designed only to connect to pools, mainly nicehash
speaking of, I have problems connecting to nicehash with 100+ TH SHA256
Could someone post a conf file that would work for say 50 S7 or 100 S4 ASIC miners pointed to nice hash?
I have massive rejects either duplicates or above target. AND the 5min average has a lot of variability. connecting the stratum server to antpool the hashrate is very stable.
Thanks!
|
|
|
|
freedomgo
Legendary
Offline
Activity: 3276
Merit: 1178
Playbet.io - Crypto Casino and Sportsbook
|
|
December 03, 2015, 08:53:58 AM |
|
Is it possible to make a Web-based GUI and pools management for ethereum? Ethereum is different from other coins.
|
|
|
|
zOU
|
|
December 03, 2015, 05:44:45 PM |
|
Error:
Jar file was not found
1: org.glassfish.grizzly.http.server.CLStaticHttpHandler.getJarFile(CLStaticHttpHandler.java:339) 2: org.glassfish.grizzly.http.server.CLStaticHttpHandler.handle(CLStaticHttpHandler.java:278) 3: strat.mining.stratum.proxy.Launcher$2.handle(Launcher.java:294) 4: org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:188) 5: org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:217) 6: org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) 7: org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) 8: java.lang.Thread.run(Unknown Source)
Please see the log for more detail.
where are the log files?
Internal Server Error Jar file was not found 1: org.glassfish.grizzly.http.server.CLStaticHttpHandler.getJarFile(CLStaticHttpHandler.java:349) 2: org.glassfish.grizzly.http.server.CLStaticHttpHandler.handle(CLStaticHttpHandler.java:288) 3: strat.mining.stratum.proxy.grizzly.CLStaticHttpHandlerWithIndexSupport.handle(CLStaticHttpHandlerWithIndexSupport.java:60) 4: org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:188) 5: org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:219) 6: org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) 7: org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) 8: java.lang.Thread.run(Unknown Source) Please see the log for more detail. Grizzly 2.3.16 that's what I get when I connect to my server running v0.8 and java 8
|
|
|
|
chrysophylax
Legendary
Offline
Activity: 2912
Merit: 1091
--- ChainWorks Industries ---
|
|
December 03, 2015, 06:37:15 PM |
|
Error:
Jar file was not found
1: org.glassfish.grizzly.http.server.CLStaticHttpHandler.getJarFile(CLStaticHttpHandler.java:339) 2: org.glassfish.grizzly.http.server.CLStaticHttpHandler.handle(CLStaticHttpHandler.java:278) 3: strat.mining.stratum.proxy.Launcher$2.handle(Launcher.java:294) 4: org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:188) 5: org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:217) 6: org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) 7: org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) 8: java.lang.Thread.run(Unknown Source)
Please see the log for more detail.
where are the log files?
Internal Server Error Jar file was not found 1: org.glassfish.grizzly.http.server.CLStaticHttpHandler.getJarFile(CLStaticHttpHandler.java:349) 2: org.glassfish.grizzly.http.server.CLStaticHttpHandler.handle(CLStaticHttpHandler.java:288) 3: strat.mining.stratum.proxy.grizzly.CLStaticHttpHandlerWithIndexSupport.handle(CLStaticHttpHandlerWithIndexSupport.java:60) 4: org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:188) 5: org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:219) 6: org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) 7: org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) 8: java.lang.Thread.run(Unknown Source) Please see the log for more detail. Grizzly 2.3.16 that's what I get when I connect to my server running v0.8 and java 8 this doesnt really tell us anything ... where have you got the files? ... and the conf files? ... and what is your command line / parameters that you are running ( with personal details changed please ) ... this way we can have a better understanding of what it is you are trying to do ... #crysx
|
|
|
|
zOU
|
|
December 03, 2015, 07:08:17 PM |
|
this doesnt really tell us anything ...
where have you got the files? ... and the conf files? ... and what is your command line / parameters that you are running ( with personal details changed please ) ...
-> C:\Documents and Settings\Administrator\Desktop\stratum-proxy-0.8.0\stratum-proxy-0.8.0 -> conf file in the same directory -> java -jar stratum-proxy.jar -f stratum-proxy-nicehash.conf { "isScrypt" : true, "disableStratum" : true, "pools" : [ { "name" : "Nicehash Scrypt", "host" : "scrypt.eu.nicehash.com:3333", "user" : "*******", "password" : "x", "enableExtranonceSubscribe" : true }, { "name" : "Westhash Scrypt", "host" : "scrypt.usa.nicehash.com:3333", "user" : "********", "password" : "x", "enableExtranonceSubscribe" : true } ] } this way we can have a better understanding of what it is you are trying to do ...
#crysx
I just followed that: https://www.nicehash.com/index.jsp?p=asicNot that I really really intend to use it, just tinkering just in case Anyway, I moved the folder to C: and it's working just fine now C:\stratum-proxy-0.8.0\
|
|
|
|
chrysophylax
Legendary
Offline
Activity: 2912
Merit: 1091
--- ChainWorks Industries ---
|
|
December 04, 2015, 01:13:39 PM |
|
this doesnt really tell us anything ...
where have you got the files? ... and the conf files? ... and what is your command line / parameters that you are running ( with personal details changed please ) ...
-> C:\Documents and Settings\Administrator\Desktop\stratum-proxy-0.8.0\stratum-proxy-0.8.0 -> conf file in the same directory -> java -jar stratum-proxy.jar -f stratum-proxy-nicehash.conf { "isScrypt" : true, "disableStratum" : true, "pools" : [ { "name" : "Nicehash Scrypt", "host" : "scrypt.eu.nicehash.com:3333", "user" : "*******", "password" : "x", "enableExtranonceSubscribe" : true }, { "name" : "Westhash Scrypt", "host" : "scrypt.usa.nicehash.com:3333", "user" : "********", "password" : "x", "enableExtranonceSubscribe" : true } ] } this way we can have a better understanding of what it is you are trying to do ...
#crysx
I just followed that: https://www.nicehash.com/index.jsp?p=asicNot that I really really intend to use it, just tinkering just in case Anyway, I moved the folder to C: and it's working just fine now C:\stratum-proxy-0.8.0\ o ok ... so your directory paths were adjusted in the configurations by changing to the root directory ... all good ... glad you fixed it ... enjoy and make coins ... its a good stratum proxy - for what it does ... pfool has done an awesome job ... #crysx
|
|
|
|
zOU
|
|
December 04, 2015, 01:57:14 PM |
|
o ok ...
so your directory paths were adjusted in the configurations by changing to the root directory ...
I just moved the folder to C:\
|
|
|
|
chrysophylax
Legendary
Offline
Activity: 2912
Merit: 1091
--- ChainWorks Industries ---
|
|
December 04, 2015, 03:03:59 PM |
|
o ok ...
so your directory paths were adjusted in the configurations by changing to the root directory ...
I just moved the folder to C:\ thats what i mean ... the config settings are obviously set to c:\xxx\ ... if you dont want it set there - just change the config files ... especially if you are just using it to play with ... #crysx
|
|
|
|
altcointalk14
|
|
December 05, 2015, 05:21:05 PM |
|
Question regarding "last share submitted" I am on sha256 nicehash
looking at gui:8888 under each user, it lists
last share submitted: 1449335492281 current btc diff: 72722780642
This can not be diff of last share submitted, exactly what is it? Thank You
|
|
|
|
altcointalk14
|
|
December 11, 2015, 02:51:16 PM |
|
in the database log directories, are the submitted shares stored anywhere? Thank You!
|
|
|
|
helipotte
|
|
December 11, 2015, 04:25:02 PM |
|
Hi.
Does this software support different difficulties for users?
Thanks!
|
|
|
|
Flodemaga
|
|
December 12, 2015, 10:05:16 AM |
|
Does it work with Ethereum. If not, is there a plan to accommodate Ethereum based coin in this utility?
|
|
|
|
carlo_0000
Legendary
Offline
Activity: 1281
Merit: 1003
|
|
December 16, 2015, 04:33:55 PM |
|
not working with local wallet ?
or know a similar program for windows ?
|
|
|
|
|