Skip to content

Commit 7454eab

Browse files
author
Troy McConaghy
committed
Problem: No troubleshooting help for users of simple-network-setup
Solution: Add a Troubleshooting section to the simple-network-setup docs
1 parent 1481910 commit 7454eab

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/server/source/simple-network-setup.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,19 @@ If you followed the recommended approach and created startup scripts for Bigchai
244244

245245
If you followed the above instructions, then your node should be publicly-accessible with BigchainDB Root URL `http://hostname:9984` (where hostname is something like `bdb7.canada.vmsareus.net` or `17.122.200.76`). That is, anyone can interact with your node using the [BigchainDB HTTP API](http-client-server-api.html) exposed at that address. The most common way to do that is to use one of the [BigchainDB Drivers](./drivers-clients/index.html).
246246

247+
## Troubleshooting
248+
249+
To check which nodes your node is connected to (via Tendermint protocols), do:
250+
251+
```text
252+
# if you don't jq installed, then install it
253+
sudo apt install jq
254+
# then do
255+
curl -s localhost:26657/net_info | jq ".result.peers[].node_info | {id, listen_addr, moniker}"
256+
```
257+
258+
Tendermint has other endpoints besides `/net_info`: see [the Tendermint RPC docs](https://tendermint.github.io/slate/?shell#introduction).
259+
247260
## Refreshing Your Node
248261

249262
If you want to refresh your node back to a fresh empty state, then your best bet is to terminate it and deploy a new virtual machine, but if that's not an option, then you can:

0 commit comments

Comments
 (0)