Bitcoin Forum
April 25, 2024, 02:04:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 218 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 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591624 times)
GrapeApe
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
May 11, 2013, 08:19:51 PM
Last edit: May 11, 2013, 08:35:41 PM by GrapeApe
 #5341

I've been getting this today "GOT INCOMPLETE BLOCK FROM PEER"
Any clues???
It is normal and harmless when you restart node and download share chain.
I've done that a few times and my miner keeps telling me lost connection at " blah blah" when p2p hangs before it tells me got incomplete block.


p2p freezes says processing shares from blah blah, my cpu spikes to 100% (python), a minute or two later the incomplete message and then my miner is disconnected.
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714010678
Hero Member
*
Offline Offline

Posts: 1714010678

View Profile Personal Message (Offline)

Ignore
1714010678
Reply with quote  #2

1714010678
Report to moderator
1714010678
Hero Member
*
Offline Offline

Posts: 1714010678

View Profile Personal Message (Offline)

Ignore
1714010678
Reply with quote  #2

1714010678
Report to moderator
1714010678
Hero Member
*
Offline Offline

Posts: 1714010678

View Profile Personal Message (Offline)

Ignore
1714010678
Reply with quote  #2

1714010678
Report to moderator
zvs
Legendary
*
Offline Offline

Activity: 1680
Merit: 1000


https://web.archive.org/web/*/nogleg.com


View Profile WWW
May 11, 2013, 11:48:35 PM
 #5342

I've been getting this today "GOT INCOMPLETE BLOCK FROM PEER"
Any clues???
It is normal and harmless when you restart node and download share chain.
I've done that a few times and my miner keeps telling me lost connection at " blah blah" when p2p hangs before it tells me got incomplete block.


p2p freezes says processing shares from blah blah, my cpu spikes to 100% (python), a minute or two later the incomplete message and then my miner is disconnected.

so you've never downloaded the complete share chain?

unless your p2pool is on a ramdrive and not backed up, you shouldnt be downloading the entire share chain every time you restart (unless it's been ~2 days since you last ran it)
GrapeApe
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
May 12, 2013, 02:40:32 AM
Last edit: May 12, 2013, 04:34:57 AM by GrapeApe
 #5343

"so you've never downloaded the complete share chain?

unless your p2pool is on a ramdrive and not backed up, you shouldnt be downloading the entire share chain every time you restart (unless it's been ~2 days since you last ran it)"


Yep every time I restart p2p it downloads the shares. I am just running p2p through the ubuntu terminal using "python run_p2p.py" command. I am new to mining and ubuntu so if I'm doing something wrong let me know.

I get an error when I try to make install. So I’ve just been inputting my parameters into the terminal and running python run_p2p.py.This is all very new to me. I have the dependencies.But yes I do download the share chain every time I start p2p.
mokahless
Sr. Member
****
Offline Offline

Activity: 471
Merit: 256



View Profile
May 14, 2013, 02:52:46 AM
 #5344

Is anyone else getting errors like:

Quote
2013-05-13 22:24:44.834000 > p2pool.util.jsonrpc.NarrowError: -12345 lost contact with bitcoind

in the new 11.4 and are stuck with p2pool not accepting any shares?

as in:

Quote
2013-05-13 22:27:02.755000  Local: 0H/s in last 0.0 seconds Local dead on arrival: ?? ? Expected time to sh
are: ?? ?
2013-05-13 22:27:02.755000  Shares: 0 (0 orphan, 0 dead) Stale rate: ?? ? Efficiency: ?? ? Current payout: 0
.0000 BTC

I'm testing again by copying over all my old data to the the data dir in the new p2pool folder but I'm not sure. I'm also going to try running it for longer.

FYI: windows pre-compiled, doing merged mining with namecoind and I am also continually getting:

Quote
2013-05-13 22:27:05.797000 Processing 23 shares from 71.39.52.34:9335...
2013-05-13 22:27:13.082000 > Error while processing Event callbacks:
2013-05-13 22:27:13.082000 > Traceback (most recent call last):
2013-05-13 22:27:13.082000 >   File "p2pool\node.pyc", line 289, in set_best_share

with a whole bunch of lines listed as per the last line.

Edit: watching it. The graph shows my hashrate and that seems to be working fine. Still no shares (0, 0 orphan, 0 dead) and I got a few "punishing share for block-stale detected". Not sure what those are. Also got some "twisted.internet.connectionlost" and something about being disconnected locally. My "dead" on the graph spiked once to 100% for 1 tick. Other oddities include only one incoming peer, when I limited to 8/8. 11.1 immediately connected to at least 3-4 and eventually to 8.


Edit, Edit: So I do have a number under "payout if block were found NOW" so I am thinking everything is working fine, regardless of these weird errors. I understand there are to be errors normally but I was worried since there were errors I was not getting in 11.1

GrapeApe
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



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

I've never gotten one of these before.

[2013-05-14 08:57:17] Accepted 000055bf Diff 196K/1 GPU 0 pool 0
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


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

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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
labsbitforum
Member
**
Offline Offline

Activity: 99
Merit: 10


View Profile
May 15, 2013, 06:11:02 PM
Last edit: May 15, 2013, 07:56:38 PM by labsbitforum
 #5347

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: 420
Merit: 250



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

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.


ebmarket.co
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



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

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

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
labsbitforum
Member
**
Offline Offline

Activity: 99
Merit: 10


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

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
Merit: 1000



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

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: 1036
Merit: 1000


DARKNETMARKETS.COM


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

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?

DARKNET MARKETS >> https://DARKNETMARKETS.COM
gyverlb
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000



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

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
Merit: 250



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

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

Activity: 4088
Merit: 1631


Ruu \o/


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

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
lenny_
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000


DARKNETMARKETS.COM


View Profile WWW
May 16, 2013, 08:53:02 AM
Last edit: May 16, 2013, 12:15:05 PM by lenny_
 #5356

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

DARKNET MARKETS >> https://DARKNETMARKETS.COM
ok
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
May 16, 2013, 12:15:55 PM
Last edit: May 16, 2013, 12:44:32 PM by ok
 #5357

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: 1036
Merit: 1000


DARKNETMARKETS.COM


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

@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!

DARKNET MARKETS >> https://DARKNETMARKETS.COM
-ck
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


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

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
lenny_
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000


DARKNETMARKETS.COM


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

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

DARKNET MARKETS >> https://DARKNETMARKETS.COM
Pages: « 1 ... 218 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 ... 814 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!