Author

Topic: aiuto per configurare stratum proxy su windows (Read 3914 times)

sr. member
Activity: 392
Merit: 250
Risolto ho cambiato il jawa ho rimesso la versione 7 sul portatile e ora si vede tutto  Grin Grin Grin

UN GRAZIE URLATO A TUTTI VOI Grin Grin Grin Grin Grin Grin
legendary
Activity: 1400
Merit: 1000
stessa versione sul portatile stesso errore Cry

potrà sembrare strano, ma a me dava un errore simile al tuo, se non uguale (vado a memoria) dopo avere cambiato il nome della cartella che contiene i file del java.

L'avevo rinominata da "stratum-proxy-0.6.0" a "stratum-proxy-0.6.0 - scrypt"

Poi riportandola al nome originale il web è ripartito.

Non so se è lo stesso problema tuo, ma forse ciò potrà aiutarti
sr. member
Activity: 392
Merit: 250
stessa versione sul portatile stesso errore Cry
sr. member
Activity: 392
Merit: 250
java mi dice versione 8 aggiornamento 31

ora provo sul portatile
hero member
Activity: 658
Merit: 502
si c'è ed è piena di file


Deve andare, ho testato la conf sul mio PC windows e funziona correttamente.

Prova a ri-scaricare il package, magari il tuo non è recentissimo : https://github.com/Stratehm/stratum-proxy/releases/tag/0.6.0

Verifica anche la versione di Java. Io ho la jre7 installata




FaSan

No sto usando proprio quello lo 0.6.0
lo ho già riscaricato ma niente da fare continuo a ricevere sempre quella schermata


ok, ma quello non è un problema di configurazione. Verifica l' enviroment, quindi la path e la versione del java che usi.



FaSan
sr. member
Activity: 392
Merit: 250
si c'è ed è piena di file


Deve andare, ho testato la conf sul mio PC windows e funziona correttamente.

Prova a ri-scaricare il package, magari il tuo non è recentissimo : https://github.com/Stratehm/stratum-proxy/releases/tag/0.6.0

Verifica anche la versione di Java. Io ho la jre7 installata




FaSan

No sto usando proprio quello lo 0.6.0
lo ho già riscaricato ma niente da fare continuo a ricevere sempre quella schermata
hero member
Activity: 658
Merit: 502
si c'è ed è piena di file


Deve andare, ho testato la conf sul mio PC windows e funziona correttamente.

Prova a ri-scaricare il package, magari il tuo non è recentissimo : https://github.com/Stratehm/stratum-proxy/releases/tag/0.6.0

Verifica anche la versione di Java. Io ho la jre7 installata




FaSan
sr. member
Activity: 392
Merit: 250
si c'è ed è piena di file
hero member
Activity: 658
Merit: 502
non funziona




La cartella "lib" ce l' hai si ?



FaSan
sr. member
Activity: 392
Merit: 250
non funziona

hero member
Activity: 658
Merit: 502
Aggiungi l' interfaccia :

Code:
 "stratumListenPort" : 4567,
  "stratumListenAddress" : "0.0.0.0",
  "disableStratum": false,
  "apiListenPort" : 8888,
  "apiListenAddress" : "0.0.0.0",
  "disableApi": false,
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "user" : "paolo1965.boio",
    "password" : "password",
    "enableExtranonceSubscribe" : true
    } ]




FaSan
sr. member
Activity: 392
Merit: 250

 Shocked Shocked Shocked  Ora sto provando ad accedere all'interfaccia web digitando ip del proxy:8888 ma mi da errore Cry Cry
hero member
Activity: 658
Merit: 502
YEA!!!!!

IL MINER SI E' CONNESSO Grin Grin Grin Grin Grin Grin Grin



Buon Lavoro Wink


FaSan
sr. member
Activity: 392
Merit: 250

Riprova così, probabilmente il supporto Stratum è disabilitato di default, e cambiamo porta, la 3333 potrebbe non piacergli troppo :

Code:
 "stratumListenPort" : 4567,
  "stratumListenAddress" : "0.0.0.0",
  "disableStratum": false,
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "user" : "paolo1965.boio",
    "password" : "password",
    "enableExtranonceSubscribe" : true
    } ]



YEA!!!!!

IL MINER SI E' CONNESSO Grin Grin Grin Grin Grin Grin Grin

Quote
2015-03-07 22:52:04,506 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:10,247 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:19,388 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:21,666 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:22,259 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:23,070 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:24,802 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:25,176 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:27,812 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:28,546 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:33,475 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:35,847 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:47,484 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:48,483 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:49,949 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:50,963 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:52,164 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:52,695 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:55,534 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:52:57,234 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:53:02,866 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:53:06,002 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 512.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:53:10,760 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 1024.0 on pool stratum.f2pool.com:3333.
2015-03-07 22:53:13,911 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 1024.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:53:17,140 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 1024.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:53:22,678 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 1024.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:53:44,581 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 1024.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:53:53,208 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 1024.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:53:54,113 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 1024.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:53:54,628 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 1024.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:53:59,510 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 1024.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:53:59,885 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 1024.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:54:14,732 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 1024.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:54:31,313 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 1024.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!
2015-03-07 22:54:31,693 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.worker.StratumWorkerConnection - Accepted share (diff: 1024.0) from x@/192.168.1.53:52249 on stratum.f2pool.com:3333. Yeah !!!!


 Cheesy Cheesy Cheesy
legendary
Activity: 1018
Merit: 1001
Ciao, ora lo stratum è partito, hai messo nella casellina pool1 "192.168.1.130:4000" , nella casellina pool worker "user" e nella casellina password "password"? , hai disattivato il firewall sul PC oppure hai aperto tutte le porte necessarie?

Ciao W_M
sr. member
Activity: 392
Merit: 250
Ciao, metti due slash davanti a  // "validateSha256GetworkShares": true , ma sei sicuro che sia compilato bene quello stratum?

Ho provato la conf che ti ho postatato è ti assicuro che va, vedi sotto

Code:
root@stratum:/home/stratum-proxy-0.6.0-SNAPSHOT# java -Xms32M -Xmx32M -jar stratum-proxy.jar -f jproxy.conf.test
Log directory not set. Use the tmp OS directory.
Use log directory /tmp
2015-03-07 19:49:14,637 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Using INFO LogLevel.
2015-03-07 19:49:14,642 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - API log level set to INFO.
2015-03-07 19:49:14,653 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Database directory not specified. Using default one: /home/stratum-proxy-0.6.0-SNAPSHOT/database.
2015-03-07 19:49:14,667 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - Starting DatabaseManager...
2015-03-07 19:49:15,052 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - DatabaseManager started.
2015-03-07 19:49:15,053 INFO     [main]:strat.mining.stratum.proxy.Launcher - Using pools: [Pool [name=Pool_Zero, host=stratum.f2pool.com:3333, username=paolo1965.boio, password=password, readySince=null, isReady=false, isEnabled=true, isStable=false, priority=0, weight=1]].
2015-03-07 19:49:16,935 INFO     [main]:strat.mining.stratum.proxy.manager.ProxyManager - ServerSocket opened on /0.0.0.0:4000.
2015-03-07 19:49:17,723 INFO     [Pool-Pool_Zero-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool Pool_Zero started
2015-03-07 19:49:17,723 WARN     [Pool-Pool_Zero-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool Pool_Zero is STABLE.
2015-03-07 19:49:17,723 WARN     [Pool-Pool_Zero-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool Pool_Zero is UP.
2015-03-07 19:49:17,729 INFO     [Pool-Pool_Zero-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 512.0 on pool Pool_Zero.
2015-03-07 19:49:17,732 INFO     [Pool-Pool_Zero-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool Pool_Zero.
2015-03-07 19:49:18,246 INFO     [main]:org.glassfish.grizzly.http.server.NetworkListener - Started listener bound to [0.0.0.0:4001]
2015-03-07 19:49:18,250 INFO     [main]:org.glassfish.grizzly.http.server.HttpServer - [HttpServer] Started.
2015-03-07 19:49:18,798 INFO     [main]:org.glassfish.jersey.server.ApplicationHandler - Initiating Jersey application, version Jersey: 2.9.1 2014-06-01 23:30:50...
2015-03-07 19:49:20,414 INFO     [main]:org.glassfish.grizzly.http.server.NetworkListener - Started listener bound to [0.0.0.0:8888]
2015-03-07 19:49:20,426 INFO     [main]:org.glassfish.grizzly.http.server.HttpServer - [HttpServer-1] Started.

Ciao W_M


Ho messo i 2 \ e ora ricevo questo
Quote
C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0 FUNZIONANTE\stratum-proxy-0.6.0>java -jar stratum-proxy.jar -f test.conf
Log directory not set. Use the tmp OS directory.
Use log directory C:\Users\Paolo\AppData\Local\Temp
2015-03-07 21:38:42,344 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Using INFO LogLevel.
2015-03-07 21:38:42,347 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - API log level set to INFO.
2015-03-07 21:38:42,363 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Database directory not specified. Using default one: C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0
FUNZIONANTE\stratum-proxy-0.6.0\database.
2015-03-07 21:38:42,367 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - Starting DatabaseManager...
2015-03-07 21:38:42,630 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - DatabaseManager started.
2015-03-07 21:38:42,630 INFO     [main]:strat.mining.stratum.proxy.Launcher - Using pools: [Pool [name=Pool_Zero, host=stratum.f2pool.com:3333, username=paolo1965.boio, password=password, readySince=null,
isReady=false, isEnabled=true, isStable=false, priority=0, weight=1]].
2015-03-07 21:38:46,843 INFO     [main]:strat.mining.stratum.proxy.manager.ProxyManager - ServerSocket opened on /0.0.0.0:4000.
2015-03-07 21:38:47,368 INFO     [main]:org.glassfish.grizzly.http.server.NetworkListener - Started listener bound to [0.0.0.0:4001]
2015-03-07 21:38:47,370 INFO     [main]:org.glassfish.grizzly.http.server.HttpServer - [HttpServer] Started.
2015-03-07 21:38:47,796 INFO     [Pool-Pool_Zero-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool Pool_Zero started
2015-03-07 21:38:47,796 WARN     [Pool-Pool_Zero-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool Pool_Zero is STABLE.
2015-03-07 21:38:47,796 WARN     [Pool-Pool_Zero-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool Pool_Zero is UP.
2015-03-07 21:38:47,797 INFO     [Pool-Pool_Zero-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 512.0 on pool Pool_Zero.
2015-03-07 21:38:47,799 INFO     [Pool-Pool_Zero-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool Pool_Zero.
2015-03-07 21:38:48,243 INFO     [main]:org.glassfish.grizzly.http.server.NetworkListener - Started listener bound to [0.0.0.0:8888]
2015-03-07 21:38:48,244 INFO     [main]:org.glassfish.grizzly.http.server.HttpServer - [HttpServer-1] Started.

collego il miner S3 su 192.168.1.130 che è ip del pc con il proxy
sulla porta 4000

il miner bippa in continuazione e non succede nulla  Huh Huh Cry Cry Cry Cry
legendary
Activity: 1018
Merit: 1001
Ciao, metti due slash davanti a  // "validateSha256GetworkShares": true , ma sei sicuro che sia compilato bene quello stratum?

Ho provato la conf che ti ho postatato è ti assicuro che va, vedi sotto

Code:
root@stratum:/home/stratum-proxy-0.6.0-SNAPSHOT# java -Xms32M -Xmx32M -jar stratum-proxy.jar -f jproxy.conf.test
Log directory not set. Use the tmp OS directory.
Use log directory /tmp
2015-03-07 19:49:14,637 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Using INFO LogLevel.
2015-03-07 19:49:14,642 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - API log level set to INFO.
2015-03-07 19:49:14,653 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Database directory not specified. Using default one: /home/stratum-proxy-0.6.0-SNAPSHOT/database.
2015-03-07 19:49:14,667 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - Starting DatabaseManager...
2015-03-07 19:49:15,052 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - DatabaseManager started.
2015-03-07 19:49:15,053 INFO     [main]:strat.mining.stratum.proxy.Launcher - Using pools: [Pool [name=Pool_Zero, host=stratum.f2pool.com:3333, username=paolo1965.boio, password=password, readySince=null, isReady=false, isEnabled=true, isStable=false, priority=0, weight=1]].
2015-03-07 19:49:16,935 INFO     [main]:strat.mining.stratum.proxy.manager.ProxyManager - ServerSocket opened on /0.0.0.0:4000.
2015-03-07 19:49:17,723 INFO     [Pool-Pool_Zero-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool Pool_Zero started
2015-03-07 19:49:17,723 WARN     [Pool-Pool_Zero-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool Pool_Zero is STABLE.
2015-03-07 19:49:17,723 WARN     [Pool-Pool_Zero-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool Pool_Zero is UP.
2015-03-07 19:49:17,729 INFO     [Pool-Pool_Zero-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 512.0 on pool Pool_Zero.
2015-03-07 19:49:17,732 INFO     [Pool-Pool_Zero-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool Pool_Zero.
2015-03-07 19:49:18,246 INFO     [main]:org.glassfish.grizzly.http.server.NetworkListener - Started listener bound to [0.0.0.0:4001]
2015-03-07 19:49:18,250 INFO     [main]:org.glassfish.grizzly.http.server.HttpServer - [HttpServer] Started.
2015-03-07 19:49:18,798 INFO     [main]:org.glassfish.jersey.server.ApplicationHandler - Initiating Jersey application, version Jersey: 2.9.1 2014-06-01 23:30:50...
2015-03-07 19:49:20,414 INFO     [main]:org.glassfish.grizzly.http.server.NetworkListener - Started listener bound to [0.0.0.0:8888]
2015-03-07 19:49:20,426 INFO     [main]:org.glassfish.grizzly.http.server.HttpServer - [HttpServer-1] Started.

Ciao W_M
hero member
Activity: 658
Merit: 502

Riprova così, probabilmente il supporto Stratum è disabilitato di default, e cambiamo porta, la 3333 potrebbe non piacergli troppo :

Code:
 "stratumListenPort" : 4567,
  "stratumListenAddress" : "0.0.0.0",
  "disableStratum": false,
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "user" : "paolo1965.boio",
    "password" : "password",
    "enableExtranonceSubscribe" : true
    } ]

sr. member
Activity: 392
Merit: 250
Ciao prova con questa conf, puntando l'S3 all'ip dello stratum sulla porta 4000 con user "user" e password "password" che poi sono anche i parametri per connettersi all'interfaccia web.

Ciao W_M

Code:
 
 {
  "logDirectory" : "",
  "logLevel" : "INFO",
  "disableLogAppend": false,
  "stratumListenPort" : 4000,
  "stratumListenAddress" : "0.0.0.0",
  "disableStratum": false,
  "getworkListenPort" : 4001,
  "getworkListenAddress" : "0.0.0.0",
  "disableGetwork": false,
  "apiListenPort" : 8888,
  "apiListenAddress" : "0.0.0.0",
  "disableApi": false,
  "poolConnectionRetryDelay" : 5,
  "poolReconnectStabilityPeriod" : 5,
  "poolNoNotifyTimeout" : 240,
  "rejectReconnectOnDifferentHost" : false,
  "poolHashrateSamplingPeriod" : 600,
  "userHashrateSamplingPeriod" : 600,
  "connectionHashrateSamplingPeriod" : 600,
  "isScrypt" : true,
  "databaseDirectory": "",
  "hashrateDatabaseSamplingPeriod": 60,
  "hashrateDatabaseHistoryDepth": 7,
  "noMidstate": false,
  "apiLogLevel": "INFO",
  "validateSha256GetworkShares": true,
  "apiUser": "user",
  "apiPassword": "password",
  // The apiEnableSsl should be set to true or left commented if an apiUser is specified.
  // If the apiEnableSsl option is not set, ssl is enabled when apiUser$
  "apiEnableSsl": true,
  "pools" : [ {
    "name" : "Pool_Zero",
    "host" : "stratum.f2pool.com:3333",
    "user" : "paolo1965.boio",
    "password" : "password",
    "workerNameSeparator" : "%",
    "useWorkerPassword" : true,
    "enableExtranonceSubscribe" : true,
    "isEnabled": true
  } ]
}


Provato ma in avvio ricevo questo:

Quote
C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0 FUNZIONANTE\stratum-proxy-0.6.0>java -jar stratum-proxy.jar -f test.conf
Failed to start the proxy:
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "validateSha256GetworkShares" (class strat.mining.stratum.proxy.configuration.model.Configuration), not marked as ignora
ble (34 known properties: "userHashrateSamplingPeriod", "stratumListenPort", "validateGetworkShares", "apiUser", "poolSwitchingStrategy", "getworkListenAddress", "logDirectory", "rejectReconnectOnDifferent
Host", "weightedRoundRobinRoundDuration", "apiEnableSsl", "stratumListenAddress", "poolHashrateSamplingPeriod", "disableApi", "connectionHashrateSamplingPeriod", "workerNumberLimit", "apiPassword", "pools"
, "logRealShareDifficulty", "apiLogLevel", "poolNoNotifyTimeout", "disableGetwork", "logLevel", "apiListenPort", "isScrypt", "noMidstate", "getworkListenPort", "poolReconnectStabilityPeriod", "hashrateData
baseSamplingPeriod", "databaseDirectory", "apiListenAddress", "disableStratum", "poolConnectionRetryDelay", "disableLogAppend", "hashrateDatabaseHistoryDepth"])
 at [Source: test.conf; line: 27, column: 38] (through reference chain: strat.mining.stratum.proxy.configuration.model.Configuration["validateSha256GetworkShares"])
        at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:51)
        at com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(DeserializationContext.java:817)
        at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:954)
        at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1315)
        at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1293)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:249)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2470)
        at strat.mining.stratum.proxy.configuration.ConfigurationManager.useConfigurationF ile(ConfigurationManager.java:181)
        at strat.mining.stratum.proxy.configuration.ConfigurationManager.loadConfiguration(ConfigurationManager.java:159)
        at strat.mining.stratum.proxy.Launcher.main(Launcher.java:117)
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: \stratum-proxy.log (Accesso negato)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.(Unknown Source)
        at java.io.FileOutputStream.(Unknown Source)
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
        at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
        at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:295)
        at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)
        at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191)
        at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523)
        at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:492)
        at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:1006)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:872)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:778)
        at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
        at org.apache.log4j.LogManager.(LogManager.java:127)
        at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:64)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:285)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:305)
        at strat.mining.stratum.proxy.database.DatabaseManager.(DatabaseManager.java:37)
        at strat.mining.stratum.proxy.Launcher$1.run(Launcher.java:156)
