Description
Troubleshooting Category
Add troubleshooting item to a brand new page
What page will this troubleshooting item live?
https://docs.optimism.io/builders/node-operators/json-rpc#opp2p_peerstats
describe the problem from a developer's perspective, including any error message received
With cli cast rpc opp2p_discoveryTable --rpc-url http://localhost:9545
, it return server returned an error response: error code -32601: the method opp2p_discoveryTable does not exist/is not available
. We use cast rpc optimism_syncStatus --rpc-url http://localhost:9545
, it will correctly get the output
explain the solution to the problem identified above, use step-by-step instructions when possible
I think I maybe loss some option when start op-node,this is the start cli:
./bin/op-node
--l2=http://localhost:8551
--l2.jwt-secret=./jwt.txt
--sequencer.enabled
--sequencer.l1-confs=5
--verifier.l1-confs=4
--rollup.config=./rollup.json
--rpc.addr=0.0.0.0
--rpc.port=8547
--p2p.disable
--rpc.enable-admin
--p2p.sequencer.key=$GS_SEQUENCER_PRIVATE_KEY
--l1=$L1_RPC_URL
--l1.rpckind=$L1_RPC_KIND
Or how do I get the opp2p info ?
Additional context
No response