TheSeven / Modular-Python-Bitcoin-Miner

http://wiki.btcfpga.com/index.php?title=Modular_Python_Bitcoin_Miner
GNU General Public License v2.0
85 stars 50 forks source link

lockup on password change #25

Open razorfish-sl opened 11 years ago

razorfish-sl commented 11 years ago

Setting up an account for 'bitminter"

You have to set a pw.

activate the account in MPBM, and set a 'wrong' password Then try to delete the whole password in the 'work-source', by selecting it and pressing the delete key. for some reason it hangs the web front end.

also even with a pw set "bitminter" rejects the login...

2013-06-27 14:39:00.855 [200] bitminter_stratum: Stratum worker authorization failed: [25, u'Not subscribed', None] 2013-06-27 14:39:00.872 [200] bitminter_stratum: Stratum connection died: Traceback (most recent call last): File "/home/Modular-Python-Bitcoin-Miner/modules/theseven/stratum/stratumworksource.py", line 194, in _listener msgs = json.loads(self.connr.readline()) File "/usr/lib/python2.7/socket.py", line 447, in readline data = self._sock.recv(self._rbufsize) AttributeError: 'NoneType' object has no attribute 'recv'

TheSeven commented 11 years ago

Which browser are you having the password deletion problem with? It feels like this is a more general problem with that browser, because that field isn't really anything special.

The other problem is a bug on bitminter's side. Judging from the message, it assumes that clients first subscribe before authorizing, which isn't required by the stratum specification, and is completely backwards, because it opens up a nasty race condition. You can swap subscribing and authorizing around in the work source module if you want to mine there regardless, but that can result in shares being submitted before the worker is authorized and thus getting rejected needlessly.

razorfish-sl commented 11 years ago

ahhhii....... Why can these pools not stick to a standard format, I'll give the pool a miss...

K... you are right about the browser, it is broken in safari, but fine in firefox Only problem with firefox is the display is all messed up and overlapping on left.... Which is why I was forced to use safari. Neither are critical. messy