python - stratum-mining-proxy error - Can't decode message -


i'm attempting run stratum-mining-proxy minerd. proxy starts , runs following command:

python ./mining_proxy.py -o ltc-stratum.kattare.com -p 3333 -pa scrypt 

proxy starts fine. run minerd (u/p removed):

minerd -a scrypt -r 1 -s 6 -o http://127.0.0.1:3333 -o username.1:password 

following errors received. 1 proxy:

2013-07-18 01:33:59,981 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 

and minerd. doing wrong? appreciated!

[2013-07-18 01:33:59] http request failed: empty reply server [2013-07-18 01:33:59] json_rpc_call failed, retry after 30 seconds 

i little curious, don't know fact under impression mining proxy btc not ltc.

but anyways believe got similar message when first installed well. fix, or rather running had use git installation method instead of installing manually.

installation on linux using git

this advanced option experienced users, give easiest way updating proxy.

1.git clone git://github.com/slush0/stratum-mining-proxy.git

2.cd stratum-mining-proxy

3.sudo apt-get install python-dev # development package of python necessary

4.sudo python distribute_setup.py # upgrade setuptools package

5.sudo python setup.py develop # install required dependencies (namely twisted , stratum libraries), don't install package system.

6.you can start proxy typing "./mining_proxy.py" in terminal window. using default settings, proxy connects slush's pool interface.

7.if want connect pool or change other proxy settings, type "./mining_proxy.py --help".

8.if want update proxy, type "git pull" in package directory.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -