Pages:
Author

Topic: bitHopper: Python Pool Hopper Proxy - page 97. (Read 355813 times)

hero member
Activity: 798
Merit: 1000
August 03, 2011, 03:25:51 AM
Been getting a few of these.  Not sure if that helps Cheesy

LP Call su.mining.eligius.st:8337/LP
LP triggered serving miner
Error Caught in bitHopperLP
LP triggered serving miner
Error Caught in bitHopperLP
LP triggered serving miner
Error Caught in bitHopperLP
LP triggered serving miner
Error Caught in bitHopperLP
LP triggered serving miner
Error Caught in bitHopperLP
sr. member
Activity: 476
Merit: 250
moOo
August 03, 2011, 03:03:48 AM
I rebooted and my problems disappeared with the last one.
newest one seems to be working fine.. dont see that slice stuff anymore.. you just hide it?
full member
Activity: 196
Merit: 100
August 03, 2011, 02:54:31 AM
I updated again. New version may still not work but more bugs are fixed.
nob
newbie
Activity: 23
Merit: 0
August 03, 2011, 02:50:25 AM
@c00w:

LP is still broken.

Can't use guiminer atm, guiminer seems to stop working on lp errors

with original poclbm i get

Code:
Exception in thread Thread-1:
Traceback (most recent call last):
  File "threading.pyo", line 525, in __bootstrap_inner
  File "threading.pyo", line 477, in run
  File "BitcoinMiner.pyo", line 389, in longPollThread
  File "BitcoinMiner.pyo", line 239, in queueWork
  File "BitcoinMiner.pyo", line 222, in prepareWork
TypeError: list indices must be integers, not str


Every 30-60 Seconds, poclbm is reconneting after some seconds, but efficenty drops down to less than 50%
Had the Version from yesterday working without any Problems.

But all in all, thanks for slice schedular and the extremly usefull webinterface, you are my personal bitcoin-hero Cheesy

hero member
Activity: 798
Merit: 1000
August 03, 2011, 02:42:49 AM
Lovely.  Thanks c00w, you're a genius.

Do we need to see the:

[17:44:41] {'x8s': -1, 'polmine': -1, 'bclc': -1, 'poolmunity': -1, 'triple': -1
, 'btcg': -1, 'arsbitcoin': -1, 'eclipsemc': -1, 'bloodys': 233.106999874115, 'n
ofeemining': -1, 'ozco': -1, 'bitclockers': -1, 'unitedminers': -1, 'bitp': -1,
'bitparking': -1, 'slush': -1, 'btcmonkey': -1, 'mtred': -1, 'btcworld': -1, 'bt
cpool24': -1, 'mmf': -1, 'bcpool': -1, 'rfc': -1, 'mineco': -1, 'eligius': -1, '
bmunion': -1}

Stuff?  I assume that's for your testing at the moment?
sr. member
Activity: 476
Merit: 250
moOo
August 03, 2011, 02:42:37 AM
lots of problems on this one c00w.

I was getting the lp errors and restarted, now it just stops and hangs, guiminer says connecting but never down.

started it again.. and it connected for a bit and then stopped and went back to "connecting"
full member
Activity: 196
Merit: 100
August 03, 2011, 02:41:51 AM
Exactly. Once I am sure the LP issues are ironed out I'm going to start tagging stable releases so people know when stuff works.
hero member
Activity: 798
Merit: 1000
August 03, 2011, 02:37:18 AM
Yay for me, finally got the git version running Smiley  Ended up just reinstalling everything and recloning the source.  Running well now with slice scheduler (better look up what that actually does) Cheesy

Now I get to break things by updating too often like the rest of you Cheesy

So just to clarify, to update I just stop bithopper, Pull the latest from git, then restart?  user.cfg won't be touched I assume?
full member
Activity: 196
Merit: 100
August 03, 2011, 02:29:21 AM
It looks like LP is returning the wrong thing.. I'll take a look.

EDIT: Fixed. And all of those errors were from the threads handling getwork dieing silently... Have I mentioned all miners seem to be worthless?

EDIT: Its actually still broken I think... But we'll see.
sr. member
Activity: 476
Merit: 250
moOo
August 03, 2011, 02:22:59 AM
I've gotten 1 idle error in 30 minutes..and i was mining bitclockers at the time.. so cant really say it was the hopper.
and yeah I am using slicing. ! seems fine to me in the time but I'll keep an eye on it.

I have been getting this for a while.. mean anything? seems to only happen when i start mining... and not every time.
Code:
011-08-03 03:00:14: Listener for "moohopper": Unhandled error in Deferred:
2011-08-03 03:00:14: Listener for "moohopper": Traceback (most recent call last):
2011-08-03 03:00:14: Listener for "moohopper": File "twisted\internet\defer.pyo", line 238, in callback
2011-08-03 03:00:14: Listener for "moohopper": File "twisted\internet\defer.pyo", line 307, in _startRunCallbacks
2011-08-03 03:00:14: Listener for "moohopper": File "twisted\internet\defer.pyo", line 323, in _runCallbacks
2011-08-03 03:00:14: Listener for "moohopper": File "twisted\internet\defer.pyo", line 766, in gotResult
2011-08-03 03:00:14: Listener for "moohopper": --- ---
2011-08-03 03:00:14: Listener for "moohopper": File "twisted\internet\defer.pyo", line 746, in _inlineCallbacks
2011-08-03 03:00:14: Listener for "moohopper": File "minerutil\RPCProtocol.pyo", line 244, in _requestComplete
2011-08-03 03:00:14: Listener for "moohopper": File "minerutil\RPCProtocol.pyo", line 352, in handleWork
2011-08-03 03:00:14: Listener for "moohopper": exceptions.TypeError: list indices must be integers, not str
nob
newbie
Activity: 23
Merit: 0
August 03, 2011, 02:22:27 AM
i'm not running slice schedular, will use it now
full member
Activity: 196
Merit: 100
August 03, 2011, 02:14:30 AM
I'm getting alot "miner is idle" erros from my workers, since the "lp update" from you c00w

I can confirm this as well. Getting more since LP updates. Also not running slice scheduler, would this be the problem?
full member
Activity: 196
Merit: 100
August 03, 2011, 02:13:25 AM
Hmmm. Are you running with the slice scheduler?
nob
newbie
Activity: 23
Merit: 0
August 03, 2011, 02:07:44 AM
I'm getting alot "miner is idle" erros from my workers, since the "lp update" from you c00w

I tested phoenix 1.5 and poclbm, aswell phoenix with askrate 2 and default. Everytime the same ~10-20% "out of work" (poclbm droped von average 306 to 270 mHashs)

BitHopper is spamming "getwork" requests:

Code:
[09:06:06] RPC request [getwork] submitted to bitcoin.cz
[09:06:07] RPC request [getwork] submitted to bitcoin.cz
[09:06:09] RPC request [getwork] submitted to bitcoin.cz
[09:06:09] RPC request [getwork] submitted to bitcoin.cz
[09:06:11] RPC request [getwork] submitted to bitcoin.cz
[09:06:11] RPC request [getwork] submitted to bitcoin.cz
[09:06:11] RPC request [a787d000] submitted to bitcoin.cz
[09:06:12] RPC request [getwork] submitted to bitcoin.cz
[09:06:13] RPC request [getwork] submitted to bitcoin.cz
[09:06:14] RPC request [getwork] submitted to bitcoin.cz
[09:06:15] RPC request [getwork] submitted to bitcoin.cz
[09:06:15] RPC request [getwork] submitted to bitcoin.cz
[09:06:16] RPC request [getwork] submitted to bitcoin.cz
[09:06:17] RPC request [getwork] submitted to bitcoin.cz
[09:06:18] RPC request [getwork] submitted to bitcoin.cz
[09:06:18] RPC request [getwork] submitted to bitcoin.cz
[09:06:19] RPC request [d471b000] submitted to bitcoin.cz
[09:06:19] RPC request [2e727000] submitted to bitcoin.cz

The Problem is not only bitcoin.cz related it happens with all the others pools,too.
sr. member
Activity: 476
Merit: 250
moOo
August 03, 2011, 01:55:12 AM
you too quick.. all is good here now
full member
Activity: 196
Merit: 100
August 03, 2011, 01:51:25 AM
@beef
So did I and the fix is already up.
sr. member
Activity: 476
Merit: 250
moOo
August 03, 2011, 01:50:08 AM
just updated.. i get this...

[
Code:
02:49:09] RPC request [getwork] submitted to bloodys
[02:49:21] LP Call pool.bloodys.com:8332/LP
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "D:\Users\joulesbeef\Desktop\currentminer\cowaug3rdnewsetfixed\c00w-bitHo
pper-59804ec\work.py", line 98, in jsonrpc_call
    lp.set_lp(v[0],server['pool_index'])
  File "D:\Users\joulesbeef\Desktop\currentminer\cowaug3rdnewsetfixed\c00w-bitHo
pper-59804ec\lp.py", line 52, in set_lp
    self.pull_lp(url,server)
  File "D:\Users\joulesbeef\Desktop\currentminer\cowaug3rdnewsetfixed\c00w-bitHo
pper-59804ec\lp.py", line 67, in pull_lp
    work.jsonrpc_lpcall(self.bitHopper.get_lp_agent(),server, lp_address, self)
  File "D:\Python27\lib\site-packages\twisted\internet\defer.py", line 1141, in
unwindGenerator
    return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
--- ---
  File "D:\Python27\lib\site-packages\twisted\internet\defer.py", line 1020, in
_inlineCallbacks
    result = g.send(result)
  File "D:\Users\joulesbeef\Desktop\currentminer\cowaug3rdnewsetfixed\c00w-bitHo
pper-59804ec\work.py", line 61, in jsonrpc_lpcall
    header = {'Authorization':["Basic " +base64.b64encode(server['user']+ ":" +
server['pass'])], 'User-Agent': ['poclbm/20110709'],'Content-Type': ['applicatio
n/json'] }
exceptions.TypeError: string indices must be integers, not str
[02:49:21] RPC request [getwork] submitted to bloodys
[02:49:22] RPC request [getwork] submitted to bloodys
full member
Activity: 196
Merit: 100
August 03, 2011, 01:43:27 AM
@djex
Thats actually more longpoll crashing. Latest version has that fixed. We will see what else comes up.
sr. member
Activity: 476
Merit: 250
moOo
August 03, 2011, 01:17:10 AM
Quote
"you will find that donating any percentage of your earnings (setting is in your account profile), you are omitted from being flagged as a pool hopper"

What am I missing?


hmm you actually seem to be correct. though I would still lke more clarification.

Quote
Quote
inputname wrote:
I did think I had read that somewhere. So I went looking for confirmation before making the post. I looked in the FAQ, by the donation drop down, the front page of the blog articles because the archive button didn't work, and then read this entire post. Butsaw no mention of donations opting you out from anti-pool hopping detection.
So if there could be a blurb added to some location that's on the same page as other anti-pool hopping information I think that would help useablity a little.

I'm glad you have this system in place,and I'll go along my merry mining way, and try not to ask for features that already exist again.


It's right above the drop-down box on the account page. It displays when you have no donation set.

and he is the site owner.


edit: i'm back on the pool, and yeah in the user section it says right above the donation button that hopper protects go away for a donation.. not sure about their various user bans for not mining for any reasonable length of time.. but I'll see.. I'm donating 1% and if any site doesnt want to screw with us, i'd be willing to give them 1% as well

i do see posts of people still [getting banned with a donation set for being idle](http://www.bitcoinpool.com/forum/viewtopic.php?f=1&t=166&p=3466&hilit=donation#p3466)
full member
Activity: 196
Merit: 100
August 03, 2011, 01:07:37 AM
Ok just tried after a fresh download and setup and still get errors. From the errors it looks like bithopper is conflicting with poclbm threading or port/connection used.

When the errors happen poclbm and bithopper error at the same time. These are the errors:

poclbm:
Code:
Traceback (most recent call last):
  File "/home/djex/BitcoinMiner.py", line 326, in longPollThread
    (connection, result) = self.request(connection, url, self.headers)
  File "/home/djex/BitcoinMiner.py", line 284, in request
    response = connection.getresponse()
  File "/usr/lib/python2.6/httplib.py", line 990, in getresponse
    response.begin()
  File "/usr/lib/python2.6/httplib.py", line 391, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.6/httplib.py", line 355, in _read_status
    raise BadStatusLine(line)
BadStatusLine

and

Code:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/djex/BitcoinMiner.py", line 328, in longPollThread
    self.queueWork(result['result'])
  File "/home/djex/BitcoinMiner.py", line 207, in queueWork
    if self.lastBlock != work['data'][48:56]:
TypeError: list indices must be integers, not str

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/djex/BitcoinMiner.py", line 365, in miningThread
    data   = np.array(unpack('IIIIIIIIIIIIIIII', work['data'][128:].decode('hex')), dtype=np.uint32)
TypeError: list indices must be integers, not str

bitHopper:
Code:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 318, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 424, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 441, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 949, in gotResult
    _inlineCallbacks(r, g, deferred)
--- ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 893, in _inlineCallbacks
    result = g.send(result)
  File "/home/djex/bithopper-c00w/work.py", line 68, in jsonrpc_lpcall
    lp.receive(text,server)
  File "/home/djex/bithopper-c00w/lp.py", line 36, in receive
    self.blocks[block][server] = time.time()
exceptions.TypeError: unhashable type: 'dict

I reverted back to a previous version for now.
Pages:
Jump to: