Author

Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool - page 546. (Read 2591920 times)

hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
As discussed in the previous few pages, there are clearly some stratum issues still to resolve, and scalability issues to cope with ASIC sized workloads. BFL are sending (?have sent) forrestv a 5GH unit which should help drive development of both of these.

Excellent. At last, it seems some progress is finally being made.   Grin
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
Yes, mintxfee=0.0001 is still very low. It's also the new bitcoind default as you correctly state.

I'd go for mintxfee=0.0002 or higher.

 0.00000001 BTC = 1 Satoshi

 0.0001 Satoshi  = 0.00000000001 BTC
 
I think it must be mintxfee =100000 or 200000

mintxfee 10000 is the default

that's 0.0001

it was changed in latest version.  the relay fee has been 0.0001 for a long time (year+?)... the creation fee was 0.0005...  so, was a bit odd.

i wasnt going to at first, but too many transactions filled with.. not much.  i set the relay fee to 0.0005 (the old creation fee),  or 50000

if it's really a problem, if you set it to something like 50001, you'll see much less transactions
sr. member
Activity: 344
Merit: 250
Flixxo - Watch, Share, Earn!
Yes, mintxfee=0.0001 is still very low. It's also the new bitcoind default as you correctly state.

I'd go for mintxfee=0.0002 or higher.

 0.00000001 BTC = 1 Satoshi

 0.0001 Satoshi  = 0.00000000001 BTC
 
I think it must be mintxfee =100000 or 200000
full member
Activity: 192
Merit: 100
Yes, mintxfee=0.0001 is still very low. It's also the new bitcoind default as you correctly state.

I'd go for mintxfee=0.0002 or higher.
sr. member
Activity: 344
Merit: 250
Flixxo - Watch, Share, Earn!
Code:
time bitcoind getblocktemplate > /dev/null

real 0m4.595s
user 0m0.044s
sys 0m0.004s
Nice, isn't?  Angry
I increased mintxfee=0.0001 as you said. Will try to upgrade bitcoind to that one from git.
mintxfee=

from source:

/** Fees smaller than this (in satoshi) are considered zero fee (for transaction creation) */
int64 CTransaction::nMinTxFee = 10000;  // Override with -mintxfee


so is'nt mintxfee=0.0001  a little to low? Wink

 
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
Code:
time bitcoind getblocktemplate > /dev/null

real 0m4.595s
user 0m0.044s
sys 0m0.004s
Nice, isn't?  Angry
I increased mintxfee=0.0001 as you said. Will try to upgrade bitcoind to that one from git.
full member
Activity: 192
Merit: 100
My bitcoind node is literally flooded by hoax transactions, like this:
https://blockchain.info/tx/7227c9d392166fdcd917f39da2def36bcf69b437d90e349d73a48952c0fbdd69
My bitcoin.conf:
Code:
(...)
mintxfee=0.00005

How to filter these transactions?  Shocked
Upgrade your bitcoind to the latest git. That should solve it.

