Troubleshooting
1
2
3
Application Service Connection Failure
Symptoms
Diagnosis Steps
grep "remoteService" config.jsonREMOTE_SERVICE=$(grep -o '"remoteService": "[^"]*"' config.json | cut -d'"' -f4)
curl -v $REMOTE_SERVICE# Test TCP connection
telnet $(echo $REMOTE_SERVICE | sed 's|http://||' | cut -d':' -f1) $(echo $REMOTE_SERVICE | sed 's|.*:||' | cut -d'/' -f1)Solutions
4
Database Connection Issues
Symptoms
Diagnosis Steps
# View MongoDB logs
docker logs mongodb-service
# Enter container to check connection
docker exec -it mongodb-service mongosh
# Test database connection
docker exec mongodb-service mongosh --eval "db.runCommand({connectionStatus: 1})"grep -A 10 '"mongo"' config.jsonSolutions
5
Self Service Registration Failure
Symptoms
Diagnosis Steps
curl http://127.0.0.1:4567/getServiceKey# Check registration logs, look for:
# - Registration messages (info level)
# - Latest successful registration time (info level)
grep -E "(register|auth|key)" data/logs/$(date +%Y-%m-%d)-self.logcurl http://localhost:4567/health | grep -o '"status":[0-9]*'Solutions
6
No Response After Successful Self Service Registration
Symptoms
Diagnosis Steps
REMOTE_SERVICE=$(grep -o '"remoteService": "[^"]*"' config.json | cut -d'"' -f4)
curl -v $REMOTE_SERVICE# Monitor logs, check for:
# - Incoming messages (non-registration messages, info level)
# - Application service API call info including endpoints, parameters, and return values (debug level)
tail -f data/logs/$(date +%Y-%m-%d)-self.log | grep -E "(request|response|message)"