Troubleshooting
Diagnosing and resolving common issues in RecordPlatform.
Quick Reference
| Symptom | Likely Cause | Solution |
|---|---|---|
| Service won't start | Missing dependency | Check prerequisites |
| 401 Unauthorized | JWT expired/invalid | Auth issues |
| File upload fails | Storage node down | Storage issues |
| Blockchain timeout | Node unreachable | Blockchain issues |
Topics
Common Issues
- Startup problems
- Authentication errors
- Storage failures
- Blockchain connectivity
- Performance issues
Diagnostic Commands
Check Service Health
bash
# Backend health (includes downstream service status)
curl http://localhost:8000/record-platform/actuator/healthNote:
platform-storageandplatform-fiscoare Dubbo providers without embedded HTTP servers, so they do not expose/actuator/healthendpoints directly. Their health is reflected in the backend's/actuator/healthresponse (e.g., thes3Storagecomponent). You can also monitor them via the OTel Collector Prometheus endpoint atlocalhost:8889.
Check Logs
bash
# View recent errors (default LOG_PATH is ./log relative to each service's working directory)
tail -f log/backend/error.log
# Search for specific error
grep -r "Exception" log/Override
LOG_PATHenvironment variable to change the log directory (e.g.,LOG_PATH=/var/log/recordplatform).
Check Dependencies
bash
# Nacos status
curl http://localhost:8848/nacos/v1/console/health/liveness
# MySQL connection
mysql -h <mysql-host> -u <mysql-user> -p -e "SELECT 1"
# Redis connection
redis-cli -h <redis-host> ping
# RabbitMQ status
rabbitmqctl statusGetting Help
If you can't resolve an issue:
- Check the Common Issues guide
- Review application logs for detailed error messages
- Verify all prerequisites are running
- Check configuration for correct values