Bitcoin Forum
November 18, 2024, 04:22:24 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: aiuto per configurare stratum proxy su windows  (Read 3905 times)
cacash (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 04, 2015, 07:26:32 PM
 #1

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

alexrossi
Legendary
*
Offline Offline

Activity: 3892
Merit: 1748


Join the world-leading crypto sportsbook NOW!


View Profile
March 04, 2015, 08:05:10 PM
 #2

Se posso consigliarti, per semplicità usa lo slush proxy, altrimenti se sei obbligato ad usare quello java vedo di darti una mano ugualmente  Smiley

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
cacash (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 04, 2015, 09:46:04 PM
 #3

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.
cacash (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 04, 2015, 09:50:46 PM
 #4

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.
cacash (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 05, 2015, 07:19:18 AM
 #5

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
alexrossi
Legendary
*
Offline Offline

Activity: 3892
Merit: 1748


Join the world-leading crypto sportsbook NOW!


View Profile
March 05, 2015, 07:28:20 AM
 #6

Che versione di cgminer/bfgminer usi?

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
cacash (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 05, 2015, 07:47:13 AM
 #7

L'antminer S3 mi da questa
    cgminer    3.12.0-1
alexrossi
Legendary
*
Offline Offline

Activity: 3892
Merit: 1748


Join the world-leading crypto sportsbook NOW!


View Profile
March 05, 2015, 10:23:27 AM
 #8

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

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
cacash (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 05, 2015, 12:25:17 PM
 #9

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
cacash (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 06, 2015, 06:50:48 AM
 #10

nessuno sà come configurarlo Cry
cacash (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 06, 2015, 08:54:05 PM
 #11

HELP HELP HELP HELP Cry Cry Cry Cry Cry Cry
FaSan
Hero Member
*****
Offline Offline

Activity: 658
Merit: 502



View Profile
March 06, 2015, 11:04:43 PM
 #12

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

cacash (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 07, 2015, 08:59:16 AM
 #13

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 ?
FaSan
Hero Member
*****
Offline Offline

Activity: 658
Merit: 502



View Profile
March 07, 2015, 09:07:12 AM
 #14

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
cacash (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 07, 2015, 01:04:58 PM
 #15

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
cacash (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 07, 2015, 01:16:48 PM
 #16

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

Risultato il miner non funziona ossia non si collega. Cry Cry Cry Cry

dovrei aggiungere sotto consiglio di @fansat "--stratum-listen-port 12345"
aprendo il file dei comandi per il file conf che riporto sotto:

Quote
"logDirectory" : "",
  "logLevel" : "INFO",
  "disableLogAppend": false,
  "stratumListenPort" : 3333,
  "stratumListenAddress" : "0.0.0.0",
  "disableStratum": false,
  "getworkListenPort" : 8332,
  "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" : false,
  "databaseDirectory": "",
  "hashrateDatabaseSamplingPeriod": 60,
  "hashrateDatabaseHistoryDepth": 7,
  "noMidstate": false,
  "apiLogLevel": "INFO",
  "validateGetworkShares": false, // Validate the shares submitted by Getwork workers before submitting the shares to the pool. Only works for SHA256 and Scrypt.
  "poolSwitchingStrategy": "priorityFailover",
  "weightedRoundRobinRoundDuration": 60,
  "apiUser": "",
  "apiPassword": "",

cambio il mio file di conf in così:

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

ma non parte 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 "stratumListenPort" (class strat.mining.stratum.proxy.configuration.model.Pool), not marked as ignorable (10 known prope
rties: "useWorkerPassword", "host", "enableExtranonceSubscribe", "name", "user", "appendWorkerNames", "isEnabled", "weight", "password", "workerNameSeparator"])
 at [Source: test.conf; line: 4, column: 31] (through reference chain: strat.mining.stratum.proxy.configuration.model.Configuration["pools"]->java.util.ArrayList[0]->strat.mining.stratum.proxy.configuratio
n.model.Pool["stratumListenPort"])
        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.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:240)
        at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:212)
        at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:25)
        at com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:523)
        at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:95)
        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: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.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(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.<clinit>(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.<clinit>(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 . . .

ho provato a mettere anche 8333 ma non funziona ancora.
FaSan
Hero Member
*****
Offline Offline

Activity: 658
Merit: 502



View Profile
March 07, 2015, 01:25:54 PM
 #17

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
cacash (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 07, 2015, 01:35:52 PM
 #18





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.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(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.<clinit>(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.<clinit>(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 . . .



wolf_miner
Legendary
*
Offline Offline

Activity: 1018
Merit: 1001



View Profile
March 07, 2015, 02:20:10 PM
 #19

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
  } ]
}

cacash (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
March 07, 2015, 07:40:51 PM
 #20

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.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(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.<clinit>(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.<clinit>(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
Pages: [1] 2 »  All
  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!