Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot work with monero-stratum #8

Open
cwz0522 opened this issue Jul 5, 2017 · 1 comment
Open

Cannot work with monero-stratum #8

cwz0522 opened this issue Jul 5, 2017 · 1 comment

Comments

@cwz0522
Copy link

cwz0522 commented Jul 5, 2017

Cannot work with monero-stratum
xmrig miner show: "JSON invalid blob length"
log of the xmr-proxy: (change wallet address to ********) 2017-07-05 14:07:11,066 DEBUG stats logger.get_logger # Logging initialized 2017-07-05 14:07:11,071 DEBUG protocol logger.get_logger # Logging initialized 2017-07-05 14:07:11,071 DEBUG socket_transport logger.get_logger # Logging initialized 2017-07-05 14:07:11,071 DEBUG proxy logger.get_logger # Logging initialized 2017-07-05 14:07:11,071 DEBUG proxy logger.get_logger # Logging initialized 2017-07-05 14:07:11,071 DEBUG proxy logger.get_logger # Logging initialized 2017-07-05 14:07:11,072 DEBUG proxy logger.get_logger # Logging initialized 2017-07-05 14:07:11,086 DEBUG proxy logger.get_logger # Logging initialized 2017-07-05 14:07:11,086 WARNING proxy xmr-proxy.main # Monero Stratum proxy version: 1.0.0 2017-07-05 14:07:11,086 WARNING proxy xmr-proxy.main # Trying to connect to Stratum pool at 127.0.0.1:1111 2017-07-05 14:07:11,087 INFO stats stats.print_stats # 1 peers connected, state changed 1 times 2017-07-05 14:07:11,087 DEBUG protocol protocol.connectionMade # Connected 127.0.0.1 2017-07-05 14:07:11,087 DEBUG protocol protocol.connectionMade # Resuming connection: [] 2017-07-05 14:07:11,087 INFO proxy xmr-proxy.on_connect # Connected to Stratum pool at 127.0.0.1:1111 2017-07-05 14:07:11,087 DEBUG protocol protocol.writeJsonRequest # < {"jsonrpc": "2.0", "params": {"login": "********", "agent": "proxy", "pass": "1"}, "id": 1, "method": "login"} 2017-07-05 14:07:11,581 DEBUG protocol protocol.lineReceived # > {u'error': None, u'jsonrpc': u'2.0', u'id': 1, u'result': {u'status': u'OK', u'job': {u'target': u'711b0d00', u'blob': u'0505cf83f2ca0520e933dac5b88d249647718d1cee367188fd2ece61dc113de973f8da03131560000000005fefafd506ff9c37802e34ba0a703962e8380682221cf4f9dbb259d5fe8e34fa02', u'job_id': u'1470'}, u'id': u'0'}} 2017-07-05 14:07:11,582 WARNING proxy xmr-proxy.main # ----------------------------------------------------------------------- 2017-07-05 14:07:11,582 WARNING proxy xmr-proxy.main # LISTENING FOR MINERS ON stratum+tcp://127.0.0.1:8888 (stratum) 2017-07-05 14:07:11,582 WARNING proxy xmr-proxy.main # ----------------------------------------------------------------------- 2017-07-05 14:07:19,588 INFO stats stats.print_stats # 2 peers connected, state changed 1 times 2017-07-05 14:07:19,588 DEBUG protocol protocol.connectionMade # Connected 127.0.0.1 2017-07-05 14:07:19,588 DEBUG protocol protocol.lineReceived # > {u'params': {u'login': u'', u'agent': u'XMRig/0.8.3-dev', u'pass': u'1'}, u'method': u'login', u'id': 1} 2017-07-05 14:07:19,589 DEBUG protocol protocol.writeJsonRequest # < {"jsonrpc": "2.0", "params": {"login": "********", "pass": "1"}, "id": 2, "method": "login"} 2017-07-05 14:07:19,920 DEBUG protocol protocol.lineReceived # > {u'error': None, u'jsonrpc': u'2.0', u'id': 2, u'result': {u'status': u'OK', u'job': {u'target': u'', u'blob': u'', u'job_id': u''}, u'id': u'0'}} 2017-07-05 14:07:19,920 DEBUG protocol protocol.writeJsonResponse # < {"error": null, "jsonrpc": "2.0", "id": 1, "result": {"status": "OK", "job": {"target": "", "blob": "", "job_id": ""}, "id": "0"}}

@cwz0522
Copy link
Author

cwz0522 commented Jul 5, 2017

BTW, xmrig work with xmr-proxy with public pools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant