Troubleshooting#
Note
Verified against node-scala v1.7.0.
Symptom |
Likely cause |
What to do |
|---|---|---|
|
REST API bound to the container’s loopback |
Set |
Node stays behind after hours |
Still in initial sync, or few peers |
Check |
No peers |
Firewall, wrong network |
Confirm |
Node exits shortly after start |
JVM out of memory ( |
Raise |
Node stops after a network activation |
Unsupported feature, auto-shutdown |
Upgrade the node |
|
Missing or wrong |
|
Database errors after a crash |
Unclean shutdown |
Roll back if within depth, otherwise re-sync |
Node produces no blocks |
Generating balance too low, wallet not loaded, or still syncing |
Check |
Useful checks#
curl -s http://localhost:6869/node/status # heights, timestamps, generationPeriodLength
curl -s http://localhost:6869/node/version
curl -s http://localhost:6869/peers/connected -H 'X-Api-Key: my-secret-api-key' # /peers/* needs the API key
curl -s http://localhost:6869/activation/status
Adding a peer at runtime#
curl -X POST http://localhost:6869/peers/connect \
-H 'X-Api-Key: my-secret-api-key' -H 'Content-Type: application/json' \
-d '{"host": "<ip>", "port": 6868}'
Reporting an issue#
Include the node version, network, /node/status output and the relevant log excerpt when opening an issue at Decentral-America/node-scala.