Pages:
Author

Topic: New stratum/getwork proxy with Web-based GUI and pools management - page 21. (Read 120883 times)

full member
Activity: 224
Merit: 100
A Blockchain Mobile Operator With Token Rewards
i think even this is a problem
Code:
2014-10-12 12:48:12,232 ERROR [Pool-ProHashing-Thread]: [PoolConnection]    Pool-ProHashing. JSON-RPC parsing error with line: {"error": [-3, "Method 'subscribe' not found for service 'mining.extranonce'", null], "id": 2, "result": null}.
i think you have to check what the pool support.
full member
Activity: 217
Merit: 100
In your miner command line, you try to connect on port 44000. But the stratum port of the proxy configuration fime is 40000. Just change the port number  Wink
full member
Activity: 201
Merit: 100
promising software! but it will not work for me.. any ideas?

Quote
2014-10-12 12:48:10,303 INFO  [main]: [Launcher]    Using INFO LogLevel.
2014-10-12 12:48:10,314 INFO  [main]: [Launcher]    API log level set to INFO.
2014-10-12 12:48:10,350 INFO  [main]: [Launcher]    Database directory not specified. Using default one: C:\XXX\stratum-proxy-0.5.1\database.
2014-10-12 12:48:10,369 INFO  [main]: [DatabaseManager]    Starting DatabaseManager...
2014-10-12 12:48:11,462 INFO  [main]: [DatabaseManager]    DatabaseManager started.
2014-10-12 12:48:11,464 INFO  [main]: [Launcher]    Using pools: [Pool [name=ZZZ, host=YYY:1234, username=XXXXX, password=x, readySince=null, isReady=false, isEnabled=true, isStable=false, priority=0, weight=9], Pool [name=Wafflepool X11, host=eu.wafflepool.com:3331, username=19wv8FQKv3NkwTdzBCQn1AGsb9ghqBPWXi, password=d=0.008, readySince=null, isReady=false, isEnabled=false, isStable=false, priority=1, weight=1]].
2014-10-12 12:48:11,765 WARN  [main]: [ProxyManager]    Do not start pool Wafflepool X11 since it is disabled.
2014-10-12 12:48:11,768 INFO  [main]: [ProxyManager]    ServerSocket opened on /0.0.0.0:40000.
2014-10-12 12:48:11,770 INFO  [main]: [Launcher]    Getwork port disabled.
2014-10-12 12:48:12,044 INFO  [Pool-ProHashing-Thread]: [ProxyManager]    Set difficulty 1024.0 on pool ProHashing.
2014-10-12 12:48:12,049 INFO  [Pool-ProHashing-Thread]: [ProxyManager]    New block detected on pool ProHashing.
2014-10-12 12:48:12,232 ERROR [Pool-ProHashing-Thread]: [PoolConnection]    Pool-ProHashing. JSON-RPC parsing error with line: {"error": [-3, "Method 'subscribe' not found for service 'mining.extranonce'", null], "id": 2, "result": null}.
java.lang.NullPointerException
   at strat.mining.stratum.proxy.pool.Pool.processSubscribeExtranonceResponse(Pool.java:446)
   at strat.mining.stratum.proxy.pool.PoolConnection.onExtranonceSubscribeResponse(PoolConnection.java:130)
   at strat.mining.stratum.proxy.network.StratumConnection.onResponseReceived(StratumConnection.java:314)
   at strat.mining.stratum.proxy.network.StratumConnection.onLineRead(StratumConnection.java:237)
   at strat.mining.stratum.proxy.network.StratumConnection.access$200(StratumConnection.java:56)
   at strat.mining.stratum.proxy.network.StratumConnection$1.run(StratumConnection.java:160)
2014-10-12 12:48:12,253 INFO  [Pool-ProHashing-Thread]: [ProxyManager]    Set difficulty 1024.0 on pool ProHashing.
2014-10-12 12:48:12,257 INFO  [Pool-ProHashing-Thread]: [Pool]    Pool ProHashing started
2014-10-12 12:48:12,260 WARN  [Pool-ProHashing-Thread]: [ProxyManager]    Pool ProHashing is STABLE.
2014-10-12 12:48:12,264 WARN  [Pool-ProHashing-Thread]: [ProxyManager]    Pool ProHashing is UP.
2014-10-12 12:48:12,778 INFO  [main]: [ApplicationHandler]    Initiating Jersey application, version Jersey: 2.9.1 2014-06-01 23:30:50...
2014-10-12 12:48:14,896 INFO  [main]: [NetworkListener]    Started listener bound to [0.0.0.0:8888]
2014-10-12 12:48:14,911 INFO  [main]: [HttpServer]    [HttpServer] Started.
2014-10-12 12:48:19,713 INFO  [Pool-ProHashing-Thread]: [ProxyManager]    Set difficulty 1024.0 on pool ProHashing.
2014-10-12 12:48:19,715 INFO  [Pool-ProHashing-Thread]: [ProxyManager]    New block detected on pool ProHashing.
2014-10-12 12:48:31,165 INFO  [Pool-ProHashing-Thread]: [ProxyManager]    Set difficulty 1024.0 on pool ProHashing.
2014-10-12 12:48:31,168 INFO  [Pool-ProHashing-Thread]: [ProxyManager]    New block detected on pool ProHashing.

