Troubleshooting and Tips:
Common issues and fixes:
Permission errors: Permission denied while trying to connect to the Docker daemon socket, follow these steps:
Verify Docker Group Exists:
$ cat /etc/group | grep docker
Add Your User to the Docker Group:
Replace <username> with your actual username:
$ sudo usermod -aG docker <username>
Apply Changes:
Log out and back in or run:
$ newgrp docker
Test Docker:
Verify Docker access without sudo by running:
$ docker run hello-world
Monitoring and Health Checks:
Endpoints:
Readiness probe:
http://<host>:<API_PORT>/health-check/readiness
Liveness probe:
http://<host>:<API_PORT>/health-check/liveness
Status check example:
{
"name": "SPS Validator Node",
"status": true,
"date": "2022-05-20T16:20:04.197Z"
}