Post
Topic
Board Pools
Re: [ANN] Stratum mining protocol - ASIC ready
by
generalfault
on 22/12/2012, 13:44:14 UTC
Can please someone take a look on this, i did manually install python 2.7 and twisted 12.2 and still facing same problem

2012-12-22 04:25:24,738 ERROR protocol protocol.dataReceived # Processing of message failed
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/stratum-0.2.11-py2.7.egg/stratum/protocol.py", line 181, in dataReceived
    self.lineReceived(line, request_counter)
  File "/usr/local/lib/python2.7/site-packages/stratum-0.2.11-py2.7.egg/stratum/protocol.py", line 212, in lineReceived
    raise custom_exceptions.ProtocolException("Cannot decode message '%s'" % line)
'rotocolException: Cannot decode message 'POST / HTTP/1.1


As slush said above, your client is talking http to a stratum/json port. you most likly have the pool specified on your client as:
http://yourhost.somewhere:3333
and it should be:
stratum+tcp://yourhost.somewhere:3333

and stratum doesn't understand http (nor should it.)