Quick Diagnostics
- Connection Issues
- Authentication Issues
- Performance Issues
Common Issues
Service Won’t Start
Port already in use
Port already in use
Error:
bind: address already in useSolution:Docker daemon not running
Docker daemon not running
Error:
Cannot connect to the Docker daemonSolution:Database migration failed
Database migration failed
Error:
error returned from database: relation does not existSolution:Insufficient resources
Insufficient resources
Error:
no space left on device or OOM errorsSolution:Authentication Failures
Palm not recognized
Palm not recognized
Issue: Authentication fails with NO_MATCH errorDiagnostic Steps:
- Verify same seed used for registration and auth
- Check palm side (left vs right)
- Verify user is registered
Session timeout
Session timeout
Issue: Authentication times out after 30 secondsSolutions:
Consent missing
Consent missing
Issue: Vendor cannot access required attributesSolution:
Invalid socket address
Invalid socket address
Issue:
Error: invalid socket address syntaxSolution:WebSocket Issues
Connection drops frequently
Connection drops frequently
Issue: WebSocket disconnects randomlySolutions:
Message not received
Message not received
Issue: Vendor doesn’t receive auth resultsDiagnostic:
CORS errors
CORS errors
Issue: WebSocket blocked by CORS policySolution:
Database Issues
Connection pool exhausted
Connection pool exhausted
Error:
too many connections for roleSolution:Slow queries
Slow queries
Issue: Database queries taking too longDiagnostic:Solution:
Performance Issues
High CPU usage
High CPU usage
Diagnostic:Solutions:
- Scale horizontally with more replicas
- Optimize algorithms (check for O(n²) operations)
- Implement caching
- Use connection pooling
Memory leaks
Memory leaks
Diagnostic:Solutions:
- Fix unclosed connections
- Clear caches periodically
- Limit concurrent operations
- Use weak references where appropriate
Slow response times
Slow response times
Diagnostic:Solutions:
- Add caching layer (Redis)
- Optimize database queries
- Implement request queuing
- Use CDN for static assets
Mock Service Issues
Mock PVS web UI not loading
Mock PVS web UI not loading
Mock vendor not receiving requests
Mock vendor not receiving requests
Issue: Mock vendor running but not getting auth contextsSolution: