core-geth icon indicating copy to clipboard operation
core-geth copied to clipboard

Served admin_peers

Open yarema09 opened this issue 3 years ago • 2 comments

Аfter complete synchronization of the node, the inscription appears Served admin_peers conn = 217.12.203.122: 47724 reqid = 1 t = 0s err = "the admin_peers method does not exist / is not available" Served parity_netPeers conn=217.12.203.122:47724 reqid=1 t=0s err="the method parity_netPeers does not exist/is not available"

how to fix it and is it important error?

yarema09 avatar Dec 22 '21 17:12 yarema09

edited, saw this error on my geth logs (last version). now they seem to have disappear.

but this is the way to trigger it again : curl --data '{"method":"parity_netPeers","params":[],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:1234 {"jsonrpc":"2.0","id":1,"error":{"code":-32601,"message":"the method parity_netPeers does not exist/is not available"}}

3cl1ps avatar Dec 25 '21 19:12 3cl1ps

It is possible that someone (someone's robot, more likely) is making that request to your client automatically. You may also see miner_start, miner_setEtherbase, etc. The admin_ RPC module is not public by default (nor is miner_), and parity_netPeers method doesn't exist for core-geth.

meowsbits avatar Jan 03 '22 14:01 meowsbits