Panics/Errors
Debug the running network
ISSUES -
Chain Stuck
sharder/miner issue
Allocation failed to create
blobber issue
Web-apps CORS issue
0box is down if nginx configuration file is perfect.
SHARDER / MINER PANIC
whenever sharder/miner fails with a panic it is marked as red and so further debugging is required.
After 2-3 days sharder/miner might crashed due to panic which make chain stuck when all sharder/miner show same issue.
sharder/miner can keep on restarting by themself after a panic which make chain slow & sometimes stuck when all sharder show same issue.
sharder is not able to connect with postgres can make sharder unavailable
HOW TO CHECK CHAIN IS STUCK -
Enter the network link from the browser.
refresh the page 4-5 times and check the Round from the Round Health column as the number should keep on increasing.
For sharder Healthcheck, you can use this script as well.
For miner Healthcheck, you can use this script as well.
Login into the server
Enter the following command to check panic
Share the panic with developers on Slack Channels.

BLOBBER & VALIDATOR PANIC
Use Zwalletcli for checking blobber details - https://github.com/0chain/zboxcli#list-blobbers
For Blobbers healthcheck, you can use this script.
The Problems we can face if blobber have issue -
We can't create allocation or freestorage allocation.
we can't upload data
Below error resembles there is some issue with blobbers -
not enough blobbers to honor the allocation
There can be two reasons due to which blobber can become unavailable -
Blobber Panic
For blobber Healthcheck, you can use this script as well.
Login into the server
Enter the following command to check panic
Share the panic with developers on Slack Channels.
Stake Blobbers
This section stakes blobber & validator of the network mentioned in the config.yaml file.
Below attached is the script for staking blobbers & validators -
0BOX PANIC
If the issue if 404 not found status code then 0box is not deployed on the server. However, if it's 502 Bad Gateway status code then 0box container crashed due to panic or db is not connected to it.
Login into the server
Enter the following command to check panic
Share the panic with developers on Slack Channels.

Last updated