Bitcoin Forum
December 10, 2016, 02:57:42 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 [269] 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2034690 times)
GrapeApe
Sr. Member
****
Offline Offline

Activity: 477



View Profile
May 14, 2013, 06:44:47 PM
 #5361

I've never gotten one of these before.

[2013-05-14 08:57:17] Accepted 000055bf Diff 196K/1 GPU 0 pool 0
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
May 15, 2013, 12:29:00 AM
 #5362

I've never gotten one of these before.

[2013-05-14 08:57:17] Accepted 000055bf Diff 196K/1 GPU 0 pool 0
Just means your share has a high difficulty.
On p2pool that's the same as a normal required difficulty share in terms of payment.
Though the information is useful to show you that indeed that share is high enough for the share chain.

The only pool that this makes a difference is the OzCoin Pay on Target pool.
e.g.  [2013-05-13 01:44:55] Accepted 0000103e Diff 1.03M/256 BAJ 0 pool 0
That was worth $10 Smiley

But on another pool:
 [2013-05-04 02:24:44] Accepted 00000222 Diff 7.86M/12 BAJ 0 pool 2
that was worth ... 1 share Sad

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
labsbitforum
Member
**
Offline Offline

Activity: 93


View Profile
May 15, 2013, 06:11:02 PM
 #5363

Been running P2Pool for weeks now.  On version 11.4.  Last night windows update ran and now I cant get P2Pool to start.  I just sits at

Quote
Testing bitcoind P2P connection to '127.0.0.1:8333' ...

Tried these so far and nothing:
Turned off windows firewall
rolled back windows updates

Any ideas what might be up?  It seemed like bitcoin-qt.exe went too fast catching up on the 50 blocks it missed.  I watched it take a minute or two to get through the first 5 missed blocks and then it jumped to caught up right away.  I had another bitcoin-qt.exe on a separate computer catching up as well and that one took several more minutes to finish getting the 50 missed blocks since 3am when they all rebooted.  Any ideas on what to check next?
hendo420
Sr. Member
****
Offline Offline

Activity: 392



View Profile WWW
May 15, 2013, 08:06:42 PM
 #5364

I apologize if this has been asked before, if there is an answer somewhere in the 200+ pages please link me.

How do i get this to work with scrypt coins? I can easily get it working with bitcoin but not litecoin or any other variation.


42 The Meaning of Life and CryptoCurrency       http://www.coingig.com/Hendo420
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
May 15, 2013, 08:07:59 PM
 #5365

I apologize if this has been asked before, if there is an answer somewhere in the 200+ pages please link me.

How do i get this to work with scrypt coins? I can easily get it working with bitcoin but not litecoin or any other variation.

I believe it's in the readme.  I found compiling the latest get to be difficult for litecoin, but if you don't need/want that, the executable works just fine.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
labsbitforum
Member
**
Offline Offline

Activity: 93


View Profile
May 15, 2013, 09:16:11 PM
 #5366

Been running P2Pool for weeks now.  On version 11.4.  Last night windows update ran and now I cant get P2Pool to start.  I just sits at

Quote
Testing bitcoind P2P connection to '127.0.0.1:8333' ...

Tried these so far and nothing:
Turned off windows firewall
rolled back windows updates

Any ideas what might be up?  It seemed like bitcoin-qt.exe went too fast catching up on the 50 blocks it missed.  I watched it take a minute or two to get through the first 5 missed blocks and then it jumped to caught up right away.  I had another bitcoin-qt.exe on a separate computer catching up as well and that one took several more minutes to finish getting the 50 missed blocks since 3am when they all rebooted.  Any ideas on what to check next?

Update.  I think I figured out what was going on.  I had limited the connections on bitcoin-qt.exe to 6 to keep latencies low.  I think what was happening is the 6 connection were getting taken up before I started P2Pool.  Strange as I've never had the problem before.  I loosened the connections to 10 and started P2Pool right after the bitcoin client loaded.  Prior to that I always let the bitcoin client load and get all caught up prior to starting P2Pool.  Its working now.  Posting back in case this trips someone else up.
gyverlb
Hero Member
*****
Offline Offline

