Skip to main contentConnection Issues
Can’t Connect to EnSync
Symptoms: Client fails to connect, timeout errors
Solutions:
- Verify credentials: Check appKey and appSecret are correct
- Check network connectivity: Ensure you can reach EnSync broker
- Verify firewall rules: Allow outbound connections
- Check app status: Verify app hasn’t been deleted
Frequent Disconnections
Symptoms: Client connects but disconnects repeatedly
Solutions:
- Check network stability: Unstable networks cause reconnections
- Monitor connection events: Log disconnect reasons
- Implement reconnection logic: SDK handles this automatically
Permission Errors
Can’t Publish Events
Error: Permission denied: send not allowed for event path
Solutions:
-
Check send permissions: View in EnSync Dashboard or via Get Permissions API
-
Update permissions: Update in EnSync Dashboard or via Update Permissions API
Can’t Subscribe to Events
Error: Permission denied: receive not allowed for event path
Solutions:
- Check receive permissions: Verify your app has
receive permission for the event path
- Update permissions: Add the event path to
receive array
Using Logs Dashboard
The Logs dashboard in EnSync Dashboard shows:
- Connection events: When your app connects/disconnects
- Publish activity: Events your app publishes
- Subscribe activity: Events your app receives
- Errors: Failed operations with details
- Permission denials: Unauthorized access attempts
Accessing Logs
- Log in to EnSync Dashboard
- Navigate to Logs section
- Filter by:
- AppKey
- Event name
- Time range
- Error type
Using Monitoring Dashboard
The Monitoring dashboard provides metrics:
- Event throughput: Events per second
- Queue depth: Pending events
- Processing time: Average time to process
- Error rate: Failed events percentage
- Connection status: Active/inactive workers
Setting Up Alerts
Configure alerts for:
- High queue depth (events backing up)
- High error rate (processing failures)
- Connection failures (app offline)
Getting Help
If issues persist:
- Check Logs dashboard: Review error messages and timestamps
- Check Monitoring dashboard: Look for unusual metrics
- Contact support: Email [email protected] with:
- App name
- Description of the issue
- Error messages from logs
- Timestamp when issue occurred
- Steps to reproduce