so the server is connected, and i can see webinterface..
but no client can connect!

Quote
minerd.exe -t 6 -a scrypt -o stratum+tcp://127.0.0.1:44000 -O XXXXXX:x
[2014-10-12 12:57:34] 6 miner threads started, using 'scrypt' algorithm.
[2014-10-12 12:57:34] Starting Stratum on stratum+tcp://127.0.0.1:44000
[2014-10-12 12:57:36] Stratum connection failed: Failed to connect to 127.0.0.1
port 44000: Connection refused
[2014-10-12 12:57:36] ...retry after 30 seconds
full member
Activity: 217
Merit: 100
On another note, I have installed the proxy on a windows box, athlon dual core. the cpu load is fine, one user works with miningrigrentals, two and it's choking, hashrate is all over the place, stop/start.

The problem seems to be that the pool I'm trying to use (miningrigrentals) sends a reconection port for each user, the proxy sticks to the one it's using until told otherwise. If trying two users with append user name, this is when MRR complains about a user sending work to the wrong port.
I suspect that's a major rewrite to fix.

Indeed, if miningrigrentals send a reconnect for each user, this proxy will not be able to handle this use case.
member
Activity: 199
Merit: 10
On another note, I have installed the proxy on a windows box, athlon dual core. the cpu load is fine, one user works with miningrigrentals, two and it's choking, hashrate is all over the place, stop/start.

The problem seems to be that the pool I'm trying to use (miningrigrentals) sends a reconection port for each user, the proxy sticks to the one it's using until told otherwise. If trying two users with append user name, this is when MRR complains about a user sending work to the wrong port.
I suspect that's a major rewrite to fix.
sr. member
Activity: 279
Merit: 250
I'm having problem a long time.
would u like to show me how it works
check ur pm
full member
Activity: 217
Merit: 100
Check that the following parameters are different for the 2 instances:
"databaseDirectory" and "logDirectory".

The databases have to be different for the both instances (or they will have access conflicts).
For the log files, it should not change anything if they use the same file, but it will be easier to debug.
hero member
Activity: 653
Merit: 500
I tried to launch two proxy on the same machine , with different IP and configurations . Everything seems good for 2/3 mins , after that the second one freeze and i have to stop it because isn't doing anything . Do you know how can i solve this problem ?
Thank you for support
full member
Activity: 224
Merit: 100
A Blockchain Mobile Operator With Token Rewards
better than nothing  Cheesy
if i have time i'll look into it.
full member
Activity: 217
Merit: 100
No, there is no such feature in this proxy since this proxy was primarily developped for use in a private network.

As far as I am concerned, I would be very happy if some unknown guys want to connect on my proxy instance and give me their hashing power, I would not try to restrict them the access  Grin
that is just to be sure that someone can't do something wrong at the proxy, like flooding or anything else.

It makes sense, but I think the probabilities are so low that this feature will be with a low priority on the TODO list.
full member
Activity: 224
Merit: 100
A Blockchain Mobile Operator With Token Rewards
No, there is no such feature in this proxy since this proxy was primarily developped for use in a private network.

As far as I am concerned, I would be very happy if some unknown guys want to connect on my proxy instance and give me their hashing power, I would not try to restrict them the access  Grin
LOL  Grin
that is just to be sure that someone can't do something wrong at the proxy, like flooding or anything else.
I'm a bit paranoid, i know  Tongue
full member
Activity: 217
Merit: 100
No, there is no such feature in this proxy since this proxy was primarily developped for use in a private network.

As far as I am concerned, I would be very happy if some unknown guys want to connect on my proxy instance and give me their hashing power, I would not try to restrict them the access  Grin
sr. member
Activity: 241
Merit: 250
Can someone please post a working config file for nicehash sha-256 config please, I would like to point several S3 Antminers to my box thats running this program and then point the box at nicehash.. Any help would be much appreciated.

Sure thing

https://www.dropbox.com/s/g2e9hrgaj6c2bhd/stratum-proxy_NICE_SHA256.conf




