MinerProxy icon indicating copy to clipboard operation
MinerProxy copied to clipboard

invalid json request is crashing it

Open ethereumpy opened this issue 7 years ago • 5 comments

any solution available ?

ethereumpy avatar Feb 17 '18 14:02 ethereumpy

Can you supply a debug of of the crash and json?

On Feb 17, 2018 9:36 AM, "ethereumpy" [email protected] wrote:

any solution available ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LostSoulFly/MinerProxy/issues/24, or mute the thread https://github.com/notifications/unsubscribe-auth/AIsrB7Uzugh5wsN6PFS6skrK1JuSNDuUks5tVuPvgaJpZM4SJVJv .

LostSoulfly avatar Feb 17 '18 14:02 LostSoulfly

FWIW this seems to happen consistently on Ethermine but does not happen when connected to Nanopool which leads me to believe it's an Ethermine issue.

{"id":999,"jsonrpc": "2.0","result": false,"error": "Invalid JSON request"}

4:21:01 PM <----< {"id":999,"jsonrpc": "2.0","result": false,"error": "Invalid JSON request"}

[192.168.1.1_52881] 4:21:01 PM: Server error for Miner: Invalid JSON request 4:21:02 PM >----> ":"eth_submitWork","params":["0xe08eff081c5ff41b","<MyAddyHere>","<MyAddyHere>"]}

[192.168.1.1_52881] 4:21:02 PM: Error converting value ":" to type 'MinerProxy.JsonProtocols.EthClientRootObject'. Path '', line 1, position 3. 4:21:02 PM <----< {"id":999,"jsonrpc": "2.0","result": false,"error": "Invalid JSON request"}

4:21:02 PM <----< {"id":999,"jsonrpc": "2.0","result": false,"error": "Invalid JSON request"}

[192.168.1.1_52881] 4:21:02 PM: Server error for Miner: Invalid JSON request

PaulSpoerry avatar Mar 02 '18 22:03 PaulSpoerry

I am using the proxy on Ethermine and I have not had any issues, what is your minerproxy config?

samu01 avatar Mar 03 '18 15:03 samu01

FWIW ethermine was giving me an insane amount of stale shares. Greater than 50% so I've switched back to Nanopool for the moment. I know Claymore does the stale share thing... but I'm routing my miner traffic to an external address (not displayed below) so that it goes out my network and back in through my public facing IP address).

Here was the config though. I also tried using the default 4444 ports too.

{ "allowedAddresses": [ "192.168.1.1", "0.0.0.0" ], "poolList": [ { "poolAddress": "us1.ethermine.org", "poolPort": 14444 }, { "poolAddress": "us2.ethermine.org", "poolPort": 14444 } ], "proxyListenPort": 9000, "webSocketPort": 9091, "log": true, "debug": false, "identifyDevFee": true, "showEndpointInConsole": true, "showRigStats": true, "useDotWithRigName": true, "useSlashWithRigName": false, "useWorkerWithRigName": false, "colorizeConsole": true, "replaceWallet": true, "useWebSockServer": true, "usePasswordAsRigName": false, "donateDevFee": false, "useRigNameAsEndPoint": false, "percentToDonate": 0, "rigStatsIntervalSeconds": 60, "walletAddress": "wallet", "devFeeWalletAddress": "", "minedCoin": "ETH" }

PaulSpoerry avatar Mar 03 '18 15:03 PaulSpoerry

Don't see anything wrong with the config.

samu01 avatar Mar 03 '18 16:03 samu01