Activity: 896



View Profile
May 15, 2013, 09:49:18 PM
 #5367

Update.  I think I figured out what was going on.  I had limited the connections on bitcoin-qt.exe to 6 to keep latencies low.  I think what was happening is the 6 connection were getting taken up before I started P2Pool.  Strange as I've never had the problem before.  I loosened the connections to 10 and started P2Pool right after the bitcoin client loaded.  Prior to that I always let the bitcoin client load and get all caught up prior to starting P2Pool.  Its working now.  Posting back in case this trips someone else up.

I was about to reply to your previous message with this suggestion.

For reference, I had to configure some of my *coind with 20 connections to make sure P2Pool can connect, I had problems with some alt-coins at 10 and 15.

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
May 16, 2013, 12:21:50 AM
 #5368

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

Activity: 896



View Profile
May 16, 2013, 12:29:53 AM
 #5369

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.

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
wtogami
Sr. Member
****
Offline Offline

Activity: 263



View Profile
May 16, 2013, 04:34:30 AM
 #5370

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.

If you appreciate my work please consider making a small donation.
BTC:  1LkYiL3RaouKXTUhGcE84XLece31JjnLc3      LTC:  LYtrtYZsVSn5ymhPepcJMo4HnBeeXXVKW9
GPG: AEC1884398647C47413C1C3FB1179EB7347DC10D
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
May 16, 2013, 04:54:59 AM
 #5371

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.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
May 16, 2013, 08:53:02 AM
 #5372

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.<module> # 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.<module> # 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)
--- <exception caught here> ---
  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)
--- <exception caught here> ---
  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)
--- <exception caught here> ---
  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)
--- <exception caught here> ---
  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)
--- <exception caught here> ---
  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)
--- <exception caught here> ---
  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)
--- <exception caught here> ---
  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)
--- <exception caught here> ---
  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
ok
Newbie
*
Offline Offline

Activity: 26


View Profile
May 16, 2013, 12:15:55 PM
 #5373

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.<module> # 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:
2013-05-16 09:51:30,666 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:51:30,684 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:51:30,697 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:51:30,698 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:51:30,718 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:51:30,729 INFO stats stats.print_stats # 2 peers connected, state changed 1 times
2013-05-16 09:51:30,737 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:51:30,738 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:51:30,754 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:51:30,755 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:51:30,762 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:51:30,773 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:51:30,774 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:51:30,791 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:51:30,804 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:51:30,806 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-05-16 09:51:30,825 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:51:30,837 INFO stats stats.print_stats # 2 peers connected, state changed 1 times
2013-05-16 09:51:30,845 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:51:30,846 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-05-16 09:51:30,861 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

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.

I have tested an Erupter Blade on my p2pool node and can confirm that:
1. When it connects directly to the p2pool node, p2pool reports a much lower speed than its real 13GH. P2Pool can not keep up with the blade submissions.
2. When connecting through a Stratum mining proxy to p2pool, p2pool continuously disconnects the stratum proxy user, sometimes even denying user authentication to p2pool.

By looking at my server logs, p2pool can not keep up with the number of connections that the Erupter Blade attempts either directly or through a Stratum mining proxy.

Therefore it certainly seems that p2pool is incompatible with both options.
Developers should fix these two incompatibility issues if they want p2pool to succeed and continue to be used with ASICs and more specifically with the increasing number of ASICMiner Erupter boards out there.
Thx.
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
May 16, 2013, 12:30:39 PM
 #5374

@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!
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
May 16, 2013, 12:34:40 PM
 #5375

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.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
May 17, 2013, 01:05:06 AM
 #5376

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

Activity: 896



View Profile
May 17, 2013, 01:09:21 AM
 #5377

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.

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
May 17, 2013, 01:19:06 AM
 #5378

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

Activity: 896



View Profile
May 17, 2013, 01:25:57 AM
 #5379

Look there: lenny.dnsd.me:9332

Down. You might have other problems?

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
May 17, 2013, 01:44:11 AM
 #5380

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.
Pages: « 1 ... 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 [269] 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 ... 744 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!