-
Notifications
You must be signed in to change notification settings - Fork 773
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Troubleshooting page to Simple Deployment Template (#2517)
- Loading branch information
Showing
3 changed files
with
30 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,4 @@ We also have a :ref:`kubernetes-deployment-template` (not simple). | |
:maxdepth: 1 | ||
|
||
network-setup | ||
troubleshooting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
docs/server/source/simple-deployment-template/troubleshooting.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Troubleshooting | ||
|
||
## General Tips | ||
|
||
- Check the BigchainDB, Tendermint and MongoDB logs. | ||
- Try Googling the error message. | ||
|
||
## Resolving Tendermint Connectivity Problems | ||
|
||
To check which nodes your node is connected to (via Tendermint protocols), do: | ||
|
||
```text | ||
# if you don't have jq installed, then install it | ||
sudo apt install jq | ||
# then do | ||
curl -s localhost:26657/net_info | jq ".result.peers[].node_info | {id, listen_addr, moniker}" | ||
``` | ||
|
||
Note: Tendermint has other endpoints besides `/net_info`: see [the Tendermint RPC docs](https://tendermint.github.io/slate/?shell#introduction). | ||
|
||
If you're running your network inside a [private network](https://en.wikipedia.org/wiki/Private_network), e.g. with IP addresses of the form 192.168.x.y, then you may have to change the following setting in `config.toml`: | ||
|
||
```text | ||
addr_book_strict = false | ||
``` | ||
|
||
## Other Problems | ||
|
||
If you're stuck, maybe [file a new issue on GitHub](https://github.com/bigchaindb/bigchaindb/issues/new). If your problem occurs often enough, we'll write about it here. |