User requested shutdown... Gracefuly kill all connections...
Shutdown !

C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0 FUNZIONANTE\stratum-proxy-0.6.0>pause
Premere un tasto per continuare . . .

 Cry Cry Cry Cry Cry Cry Cry Cry Cry Cry Cry
legendary
Activity: 1018
Merit: 1001
Ciao prova con questa conf, puntando l'S3 all'ip dello stratum sulla porta 4000 con user "user" e password "password" che poi sono anche i parametri per connettersi all'interfaccia web.

Ciao W_M

Code:
 
 {
  "logDirectory" : "",
  "logLevel" : "INFO",
  "disableLogAppend": false,
  "stratumListenPort" : 4000,
  "stratumListenAddress" : "0.0.0.0",
  "disableStratum": false,
  "getworkListenPort" : 4001,
  "getworkListenAddress" : "0.0.0.0",
  "disableGetwork": false,
  "apiListenPort" : 8888,
  "apiListenAddress" : "0.0.0.0",
  "disableApi": false,
  "poolConnectionRetryDelay" : 5,
  "poolReconnectStabilityPeriod" : 5,
  "poolNoNotifyTimeout" : 240,
  "rejectReconnectOnDifferentHost" : false,
  "poolHashrateSamplingPeriod" : 600,
  "userHashrateSamplingPeriod" : 600,
  "connectionHashrateSamplingPeriod" : 600,
  "isScrypt" : true,
  "databaseDirectory": "",
  "hashrateDatabaseSamplingPeriod": 60,
  "hashrateDatabaseHistoryDepth": 7,
  "noMidstate": false,
  "apiLogLevel": "INFO",
  "validateSha256GetworkShares": true,
  "apiUser": "user",
  "apiPassword": "password",
  // The apiEnableSsl should be set to true or left commented if an apiUser is specified.
  // If the apiEnableSsl option is not set, ssl is enabled when apiUser$
  "apiEnableSsl": true,
  "pools" : [ {
    "name" : "Pool_Zero",
    "host" : "stratum.f2pool.com:3333",
    "user" : "paolo1965.boio",
    "password" : "password",
    "workerNameSeparator" : "%",
    "useWorkerPassword" : true,
    "enableExtranonceSubscribe" : true,
    "isEnabled": true
  } ]
}

sr. member
Activity: 392
Merit: 250




Magari così :

Code:
  "stratumListenPort" : 3333,
  "stratumListenAddress" : "0.0.0.0",
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "user" : "paolo1965.boio",
    "password" : "password",
    "enableExtranonceSubscribe" : true
    } ]


ricevo questo
Quote
C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0 FUNZIONANTE\stratum-proxy-0.6.0>java -jar stratum-proxy.jar -f test.conf
Failed to start the proxy:
com.fasterxml.jackson.databind.JsonMappingException: Can not instantiate value of type [simple type, class strat.mining.stratum.proxy.configuration.model.Configuration] from String value ('stratumListenPor
t'); no single-String constructor/factory method
 at [Source: test.conf; line: 1, column: 3]
        at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
        at com.fasterxml.jackson.databind.DeserializationContext.mappingException(DeserializationContext.java:843)
        at com.fasterxml.jackson.databind.deser.ValueInstantiator._createFromStringFallbac ks(ValueInstantiator.java:277)
        at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromString(StdValueInstantiator.java:284)
        at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromString(BeanDeserializerBase.java:1141)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:153)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:144)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2470)
        at strat.mining.stratum.proxy.configuration.ConfigurationManager.useConfigurationF ile(ConfigurationManager.java:181)
        at strat.mining.stratum.proxy.configuration.ConfigurationManager.loadConfiguration(ConfigurationManager.java:159)
        at strat.mining.stratum.proxy.Launcher.main(Launcher.java:117)
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: \stratum-proxy.log (Accesso negato)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.(Unknown Source)
        at java.io.FileOutputStream.(Unknown Source)
        at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
        at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
        at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
        at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
        at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:295)
        at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)
        at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191)
        at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523)
        at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:492)
        at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:1006)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:872)
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:778)
        at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
        at org.apache.log4j.LogManager.(LogManager.java:127)
        at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:64)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:285)
        at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:305)
        at strat.mining.stratum.proxy.database.DatabaseManager.(DatabaseManager.java:37)
        at strat.mining.stratum.proxy.Launcher$1.run(Launcher.java:156)
User requested shutdown... Gracefuly kill all connections...
Shutdown !

C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0 FUNZIONANTE\stratum-proxy-0.6.0>pause
Premere un tasto per continuare . . .



hero member
Activity: 658
Merit: 502
dovrei aggiungere sotto consiglio di @fansat "--stratum-listen-port 12345"

fansat ?  Roll Eyes



{
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "stratumListenPort" : 3333,
    "user" : "paolo1965.boio"
    } ]
}


Magari così :

Code:
  "stratumListenPort" : 3333,
  "stratumListenAddress" : "0.0.0.0",
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "user" : "paolo1965.boio",
    "password" : "password",
    "enableExtranonceSubscribe" : true
    } ]




FaSan
sr. member
Activity: 392
Merit: 250
sr. member
Activity: 392
Merit: 250
Aloora riassumiamo e ripartiamo da quì

collegamento a f2pool con file di avvio.bat così:
Quote
java -jar stratum-proxy.jar -f test.conf

usando un file di cong così:
Quote
{
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "user" : "paolo1965.boio"
    } ]
}

lanciato ricevo questo:
Quote
C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0 FUNZIONANTE\stratum-proxy-0.6.0>java -jar stratum-proxy.jar -f test.conf
Log directory not set. Use the tmp OS directory.
Use log directory C:\Users\Paolo\AppData\Local\Temp
2015-03-07 14:00:17,827 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Using INFO LogLevel.
2015-03-07 14:00:17,827 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - API log level not set. API logging disabled.
2015-03-07 14:00:17,843 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Database directory not specified. Using default one: C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0
FUNZIONANTE\stratum-proxy-0.6.0\database.
2015-03-07 14:00:17,843 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - Starting DatabaseManager...
2015-03-07 14:00:18,108 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - DatabaseManager started.
2015-03-07 14:00:18,108 INFO     [main]:strat.mining.stratum.proxy.Launcher - Using pools: [Pool [name=stratum.f2pool.com:3333, host=stratum.f2pool.com:3333, username=paolo1965.boio, password=x, readySince
=null, isReady=false, isEnabled=true, isStable=false, priority=0, weight=1]].
2015-03-07 14:00:19,137 INFO     [main]:strat.mining.stratum.proxy.manager.ProxyManager - ServerSocket opened on /0.0.0.0:3333.
mar 07, 2015 2:00:19 PM org.glassfish.grizzly.http.server.NetworkListener start
INFORMAZIONI: Started listener bound to [0.0.0.0:8332]
mar 07, 2015 2:00:19 PM org.glassfish.grizzly.http.server.HttpServer start
INFORMAZIONI: [HttpServer] Started.
mar 07, 2015 2:00:20 PM org.glassfish.grizzly.http.server.NetworkListener start
INFORMAZIONI: Started listener bound to [0.0.0.0:8888]
mar 07, 2015 2:00:20 PM org.glassfish.grizzly.http.server.HttpServer start
INFORMAZIONI: [HttpServer-1] Started.
2015-03-07 14:00:22,289 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool stratum.f2pool.com:3333 started
2015-03-07 14:00:22,289 WARN     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool stratum.f2pool.com:3333 is STABLE.
2015-03-07 14:00:22,289 WARN     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool stratum.f2pool.com:3333 is UP.
2015-03-07 14:00:22,289 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 2048.0 on pool stratum.f2pool.com:3333.
2015-03-07 14:00:22,289 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool stratum.f2pool.com:3333.

di defaul dovrei collegare il mine (antminer S3) alla porta 8332 inserendo nello spazio del miner dove mettrei "stratum.f2pool.com:3333"   l'ip del proxy:8332 ossia 192.168.1.130:8332 mettendo sulla sezione user e password qualsiasi cosa
io ho messo X come user e X come password

ricevo questo:
Quote
C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0 FUNZIONANTE\stratum-proxy-0.6.0>java -jar stratum-proxy.jar -f test.conf
Log directory not set. Use the tmp OS directory.
Use log directory C:\Users\Paolo\AppData\Local\Temp
2015-03-07 14:00:17,827 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Using INFO LogLevel.
2015-03-07 14:00:17,827 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - API log level not set. API logging disabled.
2015-03-07 14:00:17,843 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Database directory not specified. Using default one: C:\Users\Paolo\Desktop\STRATUM PROXY WINDOWS6.0
FUNZIONANTE\stratum-proxy-0.6.0\database.
2015-03-07 14:00:17,843 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - Starting DatabaseManager...
2015-03-07 14:00:18,108 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - DatabaseManager started.
2015-03-07 14:00:18,108 INFO     [main]:strat.mining.stratum.proxy.Launcher - Using pools: [Pool [name=stratum.f2pool.com:3333, host=stratum.f2pool.com:3333, username=paolo1965.boio, password=x, readySince
=null, isReady=false, isEnabled=true, isStable=false, priority=0, weight=1]].
2015-03-07 14:00:19,137 INFO     [main]:strat.mining.stratum.proxy.manager.ProxyManager - ServerSocket opened on /0.0.0.0:3333.
mar 07, 2015 2:00:19 PM org.glassfish.grizzly.http.server.NetworkListener start
INFORMAZIONI: Started listener bound to [0.0.0.0:8332]
mar 07, 2015 2:00:19 PM org.glassfish.grizzly.http.server.HttpServer start
INFORMAZIONI: [HttpServer] Started.
mar 07, 2015 2:00:20 PM org.glassfish.grizzly.http.server.NetworkListener start
INFORMAZIONI: Started listener bound to [0.0.0.0:8888]
mar 07, 2015 2:00:20 PM org.glassfish.grizzly.http.server.HttpServer start
INFORMAZIONI: [HttpServer-1] Started.
2015-03-07 14:00:22,289 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool stratum.f2pool.com:3333 started
2015-03-07 14:00:22,289 WARN     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool stratum.f2pool.com:3333 is STABLE.
2015-03-07 14:00:22,289 WARN     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool stratum.f2pool.com:3333 is UP.
2015-03-07 14:00:22,289 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 2048.0 on pool stratum.f2pool.com:3333.
2015-03-07 14:00:22,289 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool stratum.f2pool.com:3333.
2015-03-07 14:02:20,725 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 1024.0 on pool stratum.f2pool.com:3333.
2015-03-07 14:02:48,150 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 512.0 on pool stratum.f2pool.com:3333.
2015-03-07 14:02:57,261 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool stratum.f2pool.com:3333.
2015-03-07 14:04:01,440 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool stratum.f2pool.com:3333.
2015-03-07 14:05:59,505 INFO     [Grizzly-worker(3)]:strat.mining.stratum.proxy.manager.ProxyManager - New WorkerConnection Getwork-/192.168.1.53 subscribed. 1 connections active on pool stratum.f2pool.com
:3333.
2015-03-07 14:05:59,513 ERROR    [Grizzly-worker(3)]:strat.mining.stratum.proxy.worker.GetworkRequestHandler - Unsupported request content from 192.168.1.53: {"id": 0, "method": "getblocktemplate", "params
": [{"capabilities": ["coinbasetxn", "workid", "coinbase/append"]}]}
com.fasterxml.jackson.databind.JsonMappingException: java.util.LinkedHashMap cannot be cast to java.lang.String (through reference chain: strat.mining.stratum.proxy.json.GetworkRequest["params"])
        at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:567)
        at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:551)
        at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:99)
        at com.fasterxml.jackson.databind.deser.impl.BeanPropertyMap.findDeserializeAndSet(BeanPropertyMap.java:285)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:248)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2576)
        at strat.mining.stratum.proxy.worker.GetworkRequestHandler.service(GetworkRequestHandler.java:99)
        at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:219)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String
        at strat.mining.stratum.proxy.json.GetworkRequest.setParams(GetworkRequest.java:61)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:97)
        ... 10 more
2015-03-07 14:06:05,480 ERROR    [Grizzly-worker(6)]:strat.mining.stratum.proxy.worker.GetworkRequestHandler - Unsupported request content from 192.168.1.53: {"id": 0, "method": "getblocktemplate", "params
": [{"capabilities": ["coinbasetxn", "workid", "coinbase/append"]}]}
com.fasterxml.jackson.databind.JsonMappingException: java.util.LinkedHashMap cannot be cast to java.lang.String (through reference chain: strat.mining.stratum.proxy.json.GetworkRequest["params"])
        at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:567)
        at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:551)
        at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:99)
        at com.fasterxml.jackson.databind.deser.impl.BeanPropertyMap.findDeserializeAndSet(BeanPropertyMap.java:285)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:248)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2576)
        at strat.mining.stratum.proxy.worker.GetworkRequestHandler.service(GetworkRequestHandler.java:99)
        at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:219)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String
        at strat.mining.stratum.proxy.json.GetworkRequest.setParams(GetworkRequest.java:61)
        at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:97)
        ... 10 more
hero member
Activity: 658
Merit: 502
Ma dall,'antminer s3 come faccio a fargli fare richiesta getwork ?
Possibile che abbia letto che invece che fare richiesta sulla porta 8332 la faccio sulla 3333 cambi qualcosa ?


Mi sembra tu debba aggiungere "--stratum-listen-port 12345" nel comando di start del proxy, dove chiaramente 12345 è la porta che vuoi in ascolto




FaSan
sr. member
Activity: 392
Merit: 250
Ma dall,'antminer s3 come faccio a fargli fare richiesta getwork ?
Possibile che abbia letto che invece che fare richiesta sulla porta 8332 la faccio sulla 3333 cambi qualcosa ?
hero member
Activity: 658
Merit: 502
HELP HELP HELP HELP Cry Cry Cry Cry Cry Cry

Da quello che si legge qui :

Code:
2015-03-05 08:10:22,026 ERROR    [Grizzly-worker(1)]:strat.mining.stratum.proxy.worker.GetworkRequestHandler - Unsupported request content from 192.168.1.53: {"id":
0, "method": "getblocktemplate", "params": [{"capabilities": ["coinbasetxn", "workid", "coinbase/append"]}]}
com.fasterxml.jackson.databind.JsonMappingException: java.util.LinkedHashMap cannot be cast to java.lang.String (through reference chain: strat.mining.stratum.proxy.
json.GetworkRequest["params"])

Il tuo miner ha fatto una richiesta "getblocktemplate" anzichè "getwork". Infatti Nicehash suggerisce questa soluzione nel caso in cui i tuoi minatori non supportino lo stratum direttamente. Ma, chiaramente, puoi anche usarlo per dividere un solo job in più miners.





Dovrebbe essere sufficiente disabilitare il supporto stratum dal bfgminer/cgminer forzandolo invece in modalità "getwork". Su bfgminer si può fare, su cgminer non saprei.


FaSan

sr. member
Activity: 392
Merit: 250
HELP HELP HELP HELP Cry Cry Cry Cry Cry Cry
sr. member
Activity: 392
Merit: 250
nessuno sà come configurarlo Cry
sr. member
Activity: 392
Merit: 250
Aggiornato ultimo software S3

file di conf

Quote
{
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "user" : "arturo1965.4",
    "enableExtranonceSubscribe" : false
  }
  ]
}

risposta del proxy come sopra il miner non si collega bippa di continuo Undecided
legendary
Activity: 3766
Merit: 1742
Join the world-leading crypto sportsbook NOW!
L'antminer S3 mi da questa
    cgminer    3.12.0-1

Ok, probabilmente è outdated per il proxy java, prova anzitutto a disabilitare l'extranonce su quest'ultimo, e poi ad aggiornare il fw dell's3 se ce n'è uno più recente
sr. member
Activity: 392
Merit: 250
L'antminer S3 mi da questa
    cgminer    3.12.0-1
legendary
Activity: 3766
Merit: 1742
Join the world-leading crypto sportsbook NOW!
Che versione di cgminer/bfgminer usi?
sr. member
Activity: 392
Merit: 250
allora usando questo file di conf:
Quote
{
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "user" : "arturo1965.4"
  }
  ]
}

avvio il miner su indirizzo del server sulla porta 8332 e ricevo questa risposta ( naturalmente il miner non lavora bippa di continuo )

Quote
C:\Users\Arturo\Desktop\STRATUM PROXY WINDOWS6.0 FUNZIONANTE\stratum-proxy-0.6.0>java -jar stratum-proxy.jar -f stratum-proxy-f2pool.conf
Log directory not set. Use the tmp OS directory.
Use log directory C:\Users\Arturo\AppData\Local\Temp
2015-03-05 08:08:10,252 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Using INFO LogLevel.
2015-03-05 08:08:10,252 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - API log level not set. API logging disabled.
2015-03-05 08:08:10,267 INFO     [main]:strat.mining.stratum.proxy.configuration.ConfigurationManager - Database directory not specified. Using default one: C:\Users
\Arturo\Desktop\STRATUM PROXY WINDOWS6.0 FUNZIONANTE\stratum-proxy-0.6.0\database.
2015-03-05 08:08:10,267 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - Starting DatabaseManager...
2015-03-05 08:08:10,532 INFO     [main]:strat.mining.stratum.proxy.database.DatabaseManager - DatabaseManager started.
2015-03-05 08:08:10,532 INFO     [main]:strat.mining.stratum.proxy.Launcher - Using pools: [Pool [name=stratum.f2pool.com:3333, host=stratum.f2pool.com:3333, usernam
e=arturo1965.4, password=x, readySince=null, isReady=false, isEnabled=true, isStable=false, priority=0, weight=1]].
2015-03-05 08:08:11,406 INFO     [main]:strat.mining.stratum.proxy.manager.ProxyManager - ServerSocket opened on /0.0.0.0:3333.
mar 05, 2015 8:08:11 AM org.glassfish.grizzly.http.server.NetworkListener start
INFORMAZIONI: Started listener bound to [0.0.0.0:8332]
mar 05, 2015 8:08:11 AM org.glassfish.grizzly.http.server.HttpServer start
INFORMAZIONI: [HttpServer] Started.
2015-03-05 08:08:12,248 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.pool.Pool - Pool stratum.f2pool.com:3333 started
2015-03-05 08:08:12,248 WARN     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool stratum.f2pool.com:3333 is STABLE.
2015-03-05 08:08:12,248 WARN     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Pool stratum.f2pool.com:3333 is UP.
2015-03-05 08:08:12,264 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - Set difficulty 512.0 on pool stratum.f2pool.
com:3333.
2015-03-05 08:08:12,264 INFO     [Pool-stratum.f2pool.com:3333-Thread]:strat.mining.stratum.proxy.manager.ProxyManager - New block detected on pool stratum.f2pool.co
m:3333.
mar 05, 2015 8:08:12 AM org.glassfish.grizzly.http.server.NetworkListener start
INFORMAZIONI: Started listener bound to [0.0.0.0:8888]
mar 05, 2015 8:08:12 AM org.glassfish.grizzly.http.server.HttpServer start
INFORMAZIONI: [HttpServer-1] Started.
2015-03-05 08:10:22,018 INFO     [Grizzly-worker(1)]:strat.mining.stratum.proxy.manager.ProxyManager - New WorkerConnection Getwork-/192.168.1.53 subscribed. 1 conne
ctions active on pool stratum.f2pool.com:3333.
2015-03-05 08:10:22,026 ERROR    [Grizzly-worker(1)]:strat.mining.stratum.proxy.worker.GetworkRequestHandler - Unsupported request content from 192.168.1.53: {"id":
0, "method": "getblocktemplate", "params": [{"capabilities": ["coinbasetxn", "workid", "coinbase/append"]}]}
com.fasterxml.jackson.databind.JsonMappingException: java.util.LinkedHashMap cannot be cast to java.lang.String (through reference chain: strat.mining.stratum.proxy.
json.GetworkRequest["params"])
        at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:567)
        at com.fasterxml.jackson.databind.deser.SettableBeanProperty._throwAsIOE(SettableBeanProperty.java:551)
        at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:99)
        at com.fasterxml.jackson.databind.deser.impl.BeanPropertyMap.findDeserializeAndSet(BeanPropertyMap.java:285)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:248)
        at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)
        at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3560)
        at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2576)
        at strat.mining.stratum.proxy.worker.GetworkRequestHandler.service(GetworkRequestHandler.java:99)
        at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:219)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
        at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String
        at strat.mining.stratum.proxy.json.GetworkRequest.setParams(GetworkRequest.java:61)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:97)
        ... 10 more

 Cry Cry Cry
sr. member
Activity: 392
Merit: 250
lo slush proxy lo ho provato e funziona perfettamente come quello che ho istallato su un raspberry.

Solo che hanno diversità, ossia lo slush e quello che ho su raspy fanno passare user dei minatori e ho più minatori che lavorano sulla pool
mentre nicehash crea un unico user sulla pool

e come dicevo ha questa interfaccia di controllo.
sr. member
Activity: 392
Merit: 250
Se posso consigliarti, per semplicità usa lo slush proxy, altrimenti se sei obbligato ad usare quello java vedo di darti una mano ugualmente  Smiley

Ciao non è che sono obbligato è che mi piace l'interfaccia di controllo che ha questo java, ossia digitando ip del pc:8888 eace fuori l'interfaccia che ti da tutte le statistiche ed è anche per questo che volevo riuscire ad usare questo.

ma non riesco a fare una configurazione funzionante sul sito da una config già pronta m,a è per scrypt e anche omettendo ciò che dicono non funziona comunque.
legendary
Activity: 3766
Merit: 1742
Join the world-leading crypto sportsbook NOW!
Se posso consigliarti, per semplicità usa lo slush proxy, altrimenti se sei obbligato ad usare quello java vedo di darti una mano ugualmente  Smiley
sr. member
Activity: 392
Merit: 250
Come da oggetto volevo crearmi uno stratum proxy interno per riversare i miei miner e farli minare verso una pool

ho preso in considerazione lo stratum proxy di nicehash ho provato ad usare un config come dicono loro "semplice"

Quote
{
  "pools" : [ {
    "host" : "stratum.f2pool.com:3333",
    "user" : "arturo99.boio"
  } ]
}

avviando il proxy con un file bat di questo genere dove il file avvio.conf è il file sopra che ho scritto

Quote
java -jar stratum-proxy.jar -f avvio.conf

sembra che parte e si mette in ascolto sulla porta 8332 che è quella di default dello stratum proxy.

Collego il miner scrivendo così (miner è un s3)
ip del pc con lo stratum proxy avviato :8332
user x
password x

ma non succede nulla di nulla  Huh

aiuto

Jump to: