Bitcoin Forum
December 13, 2024, 01:22:31 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 120895 times)
paputa
Full Member
***
Offline Offline

Activity: 232
Merit: 100


View Profile
September 04, 2017, 09:42:22 AM
 #601

Extranoncesize2 is 3 but i need 4 for nicehash
 my pool is mining rig rental
jwchong
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
September 23, 2017, 02:35:41 PM
 #602

Hi,

The purpose of using Stratum Proxy is to convert getwork protocol to stratum, thus bypassing extranonce2-bug and at the same time enables extranonce subscription.

Antimer L3+ and D3 is not using getwork and they support extranonce subscription, therefore, I am wondering if there is any benefit using Stratum Proxy.

Maybe Stratum Proxy is more suitable to older miner.

Am I correct?
alditrav
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
September 25, 2017, 11:48:05 PM
 #603

hi i'm installing this proxy on my vps server with hope can reduce latency to pool.

for example my ping to pool is 240~260ms

and when i'm connecting to proxy
25~35 (to vps) + 140ms (vps to pool)
is this helping me or not ?

and why i can't connect to webpanel with myvpsip:8888 , anyone can guide me so i can connect to webpanel ?
saruwatari34
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
September 28, 2017, 02:00:05 PM
 #604

2017-09-28 20:55:02,536 ERROR    [Pool-Nicehash ZEC-Thread]:strat.mining.stratum.proxy.pool.Pool - Disconnection of pool Pool [name=Nicehash ZEC, host=equihash.hk.nicehash.com:3357, username=3CzfD4rkKrrFYe7JXqsVDiSVd9wSZJDyZX, password=x, readySince=null, isReady=false, isEnabled=true, isStable=false, priority=0, weight=1].
2017-09-28 20:55:02,537 INFO     [Pool-Nicehash ZEC-Thread]:strat.mining.stratum.proxy.pool.Pool - Trying reconnect of pool Nicehash ZEC in 5.0 seconds.

what i'm wrong?

{
  "disableStratum" : true,
   "isScrypt" : false,
   "pools" : [ {
    "name" : "Nicehash ZEC",
    "host" : "equihash.hk.nicehash.com:3357",
    "user" : "3CzfD4rkKrrFYe7JXqsVDiSVd9wSZJDyZX",
    "password" : "x"
} ]
}
johnsmithx
Hero Member
*****
Offline Offline

Activity: 589
Merit: 507

I don't buy nor sell anything here and never will.


View Profile
October 04, 2017, 04:18:16 PM
 #605

hi i'm installing this proxy on my vps server with hope can reduce latency to pool.

for example my ping to pool is 240~260ms

and when i'm connecting to proxy
25~35 (to vps) + 140ms (vps to pool)
is this helping me or not ?

and why i can't connect to webpanel with myvpsip:8888 , anyone can guide me so i can connect to webpanel ?

The difference is negligible in your case.

My list of 43(+3) reviewed Bitcoin forks | You don't have to download the pre-fork blockchain again for each fork! | Beware of fraudulent AWS accounts sellers and dangerous edu AWS codes! + My personal list of legit sellers and scammers | Never publicly reveal your btc addresses, ownership or any other details and stay very far away from anybody who asks you to! | The general rule of safe buying is: if the seller is a newbie, with no reputation, with no topic nor trust feedback, offering no vouches and/or selling from a locked or self-moderated topic and unwilling to go first or use escrow => AVOID. Always check the trust feedback first and make sure that you have enabled "Show untrusted feedback by default" in "Profile / Forum Profile Information".
chrysophylax
Legendary
*
Offline Offline

Activity: 2926
Merit: 1091


--- ChainWorks Industries ---


View Profile WWW
October 05, 2017, 07:02:28 AM
 #606

2017-09-28 20:55:02,536 ERROR    [Pool-Nicehash ZEC-Thread]:strat.mining.stratum.proxy.pool.Pool - Disconnection of pool Pool [name=Nicehash ZEC, host=equihash.hk.nicehash.com:3357, username=3CzfD4rkKrrFYe7JXqsVDiSVd9wSZJDyZX, password=x, readySince=null, isReady=false, isEnabled=true, isStable=false, priority=0, weight=1].
2017-09-28 20:55:02,537 INFO     [Pool-Nicehash ZEC-Thread]:strat.mining.stratum.proxy.pool.Pool - Trying reconnect of pool Nicehash ZEC in 5.0 seconds.

what i'm wrong?

{
  "disableStratum" : true,
   "isScrypt" : false,
   "pools" : [ {
    "name" : "Nicehash ZEC",
    "host" : "equihash.hk.nicehash.com:3357",
    "user" : "3CzfD4rkKrrFYe7JXqsVDiSVd9wSZJDyZX",
    "password" : "x"
} ]
}

your setup is correct ...

the proxy does not support these newer / nonstandard algos ...

#crysx

bitGRID
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
October 12, 2017, 07:41:02 PM
 #607

Hello,

I am starting the proxy and L3+ with setting as captures.
But the miner can't connect to stratum-proxy.
Please help me.

(Stratum-proxy dashboard can connect, My server ip: 192.168.1.33)

https://ibb.co/gC9KS5
https://ibb.co/nOJqZk

I am having absolutely the same issue. Did you manage to solve your problem?

Thanks in advance
JanAndre
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
October 20, 2017, 12:24:42 PM
 #608

Hi, I have a couple of questions, I hope you guys can help me out.

Is it possible to use this proxy to solo mine directly to the wallet?
We have Antminer S9, is this a issue? Some proxys dont 'like' Antminer S7 and S9, so it would be nice to get this confirmed.

Thanks in advance. Best regards, Jan
yulbv
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
October 21, 2017, 08:44:21 PM
 #609

2017-09-28 20:55:02,536 ERROR    [Pool-Nicehash ZEC-Thread]:strat.mining.stratum.proxy.pool.Pool - Disconnection of pool Pool [name=Nicehash ZEC, host=equihash.hk.nicehash.com:3357, username=3CzfD4rkKrrFYe7JXqsVDiSVd9wSZJDyZX, password=x, readySince=null, isReady=false, isEnabled=true, isStable=false, priority=0, weight=1].
2017-09-28 20:55:02,537 INFO     [Pool-Nicehash ZEC-Thread]:strat.mining.stratum.proxy.pool.Pool - Trying reconnect of pool Nicehash ZEC in 5.0 seconds.

what i'm wrong?

{
  "disableStratum" : true,
   "isScrypt" : false,
   "pools" : [ {
    "name" : "Nicehash ZEC",
    "host" : "equihash.hk.nicehash.com:3357",
    "user" : "3CzfD4rkKrrFYe7JXqsVDiSVd9wSZJDyZX",
    "password" : "x"
} ]
}

your setup is correct ...

the proxy does not support these newer / nonstandard algos ...

#crysx

try this in your setup

    "pools" : [ {
    "name" : "nicehash ltc",
    "host" : "scrypt.eu.nicehash.com:3333",
    "user" : "31wuZD2B92nUBxxxxxcca1zXH7kAUUQjUP",
    "password" : "x",
    "enableExtranonceSubscribe" : true,
    "appendWorkerNames" : false,
    "workerNameSeparator" : "_",
    "useWorkerPassword" : false,
    "weight" : 3,
    "isEnabled": true\


    "enableExtranonceSubscribe" : true,-------this is the important line for nicehash to work
yulbv
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
October 21, 2017, 09:12:27 PM
 #610

Hi, I have a couple of questions, I hope you guys can help me out.

Is it possible to use this proxy to solo mine directly to the wallet?
We have Antminer S9, is this a issue? Some proxys dont 'like' Antminer S7 and S9, so it would be nice to get this confirmed.

Thanks in advance. Best regards, Jan

yes you can use this for solo mining.


just set up stratuhm proxy same as you would set up your s9... then s9 point to proxy address and port .


U need at least 10 s9 to have a chance to take some block reward in few months. I do not recomand to solo mine if u have under 10 s9


btc2017btc2017
Member
**
Offline Offline

Activity: 176
Merit: 10


View Profile
October 22, 2017, 12:08:42 AM
 #611

Sorry if this has already been answered, I've only looked through 8 random pages. I have the proxy running on a Raspberry Pi.

What URL do I enter on the ASICs? It is currently stratum+tcp://scrypt.eu.nicehash.com:3333#xnsub

Is it stratum+tcp://192.168.1.4:3333#xnsub or just 192.168.1.4:3333 ?

Is the proxy clever enough to handle both the L3+ and D3 at the same time? Assuming that I have this in the config. Or is it one pool at a time, meaning that I need 2 Pis?

 "pools" : [ {
    "name" : "Nicehash X11",
    "host" : "x11.eu.nicehash.com:3336",
    "user" : "19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi",
    "password" : "d=0.02;p=0.24",
    "enableExtranonceSubscribe" : true,
    "appendWorkerNames" : false,
    "workerNameSeparator" : ".",
    "useWorkerPassword" : false,
    "weight" : 9,
    "isEnabled": true
  }, {
    "name" : "Nicehash Script",
    "host" : "scrypt.eu.nicehash.com:3333",
    "user" : "19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi",
    "password" : "d=0.02;p=0.24",
    "enableExtranonceSubscribe" : true,
    "appendWorkerNames" : false,
    "workerNameSeparator" : ".",
    "useWorkerPassword" : false,
    "weight" : 9,
    "isEnabled": true
  } ]
not.you
Legendary
*
Offline Offline

Activity: 1726
Merit: 1018


View Profile
October 22, 2017, 01:06:02 AM
 #612

Sorry if this has already been answered, I've only looked through 8 random pages. I have the proxy running on a Raspberry Pi.

What URL do I enter on the ASICs? It is currently stratum+tcp://scrypt.eu.nicehash.com:3333#xnsub

Is it stratum+tcp://192.168.1.4:3333#xnsub or just 192.168.1.4:3333 ?

Is the proxy clever enough to handle both the L3+ and D3 at the same time? Assuming that I have this in the config. Or is it one pool at a time, meaning that I need 2 Pis?

 "pools" : [ {
    "name" : "Nicehash X11",
    "host" : "x11.eu.nicehash.com:3336",
    "user" : "19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi",
    "password" : "d=0.02;p=0.24",
    "enableExtranonceSubscribe" : true,
    "appendWorkerNames" : false,
    "workerNameSeparator" : ".",
    "useWorkerPassword" : false,
    "weight" : 9,
    "isEnabled": true
  }, {
    "name" : "Nicehash Script",
    "host" : "scrypt.eu.nicehash.com:3333",
    "user" : "19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi",
    "password" : "d=0.02;p=0.24",
    "enableExtranonceSubscribe" : true,
    "appendWorkerNames" : false,
    "workerNameSeparator" : ".",
    "useWorkerPassword" : false,
    "weight" : 9,
    "isEnabled": true
  } ]

The part in the proxy config that says "enableExtranonceSubscribe" : true, is already telling the proxy to connect to the pool using the extranonce so I am pretty sure that you do not need the #xnsub in the miner config.

You need two separate proxy instances to run two different algos.  I am not positive, I am not using this proxy for some time, but I think you can run both proxy instances on the same pi using different ports and then configure the miners to connect to the appropriate proxy instance based on port number.
btc2017btc2017
Member
**
Offline Offline

Activity: 176
Merit: 10


View Profile
October 22, 2017, 10:23:27 AM
 #613

The miner says dead, something is not right
btc2017btc2017
Member
**
Offline Offline

Activity: 176
Merit: 10


View Profile
October 22, 2017, 10:35:46 AM
 #614

2017-10-22 10:24:35,837 ERROR    [192.168.1.11-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - No pool available for the connection 192.168.1.11. Sending error and close the connection.
2017-10-22 10:24:35,850 INFO     [192.168.1.11-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Worker connection 192.168.1.11 closed. 0 connections active on pool None. Cause: Connection closed.
2017-10-22 10:24:35,960 INFO     [TimerExecutorThread-527]:strat.mining.stratum.proxy.pool.Pool$3 - Trying reconnect of pool ReconnectTask-Nicehash LTC...
2017-10-22 10:24:36,020 INFO     [TimerExecutorThread-527]:strat.mining.stratum.proxy.pool.Pool - Suggest the difficulty 0.01 to the pool Nicehash LTC.
2017-10-22 10:24:36,100 ERROR    [Pool-Nicehash LTC-Thread]:strat.mining.stratum.proxy.pool.Pool - Disconnection of pool Pool [name=Nicehash LTC, host=scrypt.eu.nicehash.com:3333, username=ggSFP7USSnLd9mq7yZDt2CoXuFKCnD6bRe.Proxy, password=d=0.02;p=0.24, readySince=null, isReady=false, isEnabled=true, isStable=false, priority=0, weight=9].
2017-10-22 10:24:36,103 WARN     [Pool-Nicehash LTC-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool Nicehash LTC is DOWN. Moving connections to another one.
2017-10-22 10:24:36,104 INFO     [Pool-Nicehash LTC-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool Nicehash LTC stopped.
2017-10-22 10:24:36,105 INFO     [Pool-Nicehash LTC-Thread]:strat.mining.stratum.proxy.pool.Pool - Trying reconnect of pool Nicehash LTC in 5.0 seconds.
2017-10-22 10:24:40,852 INFO     [StratumProxyManagerSeverSocketListener]:strat.mining.stratum.proxy.manager.ProxyManager$1 - New connection on /0.0.0.0:3333 from /192.168.1.11:46849.
2017-10-22 10:24:40,865 ERROR    [192.168.1.11-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - No pool available for the connection 192.168.1.11. Sending error and close the connection.
Etherion
Sr. Member
****
Offline Offline

Activity: 512
Merit: 260



View Profile
November 16, 2017, 11:45:52 AM
 #615

I want to use the API to switch between pools using this proxy.

Should I enable/disable a pool to have the proxy switch between pools or is changing the proxy priority sufficient?
BeerMan81
Full Member
***
Offline Offline

Activity: 151
Merit: 100



View Profile WWW
November 20, 2017, 07:38:39 AM
 #616

Got this working today. I should say...WOW. Really cool way to be able to pool hop and centralize the submissions. I really like the GUI too.

Obviously having a local proxy is not needed, but as i stated, I want to centralize the management. I may want to mine different coins in the future and swap for BTC or whatever...Flexibility!

Having just got my first S9 2 days ago, i still have a lot to learn before the next 11 show up (5 S9 and 6 L3+). So, here is what I have, and please advise if something is wrong/OK...

I was working with the assumption that i needed to use getWork protocol locally in my LAN. I struggled with that and could not get the miner to connect. The only way i could get the S9 to connect to the local proxy was using the stratum tag and port as can be seen in the CURRENT working config. So, it seems I have a local stratum to remote stratum connection. Is this OK? Should I use getwork? If so, what are the matching configs need to make this work?

Here should be the relevant screenshots and code :

Code:
{
 "stratumListenPort" : 3335,
 "getworkListenPort" : 8332,
 "getworkListenAddress" : "0.0.0.0",
 "pools" :
  [
  {
    "name" : "SlushPool US",
    "host" : "us-east.stratum.slushpool.com:3333",
    "user" : "BeerMan81",
    "password" : "x",
    "enableExtranonceSubscribe" : true,
    "appendWorkerNames" : true,
    "workerNameSeparator" : "."
  },
  {
    "name" : "Nicehash US SHA256",
    "host" : "sha256.usa.nicehash.com:3334",
    "user" : "WALLET",
    "password" : "x",
    "enableExtranonceSubscribe" : true,
    "appendWorkerNames" : true,
    "workerNameSeparator" : "."
  }
  ]
}







Lots of new content coming soon! - https://www.youtube.com/BeerMan81
All-in-one dashboard to monitor coin prices, wallet balances, and your ming pools. Free!
https://mycryptostats.com/?ref=f1440f27
Etherion
Sr. Member
****
Offline Offline

Activity: 512
Merit: 260



View Profile
November 20, 2017, 12:41:17 PM
 #617

When running the proxy on a windows 7 systems with Jave 8 I can't seem to be able to connecto the web gui.

on 127.0.0.1:8888 i get this

Internal Server Error Jar file was not found



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

the config file is here https://github.com/Stratehm/stratum-proxy/files/1482574/Neoscrypt.conf.txt

Am I missing somehting?
Etherion
Sr. Member
****
Offline Offline

Activity: 512
Merit: 260



View Profile
November 20, 2017, 12:58:59 PM
 #618

Ok so I moved the program to a lower level folder with no spaces and now it works

D:\temp\stratum-proxy-0.8.1
Etherion
Sr. Member
****
Offline Offline

Activity: 512
Merit: 260



View Profile
November 21, 2017, 06:12:52 AM
 #619

Is this under development still? Love this thing and can't seem to find any alternatives Sad

The Settings tab doesn't work, and the proxy seems to struggle with multipools (or perhaps switching coins on the fly by editing existing pool configs via the web gui).

Some other minor things like the graph glitches on the pool (Main graph) sometimes, but reallly like it Smiley

Pfool you still working on this ?

Thank you for the current work you've already put in as well  Wink

I noticed that changing pools vir the web gui is problematic. Is the api better? Or should one just kill the proxy and restart?
Etherion
Sr. Member
****
Offline Offline

Activity: 512
Merit: 260



View Profile
November 21, 2017, 06:13:35 AM
 #620

Also notice thet appending worker name on nicehash results is disconnects.
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!