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

Invalid user provided #13

Open
Prikolll opened this issue Jul 12, 2017 · 3 comments
Open

Invalid user provided #13

Prikolll opened this issue Jul 12, 2017 · 3 comments
Assignees

Comments

@Prikolll
Copy link

DevFee: ETH: Stratum - connecting to 'eth-eu.dwarfpool.com' <127.0.0.1> port 8008
03:49:30:256 710 send: {"worker": "eth1.0", "jsonrpc": "2.0", "params": ["0xB9cF2dA90Bdff1BC014720Cc84F5Ab99d7974EbA", "x"], "id": 2, "method": "eth_submitLogin"}

03:49:30:261 710 DevFee: ETH: Stratum - Connected (eth-eu.dwarfpool.com:8008)
03:49:30:436 710 got 77 bytes
03:49:30:440 710 buf: {"id":999,"jsonrpc": "2.0","result": false,"error": "Invalid user provided"}

03:49:30:445 710 parse packet: 71
03:49:30:448 710 ETH: Share rejected (13859 ms)!

03:49:30:451 710 new buf size: 0
03:49:30:815 2c50 ETH: checking pool connection...

python stratum_proxy.py 127.0.0.1 8008 eu1.ethermine.org 4444 0xB7716d5A768Bc0d5bc5c216cF2d85023a697D04D

@drdada drdada self-assigned this Jul 13, 2017
@drdada
Copy link
Collaborator

drdada commented Jul 13, 2017

Hello !
Do you still have the issue ?
Does it appear every time ?
Do you see some output from the python script ?

@Prikolll
Copy link
Author

Prikolll commented Jul 13, 2017

Yes, there is a problem.(eth-eu.dwarfpool.com)
image

+netsh interface portproxy add v4tov4 listenport=3333 listenaddress=127.0.0.1 connectport=8888 connectaddress=127.0.0.1
03:11:52:310 2440 DevFee: ETH: Stratum - Connected (us1.ethpool.org:3333)
03:11:52:517 2440 got 39 bytes
03:11:52:521 2440 buf: {"id":2,"jsonrpc":"2.0","result":true}

03:11:52:526 2440 parse packet: 38
03:11:52:530 2440 ETH: Authorized
03:11:52:535 2440 send: {"id":3,"jsonrpc":"2.0","method":"eth_getWork","params":[]}

03:11:52:540 2440 new buf size: 0
03:11:52:639 2440 got 248 bytes
03:11:52:643 2440 buf: {"id":3,"jsonrpc":"2.0","result":["0x5b3be1a65a6ae5c2ac898219f14df3fed85b882cd7064d0df121685f41a28795","0x9e9724706b96cf93985fa8f097f4c1a687ebc3c5fc93d50a68d8e51211a723e0","0x0112e0be826d694b2e62d01511f12a6061fbaec8bc02357593e70e52ba","0x3d3f4a"]}

03:11:52:648 2440 parse packet: 247
03:11:52:652 2440 ETH: job changed
03:11:52:656 2440 new buf size: 0
03:11:52:660 2440 DevFee: start mining
03:11:53:127 1bf8 ETH: checking pool connection...
03:11:53:131 1bf8 send: {"id":3,"jsonrpc":"2.0","method":"eth_getWork","params":[]}

03:11:53:215 1bf8 got 237 bytes
03:11:53:219 1bf8 buf: {"id":3,"jsonrpc":"2.0","result":["0x57d0e3e46d55f2d916d218c555697ba5792bba594c26b20afb3e5456799ee0d5","0x9e9724706b96cf93985fa8f097f4c1a687ebc3c5fc93d50a68d8e51211a723e0","0x02dd01fc067918c87bb22ae2da831babaff47cc1f55b39398a682631f0"]}

03:11:53:224 1bf8 parse packet: 236
03:11:53:228 1bf8 ETH: job is the same
03:11:53:232 1bf8 new buf size: 0
03:11:53:376 1bf8 send: {"id":6,"jsonrpc":"2.0","method":"eth_submitHashrate","params":["0x3b73eab", "0x000000000000000000000000000000000000000000000000000000006871451c"]}

03:11:53:459 1bf8 got 39 bytes
03:11:53:462 1bf8 buf: {"id":6,"jsonrpc":"2.0","result":true}

03:11:53:465 1bf8 parse packet: 38
03:11:53:468 1bf8 new buf size: 0
03:11:55:160 1a10 recv: 51
03:11:55:165 1a10 srv pck: 50
03:11:55:170 1a10 srv bs: 0
03:11:55:175 1a10 sent: 154
03:12:00:160 1cb8 recv: 51
03:12:00:165 1cb8 srv pck: 50
03:12:00:170 1cb8 srv bs: 0
03:12:00:175 1cb8 sent: 154
03:12:05:164 109c recv: 51
03:12:05:169 109c srv pck: 50
03:12:05:174 109c srv bs: 0
03:12:05:179 109c sent: 154
03:12:10:158 343c recv: 51
03:12:10:163 343c srv pck: 50
03:12:10:168 343c srv bs: 0
03:12:10:173 343c sent: 154
03:12:13:391 1bf8 send: {"id":6,"jsonrpc":"2.0","method":"eth_submitHashrate","params":["0x3b78276", "0x000000000000000000000000000000000000000000000000000000006871451c"]}

03:12:13:475 1bf8 got 39 bytes
03:12:13:478 1bf8 buf: {"id":6,"jsonrpc":"2.0","result":true}

03:12:13:481 1bf8 parse packet: 38
03:12:13:483 1bf8 new buf size: 0
03:12:15:164 33e0 recv: 51
03:12:15:169 33e0 srv pck: 50
03:12:15:175 33e0 srv bs: 0
03:12:15:179 33e0 sent: 154
03:12:20:162 32f0 recv: 51
03:12:20:167 32f0 srv pck: 50
03:12:20:172 32f0 srv bs: 0
03:12:20:177 32f0 sent: 154
03:12:20:314 2448 GPU0 t=64C fan=66%, GPU1 t=59C fan=59%
03:12:20:319 2448 em hbt: 0, fm hbt: 0,
03:12:20:323 2448 watchdog - thread 0 (gpu0), hb time 125
03:12:20:328 2448 watchdog - thread 1 (gpu0), hb time 250
03:12:20:332 2448 watchdog - thread 2 (gpu1), hb time 219
03:12:20:336 2448 watchdog - thread 3 (gpu1), hb time 94
03:12:22:674 2440 DevFee: ETH: checking pool connection...
03:12:22:681 2440 send: {"id":3,"jsonrpc":"2.0","method":"eth_getWork","params":[]}

03:12:22:777 2440 got 248 bytes
03:12:22:781 2440 buf: {"id":3,"jsonrpc":"2.0","result":["0x5b3be1a65a6ae5c2ac898219f14df3fed85b882cd7064d0df121685f41a28795","0x9e9724706b96cf93985fa8f097f4c1a687ebc3c5fc93d50a68d8e51211a723e0","0x0112e0be826d694b2e62d01511f12a6061fbaec8bc02357593e70e52ba","0x3d3f4a"]}

03:12:22:785 2440 parse packet: 247
03:12:22:789 2440 ETH: job is the same
03:12:22:793 2440 new buf size: 0
03:12:23:143 1bf8 ETH: checking pool connection...
03:12:23:147 1bf8 send: {"id":3,"jsonrpc":"2.0","method":"eth_getWork","params":[]}

03:12:23:231 1bf8 got 237 bytes
03:12:23:236 1bf8 buf: {"id":3,"jsonrpc":"2.0","result":["0x57d0e3e46d55f2d916d218c555697ba5792bba594c26b20afb3e5456799ee0d5","0x9e9724706b96cf93985fa8f097f4c1a687ebc3c5fc93d50a68d8e51211a723e0","0x02dd01fc067918c87bb22ae2da831babaff47cc1f55b39398a682631f0"]}

03:12:23:240 1bf8 parse packet: 236
03:12:23:244 1bf8 ETH: job is the same
03:12:23:249 1bf8 new buf size: 0
03:12:23:414 2440 got 248 bytes
03:12:23:419 2440 buf: {"id":0,"jsonrpc":"2.0","result":["0xc913c970143c623235627623a6d10dab91ad9b32256973f667a073ac0602ddd3","0x9e9724706b96cf93985fa8f097f4c1a687ebc3c5fc93d50a68d8e51211a723e0","0x0112e0be826d694b2e62d01511f12a6061fbaec8bc02357593e70e52ba","0x3d3f4b"]}

03:12:23:423 2440 parse packet: 247
03:12:23:428 2440 ETH: job changed
03:12:23:432 2440 new buf size: 0
03:12:23:436 2440 DevFee: ETH: 07/13/17-03:12:23 - New job from us1.ethpool.org:3333
03:12:23:441 2440 DevFee: target: 0x0000000112e0be82 (diff: 4000MH)
03:12:23:569 1bf8 got 237 bytes
03:12:23:573 1bf8 buf: {"id":0,"jsonrpc":"2.0","result":["0xe4842a32b3b158d09ab1aa3a25eb3515313f302c49b0d5ef49c99b0ad46b0d81","0x9e9724706b96cf93985fa8f097f4c1a687ebc3c5fc93d50a68d8e51211a723e0","0x02dd01fc067918c87bb22ae2da831babaff47cc1f55b39398a682631f0"]}

03:12:23:578 1bf8 parse packet: 236
03:12:23:582 1bf8 ETH: job changed
03:12:23:586 1bf8 new buf size: 0
03:12:23:591 1bf8 ETH: 07/13/17-03:12:23 - New job from eth.coinmine.pl:4000
03:12:23:595 1bf8 target: 0x00000002dd01fc06 (diff: 1500MH), epoch 133(2.04GB)
03:12:23:600 1bf8 ETH - Total Speed: 62.230 Mh/s, Total Shares: 46, Rejected: 0, Time: 00:16
03:12:23:604 1bf8 ETH: GPU0 30.953 Mh/s, GPU1 31.278 Mh/s
03:12:25:164 13f4 recv: 51
03:12:25:169 13f4 srv pck: 50
03:12:25:174 13f4 srv bs: 0
03:12:25:179 13f4 sent: 154
03:12:29:173 2440 DevFee: stop mining and disconnect

But with this log money also does not come

@JuicyPasta
Copy link
Owner

There are a couple different flavors of the stratum protocol out there. I think your problem might be that you are trying to proxy etherpool which uses one of these different flavors. Try using only dwarfpool and seeing what happens

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

No branches or pull requests

3 participants