Bitcoin Forum
November 10, 2024, 09:56:57 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [26] 27 28 29 30 31 32 33 »
  Print  
Author Topic: New stratum/getwork proxy with Web-based GUI and pools management  (Read 120881 times)
smracer
Donator
Legendary
*
Offline Offline

Activity: 1057
Merit: 1021



View Profile
October 28, 2015, 03:49:03 PM
 #501

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
Sr. Member
****
Offline Offline

Activity: 751
Merit: 253


View Profile
November 10, 2015, 01:08:05 PM
 #502

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
Sr. Member
****
Offline Offline

Activity: 751
Merit: 253


View Profile
November 19, 2015, 06:42:42 PM
Last edit: November 19, 2015, 06:56:07 PM by altcointalk14
 #503

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 Offline

Activity: 2912
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
November 20, 2015, 01:49:23 AM
Last edit: November 20, 2015, 03:40:53 AM by chrysophylax
 #504

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)
Full Member
***
Offline Offline

Activity: 217
Merit: 100


View Profile WWW
November 20, 2015, 08:35:03 AM
 #505

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 Wink
BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
altcointalk14
Sr. Member
****
Offline Offline

Activity: 751
Merit: 253


View Profile
November 20, 2015, 01:40:52 PM
 #506

Thank You!

I will give it a try.
mannyg
Full Member
***
Offline Offline

Activity: 142
Merit: 101


View Profile
December 02, 2015, 08:05:02 PM
 #507

Would this proxy work to make a stratum server to connect to a local pc running a wallet for solo mining? 
altcointalk14
Sr. Member
****
Offline Offline

Activity: 751
Merit: 253


View Profile
December 03, 2015, 02:44:11 AM
 #508

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 Offline

Activity: 3276
Merit: 1178


Playbet.io - Crypto Casino and Sportsbook


View Profile
December 03, 2015, 08:53:58 AM
 #509

Is it possible to make a Web-based GUI and pools management for ethereum? Ethereum is different from other coins.

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
zOU
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500

★ these are stars ★


View Profile
December 03, 2015, 05:44:45 PM
 #510

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?

Code:
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 Offline

Activity: 2912
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
December 03, 2015, 06:37:15 PM
 #511

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?

Code:
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
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500

★ these are stars ★


View Profile
December 03, 2015, 07:08:17 PM
 #512

Quote
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

Code:
{
  "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
  }
  ]
}

Quote
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=asic

Not that I really really intend to use it, just tinkering just in case Smiley


Anyway, I moved the folder to C: and it's working just fine now Smiley

C:\stratum-proxy-0.8.0\

chrysophylax
Legendary
*
Offline Offline

Activity: 2912
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
December 04, 2015, 01:13:39 PM
 #513

Quote
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

Code:
{
  "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
  }
  ]
}

Quote
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=asic

Not that I really really intend to use it, just tinkering just in case Smiley


Anyway, I moved the folder to C: and it's working just fine now Smiley

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 Smiley ...

its a good stratum proxy - for what it does ... pfool has done an awesome job ...

#crysx

zOU
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500

★ these are stars ★


View Profile
December 04, 2015, 01:57:14 PM
 #514


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 Offline

Activity: 2912
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
December 04, 2015, 03:03:59 PM
 #515


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 Smiley ...

#crysx

altcointalk14
Sr. Member
****
Offline Offline

Activity: 751
Merit: 253


View Profile
December 05, 2015, 05:21:05 PM
 #516

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
Sr. Member
****
Offline Offline

Activity: 751
Merit: 253


View Profile
December 11, 2015, 02:51:16 PM
 #517

in the database log directories, are the submitted shares stored anywhere?  Thank You!
helipotte
Hero Member
*****
Offline Offline

Activity: 650
Merit: 500


Pick and place? I need more coffee.


View Profile
December 11, 2015, 04:25:02 PM
 #518

Hi.

Does this software support different difficulties for users?

Thanks!
Flodemaga
Sr. Member
****
Offline Offline

Activity: 286
Merit: 250


View Profile
December 12, 2015, 10:05:16 AM
 #519

Does it work with Ethereum. If not, is there a plan to accommodate Ethereum based coin in this utility?
carlo_0000
Legendary
*
Offline Offline

Activity: 1281
Merit: 1003


View Profile
December 16, 2015, 04:33:55 PM
 #520

not working with local wallet ?

or know a similar program for windows ?
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [26] 27 28 29 30 31 32 33 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!