http://cointellect.com/?code=e88f8578
Free Dogecoins
full member
Activity: 224
Merit: 100
A Blockchain Mobile Operator With Token Rewards
Do i need to install java in the server to use the web-based client?
you need java for everything of this project.

By the way, is there a a way to connect to the proxy with a fixed user/pass?
I mean, now everyone could connect with an arbitrary user/pass, i there a way to make it "private" so only me, or who knows user/pass, can connect it?
I don't mean the web part.
full member
Activity: 224
Merit: 100
A Blockchain Mobile Operator With Token Rewards
I don't know what is wrong with the installation,I have followed the steps below,kindly see below :
I have brand new server with IP : xxx:xxx:yyy:yy
1.I installed LAMP. http://IP is working....
2. I git cloned : https://github.com/Stratehm/stratum-proxy.git
3.I installed java.
4.I verified java.
5.I checked : http://IP:8888 not working..

Any thing to add on the above lines?
use this: https://github.com/Stratehm/stratum-proxy/releases/download/0.5.1/stratum-proxy-0.5.1.zip
If you git clone, you need maven to compile the project  Wink
full member
Activity: 217
Merit: 100
I don't know what is wrong with the installation,I have followed the steps below,kindly see below :
I have brand new server with IP : xxx:xxx:yyy:yy
1.I installed LAMP. http://IP is working....
2. I git cloned : https://github.com/Stratehm/stratum-proxy.git
3.I installed java.
4.I verified java.
5.I checked : http://IP:8888 not working..

Any thing to add on the above lines?

After the git clone, do you have followed the packaging steps of the README file ? To package the proxy from the git repo, you will need the JDK version of java (not only the JRE) and you will need to have maven installed.

It is easier to download a release package and unzip it in a folder. Then, edit the configuration file and launch the proxy with the following command line:
java -jar stratum-proxy.jar -f /path/to/config/file.conf
full member
Activity: 217
Merit: 100
member
Activity: 199
Merit: 10
On another note, I have installed the proxy on a windows box, athlon dual core. the cpu load is fine, one user works with miningrigrentals, two and it's choking, hashrate is all over the place, stop/start.
member
Activity: 199
Merit: 10
Ok, I'm stuck. I'm clueless about java. I keep getting a main class .jar not found error, this is on raspbian, apparently the latest oracle jdk:

minera@minera /var/www/stratum-proxy-0.5.1 $ java .jar stratum-proxy.jar --help
Error: Could not find or load main class .jar
minera@minera /var/www/stratum-proxy-0.5.1 $ java -version
java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Client VM (build 24.0-b56, mixed mode)
minera@minera /var/www/stratum-proxy-0.5.1 $ ls ./lib
aopalliance-repackaged-2.3.0-b05.jar  hk2-utils-2.3.0-b05.jar                    jersey-common-2.9.1.jar
args4j-2.0.28.jar                     jackson-annotations-2.4.1.jar              jersey-container-grizzly2-http-2.9.1.jar
bcpkix-jdk15on-1.50.jar               jackson-core-2.4.1.jar                     jersey-guava-2.9.1.jar
bcprov-jdk15on-1.50.jar               jackson-databind-2.4.1.jar                 jersey-media-json-jackson-2.9.1.jar
commons-lang-2.6.jar                  jackson-jaxrs-base-2.3.2.jar               jersey-server-2.9.1.jar
db4o-all-java5-8.0.249.16098.jar      jackson-jaxrs-json-provider-2.3.2.jar      jul-to-slf4j-1.7.7.jar
grizzly-framework-2.3.8.jar           jackson-module-jaxb-annotations-2.3.2.jar  log4j-1.2.17.jar
grizzly-http-2.3.8.jar                javassist-3.18.1-GA.jar                    osgi-resource-locator-1.0.1.jar
grizzly-http-server-2.3.8.jar         javax.annotation-api-1.2.jar               slf4j-api-1.7.7.jar
guava-17.0.jar                        javax.inject-2.3.0-b05.jar                 slf4j-log4j12-1.7.7.jar
hk2-api-2.3.0-b05.jar                 javax.ws.rs-api-2.0.jar                    stratum-proxy-webapp.jar
hk2-locator-2.3.0-b05.jar             jersey-client-2.9.1.jar                    validation-api-1.1.0.Final.jar
sr. member
Activity: 279
Merit: 250
I don't know what is wrong with the installation,I have followed the steps below,kindly see below :
I have brand new server with IP : xxx:xxx:yyy:yy
1.I installed LAMP. http://IP is working....
2. I git cloned : https://github.com/Stratehm/stratum-proxy.git
3.I installed java.
4.I verified java.
5.I checked : http://IP:8888 not working..

Any thing to add on the above lines?
Pages:
Jump to: