Pfool (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 18, 2014, 08:25:51 PM |
|
Just wanted to say thanks for this, it's a great help when mining on Nvidia. Do you have a donation address (BTC one in sig?). I would like to buy you a beer!
Beer received! Cheers! ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fwww.doc-computers.com%2FSmileys%2Fclassic%2Fsmile_bierre%255B2%255D.gif&t=664&c=5_Hh9o9WER3f3g)
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
Boffinboy
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 80
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 18, 2014, 08:46:00 PM |
|
Just wanted to say thanks for this, it's a great help when mining on Nvidia. Do you have a donation address (BTC one in sig?). I would like to buy you a beer!
Beer received! Cheers! ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fwww.doc-computers.com%2FSmileys%2Fclassic%2Fsmile_bierre%255B2%255D.gif&t=664&c=5_Hh9o9WER3f3g) No problem! Enjoy!
|
BTC - 1GVGSkdnHz12Zuy6rYcnMxoy6PMBqvL4z6
|
|
|
|
Pfool (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 19, 2014, 08:39:09 AM |
|
The multi-algo is a miner feature. What do you want to know about that ?
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
qiufeng
Newbie
Offline
Activity: 59
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 19, 2014, 08:47:21 AM |
|
The multi-algo is a miner feature. What do you want to know about that ?
like nicehash.com can control what algo to mine!
|
|
|
|
Pfool (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 19, 2014, 09:06:36 AM |
|
The multi-algo is a miner feature. What do you want to know about that ?
like nicehash.com can control what algo to mine! Do you mean pools for different algo on the proxy ? It may be possible (maybe not if you use some Getwork miners) but I do not see how the miners connected to the proxy will be aware of the current pool algorithm (and of algorithm switching). Since in SGminer V5 one algorithm is tied to one pool defined in the miner, I think you will have to launch one instance of the proxy for each algorithm and configure your miners with all the proxies (one by algorithm). It is a lots of configuration but definitely doable. (even if I do not really see the advantages of using a proxy for this case)
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
qiufeng
Newbie
Offline
Activity: 59
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 19, 2014, 09:18:02 AM |
|
The multi-algo is a miner feature. What do you want to know about that ?
like nicehash.com can control what algo to mine! Do you mean pools for different algo on the proxy ? It may be possible (maybe not if you use some Getwork miners) but I do not see how the miners connected to the proxy will be aware of the current pool algorithm (and of algorithm switching). Since in SGminer V5 one algorithm is tied to one pool defined in the miner, I think you will have to launch one instance of the proxy for each algorithm and configure your miners with all the proxies (one by algorithm). It is a lots of configuration but definitely doable. (even if I do not really see the advantages of using a proxy for this case) i see .thank you!
|
|
|
|
Globee07
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 397
Merit: 11
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 20, 2014, 12:45:14 PM |
|
I always get invalid or corrupt jar file error when i try to run it. What am i doing wrong? ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
Pfool (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 20, 2014, 01:31:53 PM |
|
I always get invalid or corrupt jar file error when i try to run it. What am i doing wrong? ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Could you post the error you get from the command line ? Could you try to open the stratum-proxy.jar file with a zip archiver (winrar, winzip, 7-zip...)? Does it work ? Thanks
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
Globee07
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 397
Merit: 11
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 20, 2014, 05:04:04 PM |
|
I always get invalid or corrupt jar file error when i try to run it. What am i doing wrong? ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Could you post the error you get from the command line ? Could you try to open the stratum-proxy.jar file with a zip archiver (winrar, winzip, 7-zip...)? Does it work ? Thanks Actually I was able to run it later on but now Im stuck at another issue. Let me explain the case quickly ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I have some rigs behind a firewall that is really restrictive and i have absolutely no control of. They were running scrypt with that above mentioned old proxy in a way like: The miners behind the firewall and internet proxy were using: "http:proxyaddress:8080|http://xxx.xxx.xxx.xxx:563" xxx.xxx.xxx.xxx:563 is the address of a router attached directly to the internet where the 563 port is forwarded to a local address and 8332 port. the stratum proxy is running on that local machine which can connect to any pool on any port. All i had to set-up for the proxy is a pool address and a pool port and it was working like a charm. But now its time to switch them to x11. here is what i get from your proxy: C:\Users\admin\Desktop\stratum-proxy-0.3.0>java -jar stratum-proxy.jar -h eu-01. miningrigrentals.com:3333 -u asusmatrix280x.3277 -p x --getwork-listen-port 8332
Log directory not set or available. Use the tmp OS directory. 2014-06-20 18:56:43,195 INFO [main]:strat.mining.stratum.proxy.Launcher - Lo gLevel not set, using INFO. 2014-06-20 18:56:43,212 INFO [main]:strat.mining.stratum.proxy.Launcher - Us ing pools: [Pool [name=eu-01.miningrigrentals.com:3333, host=eu-01.miningrigrent als.com:3333, uri=null, username=asusmatrix280x.3277, password=x, difficulty=nul l, extranonce1=null, extranonce2Size=null, activeSince=null, isActive=false, isE nabled=true, isExtranonceSubscribeEnabled=false, numberOfSubmit=1, priority=0, a cceptedDifficulty=0.0, rejectedDifficulty=0.0]]. 2014-06-20 18:56:43,683 ERROR [main]:strat.mining.stratum.proxy.Launcher - Fa iled to start the stratum proxy. java.net.BindException: Address already in use: JVM_Bind at java.net.DualStackPlainSocketImpl.bind0(Native Method) at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source) at java.net.AbstractPlainSocketImpl.bind(Unknown Source) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.bind(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at strat.mining.stratum.proxy.manager.StratumProxyManager.startListening IncomingConnections(StratumProxyManager.java:148) at strat.mining.stratum.proxy.Launcher.initProxyManager(Launcher.java:18 2) at strat.mining.stratum.proxy.Launcher.main(Launcher.java:115) 2014-06-20 18:56:44,409 ERROR [Pool-eu-01.miningrigrentals.com:3333-Thread]:s trat.mining.stratum.proxy.pool.Pool - Stopping pool eu-01.miningrigrentals.com:3 333 since user asusmatrix280x.3277 is not authorized. 2014-06-20 18:56:44,412 WARN [Pool-eu-01.miningrigrentals.com:3333-Thread]:s trat.mining.stratum.proxy.manager.StratumProxyManager - Pool eu-01.miningrigrent als.com:3333 is DOWN. Moving connections to another one. 2014-06-20 18:56:44,419 INFO [Pool-eu-01.miningrigrentals.com:3333-Thread]:s trat.mining.stratum.proxy.pool.Pool - Pool eu-01.miningrigrentals.com:3333 stopp ed. 2014-06-20 18:56:44,422 INFO [Pool-eu-01.miningrigrentals.com:3333-Thread]:s trat.mining.stratum.proxy.pool.Pool - Trying reconnect of pool eu-01.miningrigre ntals.com:3333 in 5.0 seconds. I might be missing something really obvious, im still a begginer at this whole proxy thing so don't be surprised if i did something terribly wrong ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
Pfool (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 20, 2014, 05:57:54 PM |
|
No problem, everybody has been a "noob" one day. ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) This error happens when a port used by the proxy is already used by another program. In your case, the proxy tries to bind the port 3333 for the stratum protocol (even if you do not use it). I think your old proxy is still running and is bound to the port 3333 for stratum. You should add --stratum-listen-port 3334 on your command line. (or any other port which is not already used).
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
Globee07
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 397
Merit: 11
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 20, 2014, 08:25:34 PM |
|
No problem, everybody has been a "noob" one day. ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) This error happens when a port used by the proxy is already used by another program. In your case, the proxy tries to bind the port 3333 for the stratum protocol (even if you do not use it). I think your old proxy is still running and is bound to the port 3333 for stratum. You should add --stratum-listen-port 3334 on your command line. (or any other port which is not already used). Thanks a lot! I forgot to mention that, that proxy machine is a miner also, but as i have read your post i figured that it must be that locking the port. Funny thing about java is that it turns out if i start the proxy first then the sgminer then everything works like a charm, but if the miner is running when i start the proxy then its not working. (the miner is connecting to the same pool with different worker name, not through the proxy)
|
|
|
|
crowetic
Legendary
Offline
Activity: 2282
Merit: 1072
https://crowetic.com | https://qortal.org
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 20, 2014, 08:36:34 PM |
|
I'm using your proxy on a Raspberry Pi and with several Nvidia card mining X11, working great !
Also I've been coding some php-frontend to log info from the JSON data you provide, thanks a lot for your work.
how are you running a pi with nvidia cards, could you please PM with an answer? Thanks!
|
▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▒ ▒▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▒ ▒▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▒ ▒▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▒ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓ ▒▒▒▒▒▒ ▓▓▓▓▓▓▒ ▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▒ ▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▒ ▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓
| ORTAL
| .⊙.Web and Application hosting. ⊙ decentralized infrastructure .⊙.leveling and voting.
| Founder/current dev group facilitator |
[/td][/tr][/table] [/table]
|
|
|
Pfool (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 20, 2014, 08:42:17 PM |
|
I think he wants to say: the proxy on the pi and several Nvidia based rigs connected to the proxy.
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
leicas
Newbie
Offline
Activity: 9
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 20, 2014, 10:52:26 PM |
|
I think he wants to say: the proxy on the pi and several Nvidia based rigs connected to the proxy.
Yep ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
djbert
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 462
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 21, 2014, 12:44:49 PM |
|
I have an odd issue...i am using a Erupter Cube (sha256), which can only use the getwork protocol, however it will not start or get work through the java proxy. the java proxy connects just fine (nicehash 256sha pool), recognizes the Cube, but never sends or receives any work from it. The proxy eventually shuts down the connection, because it says it is inactive. But the java proxy just keeps showing a new block as been detected on the pool, so i am guessing it is connected ok. I then connect to the Cube and it showing it is idle as well. any ideas on this??
|
|
|
|
Pfool (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 21, 2014, 03:52:42 PM |
|
I have an odd issue...i am using a Erupter Cube (sha256), which can only use the getwork protocol, however it will not start or get work through the java proxy. the java proxy connects just fine (nicehash 256sha pool), recognizes the Cube, but never sends or receives any work from it. The proxy eventually shuts down the connection, because it says it is inactive. But the java proxy just keeps showing a new block as been detected on the pool, so i am guessing it is connected ok. I then connect to the Cube and it showing it is idle as well. any ideas on this??
Could you run the proxy with the option --log-level DEBUG and send me the log file ? (which is called stratum-proxy.log in the OS temp directory, or you can change the directory with --log-directory). Thanks
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
djbert
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 462
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 21, 2014, 11:34:54 PM |
|
I have an odd issue...i am using a Erupter Cube (sha256), which can only use the getwork protocol, however it will not start or get work through the java proxy. the java proxy connects just fine (nicehash 256sha pool), recognizes the Cube, but never sends or receives any work from it. The proxy eventually shuts down the connection, because it says it is inactive. But the java proxy just keeps showing a new block as been detected on the pool, so i am guessing it is connected ok. I then connect to the Cube and it showing it is idle as well. any ideas on this??
Could you run the proxy with the option --log-level DEBUG and send me the log file ? (which is called stratum-proxy.log in the OS temp directory, or you can change the directory with --log-directory). Thanks I PM'd you a excerpt of the log file. thank you for the help
|
|
|
|
Globee07
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 397
Merit: 11
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 23, 2014, 09:30:28 AM Last edit: June 23, 2014, 09:41:48 AM by Globee07 |
|
I have an issue running the proxy. As I have explained above, the proxy is running on a machine collecting work from miner rigs. The proxy is conencted to a rental site where my proxy machine is visible as a "big rig".
When I start the proxy and the rigs everything runs just fine. The "big rig" is visible at the rental site and hashing flawlessly.
For some hours atleast, then the proxy starts to give such errors:
[quote]2014-06-22 08:50:04,112 INFO [Grizzly-worker(5)]: [GetworkWorkerConnection] REJECTED share (diff: 0.005) from workername@Getwork-/000.000.000.000 on eu-01.miningrigrentals.com:3333. Booo !!!!. Error: JsonRpcError [code=24, message=unauthorized worker, traceback=null][/quote]
(the workername and ip address was masked by me)
The only way to get it work properly again is to terminate the proxy and start running it again.
The very strange thing is that when i start the proxy is runs just fine for 3-4-6 then starts to fail.
Any ideas? [/code]
|
|
|
|
Pfool (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
June 23, 2014, 09:46:31 AM |
|
Based on the error returned by miningrigs (Code: (24, message=unauthorized worker, traceback=null)), it seems that the worker is no more authorized to submit shares but I don't known why.
Could you run the proxy with the --log-level DEBUG option and send me the log file when the bug happens? I will also need your command line options.
|
Thanx BTC: 19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi
|
|
|
|