I'd also recommend changing the config to
Code:
(...)
mintxfee=0.0001
or a bit higher. Your setting is way too low.
hero member
Activity: 896
Merit: 1000
Maybe using bitcoind from current git could solve this for people with low efficiencies. Could be worth a try. The Gavin's patch that stirred controversy in the past weeks should refuse to relay this kind of dust by default.
sr. member
Activity: 448
Merit: 250
My getwork latency has also increased from ~0.5s to ~6s approx 18 hours ago.
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
Not only I have this problem. Just look at stale share ratio from my peers:
Code:
2013-05-17 02:44:35.450770 Punishing share for 'Block-stale detected! 689887341d7de716487a3d0f03f4bdef93d1717cdf399f7eef < 7483cd23042b95f0733f56b263231115a50d8c5d10e7f4cde9'! Jumping from 3244e6d0 to dc70dda5!
2013-05-17 02:44:35.485379 New work for worker! Difficulty: 10.000000 Share difficulty: 1354.504804 Total block value: 25.000000 BTC including 0 transactions
2013-05-17 02:44:36.197110 Punishing share for 'Block-stale detected! 689887341d7de716487a3d0f03f4bdef93d1717cdf399f7eef < 7483cd23042b95f0733f56b263231115a50d8c5d10e7f4cde9'! Jumping from 3244e6d0 to dc70dda5!
2013-05-17 02:44:36.202615 Punishing share for 'Block-stale detected! 689887341d7de716487a3d0f03f4bdef93d1717cdf399f7eef < 7483cd23042b95f0733f56b263231115a50d8c5d10e7f4cde9'! Jumping from 3244e6d0 to dc70dda5!
2013-05-17 02:44:36.636124 P2Pool: 17331 shares in chain (17336 verified/17336 total) Peers: 6 (0 incoming)
2013-05-17 02:44:36.636223  Local: 8518MH/s in last 10.0 minutes Local dead on arrival: ~2.5% (0-8%) Expected time to share: 11.4 minutes
2013-05-17 02:44:36.636254  Shares: 34 (11 orphan, 4 dead) Stale rate: ~44.1% (28-61%) Efficiency: ~68.6% (48-88%) Current payout: 0.6031 BTC
2013-05-17 02:44:36.636287  Pool: 712GH/s Stale rate: 18.6% Expected time to block: 18.7 hours
2013-05-17 02:44:38.195234 Punishing share for 'Block-stale detected! 689887341d7de716487a3d0f03f4bdef93d1717cdf399f7eef < 7483cd23042b95f0733f56b263231115a50d8c5d10e7f4cde9'! Jumping from 381c6c6d to 3244e6d0!
2013-05-17 02:44:38.229273 New work for worker! Difficulty: 10.000000 Share difficulty: 1354.631688 Total block value: 25.000000 BTC including 0 transactions
2013-05-17 02:44:39.643104 P2Pool: 17332 shares in chain (17337 verified/17337 total) Peers: 6 (0 incoming)
2013-05-17 02:44:39.643269  Local: 8303MH/s in last 10.0 minutes Local dead on arrival: ~2.6% (0-8%) Expected time to share: 11.7 minutes
2013-05-17 02:44:39.643395  Shares: 34 (11 orphan, 4 dead) Stale rate: ~44.1% (28-61%) Efficiency: ~68.8% (48-88%) Current payout: 0.6031 BTC
2013-05-17 02:44:39.643508  Pool: 710GH/s Stale rate: 18.7% Expected time to block: 18.8 hours
2013-05-17 02:44:41.184819 Punishing share for 'Block-stale detected! 689887341d7de716487a3d0f03f4bdef93d1717cdf399f7eef < 7483cd23042b95f0733f56b263231115a50d8c5d10e7f4cde9'! Jumping from 381c6c6d to 3244e6d0!
2013-05-17 02:44:41.193301 Punishing share for 'Block-stale detected! 689887341d7de716487a3d0f03f4bdef93d1717cdf399f7eef < 7483cd23042b95f0733f56b263231115a50d8c5d10e7f4cde9'! Jumping from 381c6c6d to 3244e6d0!
2013-05-17 02:44:43.730638 Peer sent entire transaction 2a8ae4b892d5de8873163bf28db985ed0ed140144426a66b5cd8107382d3c542 that was already received
2013-05-17 02:44:46.193085 Punishing share for 'Block-stale detected! 689887341d7de716487a3d0f03f4bdef93d1717cdf399f7eef < 7483cd23042b95f0733f56b263231115a50d8c5d10e7f4cde9'! Jumping from 381c6c6d to 3244e6d0!
2013-05-17 02:44:46.198400 Punishing share for 'Block-stale detected! 689887341d7de716487a3d0f03f4bdef93d1717cdf399f7eef < 7483cd23042b95f0733f56b263231115a50d8c5d10e7f4cde9'! Jumping from 381c6c6d to 3244e6d0!
2013-05-17 02:44:47.374998 Punishing share for 'Block-stale detected! 689887341d7de716487a3d0f03f4bdef93d1717cdf399f7eef < 7483cd23042b95f0733f56b263231115a50d8c5d10e7f4cde9'! Jumping from c51fd7a0 to 381c6c6d!
gyverlb: I PM you my private IP, check there, if dnsd.me doesn't resolve for you.
hero member
Activity: 896
Merit: 1000
Look there: lenny.dnsd.me:9332

Down. You might have other problems?
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
Yes, it is suffering. It was showing me nice 110% (I had node running for 2 weeks, with 6 thousand shares found), but it doesn't seem to be right, when bitcoind latency was at 3s.
I restarted bitcoind and updated p2pool to newest version. Since then I am having:
Code:
Node uptime: 0.090 days Peers: 7 out, 1 in

Local rate: 20.5GH/s (9.6% DOA) Expected time to share: 0.0754 hours

Shares: 27 total (5 orphaned, 3 dead) Efficiency: 86.79%

Look there: lenny.dnsd.me:9332
hero member
Activity: 896
Merit: 1000
Hi guys,
I have priority issue with bitcoind latency.
My bitcoind node is literally flooded by hoax transactions, like this:
https://blockchain.info/tx/7227c9d392166fdcd917f39da2def36bcf69b437d90e349d73a48952c0fbdd69
https://blockchain.info/tx/292d1d7ff7ece8eb67b4bf3c2f523736679c616fce8216bf37ac23edec6e0e03
1 single transaction, nice miner fee included (1.46 USD actually), but it have over two thousands outputs and 100 KB in size! It's like a fishhook, whoever will take it, will loose seconds of latency.

Bitcoind latency is at ~ 4s (I have dedicated server with AMD A10 APU + SSD), for months it was at 0.3s. About 18 hours ago my latency went extremely high up to 7s and till then, network is under attack of these hoax transactions. Exactly same problem has been reported by my collegues at forum.bitcoin.pl. They showed be their stats and same latency issues (bitcoind latency at 3s or worse, like in my case).

My bitcoin.conf:
Code:
(...)
maxconnections=30
blockmaxsize=500000
mintxfee=0.00005

How to filter these transactions?  Shocked

Is your efficiency suffering? I have the same symptoms but my efficiency is still good.

When bitcoind 0.8.2 is released it should clean this dust by default.
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
Hi guys,
I have priority issue with bitcoind latency.
My bitcoind node is literally flooded by hoax transactions, like this:
https://blockchain.info/tx/7227c9d392166fdcd917f39da2def36bcf69b437d90e349d73a48952c0fbdd69
https://blockchain.info/tx/292d1d7ff7ece8eb67b4bf3c2f523736679c616fce8216bf37ac23edec6e0e03
1 single transaction, nice miner fee included (1.46 USD actually), but it have over two thousands outputs and 100 KB in size! It's like a fishhook, whoever will take it, will loose seconds of latency.

Bitcoind latency is at ~ 4s (I have dedicated server with AMD A10 APU + SSD), for months it was at 0.3s. About 18 hours ago my latency went extremely high up to 7s and till then, network is under attack of these hoax transactions. Exactly same problem has been reported by my collegues at forum.bitcoin.pl. They showed be their stats and same latency issues (bitcoind latency at 3s or worse, like in my case).

My bitcoin.conf:
Code:
(...)
maxconnections=30
blockmaxsize=500000
mintxfee=0.00005

How to filter these transactions?  Shocked
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
As discussed in the previous few pages, there are clearly some stratum issues still to resolve, and scalability issues to cope with ASIC sized workloads. BFL are sending (?have sent) forrestv a 5GH unit which should help drive development of both of these.
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
@ok:

+1

BTW I was reporting incompatibilities of stratum-mining-proxy and p2pool couple of months ago.

I can donate my Blade worktime to developer, if needed, can provide ssh access or something. Please PM.

Good luck with it guys!
ok
newbie
Activity: 26
Merit: 0
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
Blade is working absolutely fine, it's not a hardware problem.

I tried stratum-mining-proxy on my p2pool node (lenny.dnsd.me:9332)
Code:
 python mining_proxy.py -o localhost -p 9332 -sp 7001 -gp 7002
2013-05-16 09:44:43,151 INFO proxy jobs. # Using C extension for midstate speedup. Good!
2013-05-16 09:44:43,167 ERROR proxy mining_proxy.main # Stratum host/port autodetection failed
Traceback (most recent call last):
  File "mining_proxy.py", line 178, in main
    new_host = (yield utils.detect_stratum(args.host, args.port))
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1070, in _inlineCallbacks
    result = g.send(result)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/utils.py", line 69, in detect_stratum
    header = f.response_headers.get('x-stratum', None)[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
2013-05-16 09:44:43,169 WARNING proxy mining_proxy.main # Stratum proxy version: 1.5.2
2013-05-16 09:44:43,176 WARNING proxy mining_proxy.test_update # Checking for updates...
2013-05-16 09:44:43,948 WARNING proxy mining_proxy.main # Trying to connect to Stratum pool at localhost:9332
2013-05-16 09:44:43,951 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:44:43,952 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:44:43,952 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:44:43,970 WARNING proxy mining_proxy.main # -----------------------------------------------------------------------
2013-05-16 09:44:43,970 WARNING proxy mining_proxy.main # PROXY IS LISTENING ON ALL IPs ON PORT 7001 (stratum) AND 7002 (getwork)
2013-05-16 09:44:43,970 WARNING proxy mining_proxy.main # -----------------------------------------------------------------------
2013-05-16 09:44:43,970 INFO proxy client_service.handle_event # Setting new difficulty: 5.73646459899
2013-05-16 09:44:43,971 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:44:43,972 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:44:46,909 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:44:46,910 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:44:46,910 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:44:46,913 INFO proxy client_service.handle_event # Setting new difficulty: 5.73646459899
2013-05-16 09:44:46,914 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:44:46,914 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:44:49,679 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:44:49,680 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:44:49,680 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:44:49,717 INFO proxy client_service.handle_event # Setting new difficulty: 6.16157261446
2013-05-16 09:44:49,718 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:44:49,718 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:44:52,907 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:44:52,908 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:44:52,908 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:44:52,911 INFO proxy client_service.handle_event # Setting new difficulty: 5.9889733432
2013-05-16 09:44:52,912 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:44:52,912 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:44:54,933 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:44:54,933 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:44:54,934 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:44:54,937 INFO proxy client_service.handle_event # Setting new difficulty: 5.9889733432
2013-05-16 09:44:54,938 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:44:54,938 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:44:57,927 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:44:57,928 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:44:57,928 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:44:57,931 INFO proxy client_service.handle_event # Setting new difficulty: 5.9889733432
2013-05-16 09:44:57,932 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:44:57,933 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:00,364 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:00,364 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:00,364 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:00,367 INFO proxy client_service.handle_event # Setting new difficulty: 5.9889733432
2013-05-16 09:45:00,368 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:00,369 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:02,356 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:02,356 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:02,356 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:02,359 INFO proxy client_service.handle_event # Setting new difficulty: 5.9889733432
2013-05-16 09:45:02,360 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:02,361 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:04,110 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:04,110 ERROR protocol protocol.dataReceived # Processing of message failed
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/protocol.py", line 185, in dataReceived
    self.lineReceived(line, request_counter)
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/protocol.py", line 216, in lineReceived
    raise custom_exceptions.ProtocolException("Cannot decode message '%s'" % line)
'rotocolException: Cannot decode message 'POST / HTTP/1.1
2013-05-16 09:45:04,112 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:04,114 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:04,115 ERROR protocol protocol.dataReceived # Processing of message failed
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/protocol.py", line 185, in dataReceived
    self.lineReceived(line, request_counter)
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/protocol.py", line 216, in lineReceived
    raise custom_exceptions.ProtocolException("Cannot decode message '%s'" % line)
'rotocolException: Cannot decode message 'POST / HTTP/1.1
2013-05-16 09:45:04,115 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:04,117 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:05,319 INFO stats stats.print_stats # 2 peers connected, state changed 1 times
2013-05-16 09:45:05,319 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:05,319 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:05,323 ERROR proxy stratum_listener._finish_after_subscribe # Template not ready yet
2013-05-16 09:45:05,324 INFO proxy client_service.handle_event # Setting new difficulty: 5.73010154449
2013-05-16 09:45:05,325 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:05,325 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:05,326 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:08,462 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:08,462 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:08,462 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:08,465 INFO proxy client_service.handle_event # Setting new difficulty: 5.73010154449
2013-05-16 09:45:08,466 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:08,466 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:10,961 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:10,961 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:10,961 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:10,965 INFO proxy client_service.handle_event # Setting new difficulty: 5.73010154449
2013-05-16 09:45:10,966 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:10,967 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:14,107 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:14,108 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:14,108 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:14,111 INFO proxy client_service.handle_event # Setting new difficulty: 5.73010154449
2013-05-16 09:45:14,112 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:14,112 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:17,076 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:17,077 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:17,077 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:17,081 INFO proxy client_service.handle_event # Setting new difficulty: 5.73010154449
2013-05-16 09:45:17,082 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:17,082 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:19,759 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:19,759 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:19,759 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:19,762 INFO proxy client_service.handle_event # Setting new difficulty: 5.73010154449
2013-05-16 09:45:19,763 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:19,764 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:22,616 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:22,616 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:22,616 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:22,619 INFO proxy client_service.handle_event # Setting new difficulty: 7.35691793954
2013-05-16 09:45:22,621 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:22,621 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:25,428 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:25,428 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:25,429 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:25,432 INFO proxy client_service.handle_event # Setting new difficulty: 7.35691793954
2013-05-16 09:45:25,433 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:25,433 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:27,718 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:27,718 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:27,718 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:27,720 INFO proxy client_service.handle_event # Setting new difficulty: 7.35691793954
2013-05-16 09:45:27,721 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:27,721 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:30,262 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:30,262 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:30,263 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:30,266 INFO proxy client_service.handle_event # Setting new difficulty: 7.35691793954
2013-05-16 09:45:30,267 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:30,267 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:33,145 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:33,146 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:33,146 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:33,149 INFO proxy client_service.handle_event # Setting new difficulty: 7.35691793954
2013-05-16 09:45:33,150 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:33,150 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:36,276 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:36,276 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:36,276 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:36,279 INFO proxy client_service.handle_event # Setting new difficulty: 7.2353377225
2013-05-16 09:45:36,281 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:36,281 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:39,372 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:39,372 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:39,372 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:39,375 INFO proxy client_service.handle_event # Setting new difficulty: 6.70963305137
2013-05-16 09:45:39,376 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:39,377 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:40,078 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:40,079 ERROR protocol protocol.dataReceived # Processing of message failed
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/protocol.py", line 185, in dataReceived
    self.lineReceived(line, request_counter)
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/protocol.py", line 216, in lineReceived
    raise custom_exceptions.ProtocolException("Cannot decode message '%s'" % line)
'rotocolException: Cannot decode message 'POST / HTTP/1.1
2013-05-16 09:45:40,079 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:42,217 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:42,218 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:42,218 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 09:45:42,232 INFO proxy client_service.handle_event # Setting new difficulty: 6.70963305137
2013-05-16 09:45:42,233 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 09:45:42,233 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:45:44,547 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:45:44,547 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 09:45:44,547 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs

Miners (cgminer, bfgminer) sees that port (7001 and 7002) as dead. When I pointed blade to it, I got only tons of errors:

Code:
$ python mining_proxy.py -o localhost -p 9332 -sp 7001 -gp 7002
2013-05-16 13:13:43,529 INFO proxy jobs. # Using C extension for midstate speedup. Good!
2013-05-16 13:13:43,540 ERROR proxy mining_proxy.main # Stratum host/port autodetection failed
Traceback (most recent call last):
  File "mining_proxy.py", line 178, in main
    new_host = (yield utils.detect_stratum(args.host, args.port))
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1070, in _inlineCallbacks
    result = g.send(result)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/utils.py", line 69, in detect_stratum
    header = f.response_headers.get('x-stratum', None)[0]
TypeError: 'NoneType' object has no attribute '__getitem__'
2013-05-16 13:13:43,541 WARNING proxy mining_proxy.main # Stratum proxy version: 1.5.2
2013-05-16 13:13:43,543 WARNING proxy mining_proxy.test_update # Checking for updates...
2013-05-16 13:13:43,928 WARNING proxy mining_proxy.main # Trying to connect to Stratum pool at localhost:9332
2013-05-16 13:13:43,932 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 13:13:43,932 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 13:13:43,932 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 13:13:44,083 WARNING proxy mining_proxy.main # -----------------------------------------------------------------------
2013-05-16 13:13:44,083 WARNING proxy mining_proxy.main # PROXY IS LISTENING ON ALL IPs ON PORT 7001 (stratum) AND 7002 (getwork)
2013-05-16 13:13:44,083 WARNING proxy mining_proxy.main # -----------------------------------------------------------------------
2013-05-16 13:13:44,083 INFO proxy client_service.handle_event # Setting new difficulty: 4.68885983554
2013-05-16 13:13:44,084 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 13:13:44,085 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 13:13:47,081 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 13:13:47,082 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 13:13:47,082 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 13:13:47,085 INFO proxy client_service.handle_event # Setting new difficulty: 4.68885983554
2013-05-16 13:13:47,086 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 13:13:47,086 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 13:13:49,925 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 13:13:49,925 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 13:13:49,925 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 13:13:50,035 INFO proxy client_service.handle_event # Setting new difficulty: 4.82588678153
2013-05-16 13:13:50,036 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 13:13:50,037 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 13:13:53,003 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 13:13:53,003 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 13:13:53,004 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 13:13:53,007 INFO proxy client_service.handle_event # Setting new difficulty: 4.82588678153
2013-05-16 13:13:53,008 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 13:13:53,008 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 13:13:55,825 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 13:13:55,826 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 13:13:55,826 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 13:13:55,829 INFO proxy client_service.handle_event # Setting new difficulty: 4.82588678153
2013-05-16 13:13:55,830 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 13:13:55,830 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 13:13:58,239 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 13:13:58,239 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 13:13:58,239 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 13:13:58,242 INFO proxy client_service.handle_event # Setting new difficulty: 4.82588678153
2013-05-16 13:13:58,243 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 13:13:58,244 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 13:14:00,564 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 13:14:00,564 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 13:14:00,564 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 13:14:00,567 INFO proxy client_service.handle_event # Setting new difficulty: 4.82588678153
2013-05-16 13:14:00,569 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 13:14:00,569 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 192, in process
    self.render(resrc)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 241, in render
    body = resrc.render(self)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/resource.py", line 250, in render
    return m(request)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/getwork_listener.py", line 163, in render_POST
    d = defer.maybeDeferred(self.workers.authorize, worker_name, password)
--- ---
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 137, in maybeDeferred
    result = f(*args, **kw)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/worker_registry.py", line 37, in authorize
    d = self.f.rpc('mining.authorize', [worker_name, password])
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/socket_transport.py", line 93, in rpc
    raise custom_exceptions.TransportException("Not connected")
stratum.custom_exceptions.TransportException: Not connected
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 192, in process
    self.render(resrc)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 241, in render
    body = resrc.render(self)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/resource.py", line 250, in render
    return m(request)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/getwork_listener.py", line 163, in render_POST
    d = defer.maybeDeferred(self.workers.authorize, worker_name, password)
--- ---
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 137, in maybeDeferred
    result = f(*args, **kw)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/worker_registry.py", line 37, in authorize
    d = self.f.rpc('mining.authorize', [worker_name, password])
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/socket_transport.py", line 93, in rpc
    raise custom_exceptions.TransportException("Not connected")
stratum.custom_exceptions.TransportException: Not connected
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 192, in process
    self.render(resrc)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 241, in render
    body = resrc.render(self)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/resource.py", line 250, in render
    return m(request)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/getwork_listener.py", line 163, in render_POST
    d = defer.maybeDeferred(self.workers.authorize, worker_name, password)
--- ---
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 137, in maybeDeferred
    result = f(*args, **kw)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/worker_registry.py", line 37, in authorize
    d = self.f.rpc('mining.authorize', [worker_name, password])
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/socket_transport.py", line 93, in rpc
    raise custom_exceptions.TransportException("Not connected")
stratum.custom_exceptions.TransportException: Not connected
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 192, in process
    self.render(resrc)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 241, in render
    body = resrc.render(self)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/resource.py", line 250, in render
    return m(request)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/getwork_listener.py", line 163, in render_POST
    d = defer.maybeDeferred(self.workers.authorize, worker_name, password)
--- ---
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 137, in maybeDeferred
    result = f(*args, **kw)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/worker_registry.py", line 37, in authorize
    d = self.f.rpc('mining.authorize', [worker_name, password])
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/socket_transport.py", line 93, in rpc
    raise custom_exceptions.TransportException("Not connected")
stratum.custom_exceptions.TransportException: Not connected
2013-05-16 13:14:03,528 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 13:14:03,529 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 13:14:03,529 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 13:14:04,365 INFO proxy client_service.handle_event # Setting new difficulty: 4.72389426156
2013-05-16 13:14:04,366 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 13:14:04,367 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 13:14:07,473 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 13:14:07,474 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2013-05-16 13:14:07,474 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-05-16 13:14:07,477 INFO proxy client_service.handle_event # Setting new difficulty: 4.72389426156
2013-05-16 13:14:07,478 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at localhost:9332
2013-05-16 13:14:07,478 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 192, in process
    self.render(resrc)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 241, in render
    body = resrc.render(self)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/resource.py", line 250, in render
    return m(request)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/getwork_listener.py", line 163, in render_POST
    d = defer.maybeDeferred(self.workers.authorize, worker_name, password)
--- ---
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 137, in maybeDeferred
    result = f(*args, **kw)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/worker_registry.py", line 37, in authorize
    d = self.f.rpc('mining.authorize', [worker_name, password])
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/socket_transport.py", line 93, in rpc
    raise custom_exceptions.TransportException("Not connected")
stratum.custom_exceptions.TransportException: Not connected
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 192, in process
    self.render(resrc)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 241, in render
    body = resrc.render(self)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/resource.py", line 250, in render
    return m(request)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/getwork_listener.py", line 163, in render_POST
    d = defer.maybeDeferred(self.workers.authorize, worker_name, password)
--- ---
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 137, in maybeDeferred
    result = f(*args, **kw)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/worker_registry.py", line 37, in authorize
    d = self.f.rpc('mining.authorize', [worker_name, password])
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/socket_transport.py", line 93, in rpc
    raise custom_exceptions.TransportException("Not connected")
stratum.custom_exceptions.TransportException: Not connected
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 192, in process
    self.render(resrc)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 241, in render
    body = resrc.render(self)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/resource.py", line 250, in render
    return m(request)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/getwork_listener.py", line 163, in render_POST
    d = defer.maybeDeferred(self.workers.authorize, worker_name, password)
--- ---
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 137, in maybeDeferred
    result = f(*args, **kw)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/worker_registry.py", line 37, in authorize
    d = self.f.rpc('mining.authorize', [worker_name, password])
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/socket_transport.py", line 93, in rpc
    raise custom_exceptions.TransportException("Not connected")
stratum.custom_exceptions.TransportException: Not connected
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 192, in process
    self.render(resrc)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/server.py", line 241, in render
    body = resrc.render(self)
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/web/resource.py", line 250, in render
    return m(request)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/getwork_listener.py", line 163, in render_POST
    d = defer.maybeDeferred(self.workers.authorize, worker_name, password)
--- ---
  File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 137, in maybeDeferred
    result = f(*args, **kw)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/worker_registry.py", line 37, in authorize
    d = self.f.rpc('mining.authorize', [worker_name, password])
  File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.12-py2.7.egg/stratum/socket_transport.py", line 93, in rpc
    raise custom_exceptions.TransportException("Not connected")
stratum.custom_exceptions.TransportException: Not connected
^C2013-05-16 13:14:08,478 INFO proxy mining_proxy.on_shutdown # Shutting down proxy...


So looks like we have multiple problems:
Incompatibility no. 1: BE Blade vs p2pool
Incompatibility no. 2: Stratum mining proxy vs p2pool

I can confirm that same device is hashing nicely now with stratum mining proxy at BitMinter.

EDIT: Pasted wrong output from stratum+blade. Corrected

Any suggestions? Smiley
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Code:
2013-05-16 01:21:45.157251 Worker xxx submitted share with hash > target:
2013-05-16 01:21:45.157521     Hash:   29ce8ec59713ce17ce3eff6d5c1c7a739c899eb0d00d262954c94b999fc0c4c1
2013-05-16 01:21:45.157684     Target: 366ac93b2b0cc6000000000000000000000000000000000000000000

I vaguely recall somewhere in the ASICMINER thread, their hardware apparently does getwork diff 1 directly.  If you want to use any other mining protocol or difficulty you need a mining proxy.
Maybe, but Hash:   29ce8ec59713ce17ce3eff6d5c1c7a739c899eb0d00d262954c94b999fc0c4c1 isn't even a diff 1 share.
sr. member
Activity: 263
Merit: 250
Code:
2013-05-16 01:21:45.157251 Worker xxx submitted share with hash > target:
2013-05-16 01:21:45.157521     Hash:   29ce8ec59713ce17ce3eff6d5c1c7a739c899eb0d00d262954c94b999fc0c4c1
2013-05-16 01:21:45.157684     Target: 366ac93b2b0cc6000000000000000000000000000000000000000000
2013-05-16 01:21:45.351318 Worker xxx submitted share with hash > target:
2013-05-16 01:21:45.351516     Hash:   8b5a09376fa6abcc7264fd3a78824904931bef81283a7018e98d287f83c6a6b6
2013-05-16 01:21:45.351679     Target: 366ac93b2b0cc6000000000000000000000000000000000000000000
2013-05-16 01:21:45.586972 Worker xxx submitted share with hash > target:
2013-05-16 01:21:45.587226     Hash:   5d60d0ec5860697a415cb3fed8bbc89b8a0e0679df59ceae01361a25a78364d
2013-05-16 01:21:45.588938     Target: 366ac93b2b0cc6000000000000000000000000000000000000000000

I tried to connect Blade Erupter 13GH/s to p2pool directly by typing localhost:9332 in it's settings.
That's what I am getting on p2pool log.
How to fix it?


The log itself is harmless and may mean that the Erupter doesn't support dynamic difficulty (surprising) or that it is overclocked too much and output errors (more likely given the very high values of the hash in your log).

If it's an hardware problem, cool the blade more or slow it down.
If it's variable difficulty support missing or buggy and the rate of share submission puts too much load on your p2pool node, you could try using slush's stratum proxy between the blade and the node to lower the load on it.

I vaguely recall somewhere in the ASICMINER thread, their hardware apparently does getwork diff 1 directly.  If you want to use any other mining protocol or difficulty you need a mining proxy.  I would be curious to learn what kind of work switching latency it is capable of.
Jump to: