Connection Issues¶
Diagnose and resolve connectivity problems.
Device Cannot Connect¶
Symptoms: - Device shows "Disconnected" - Timeout errors in logs
Troubleshooting Steps:
-
Verify Network Connectivity
-
Check Device Configuration
- Correct IP address
- Correct port (usually 502)
- Correct slave/unit ID
-
Device powered on
-
Firewall Rules
- Allow outbound TCP port 502
-
Check device firewall settings
-
Device Availability
- Device not busy with other connections
- Modbus enabled on device
- Check device manual for configuration
MQTT Broker Connection Failed¶
Symptoms: - "MQTT Disconnected" status - Cannot publish data
Troubleshooting Steps:
-
Test Broker Connectivity
-
Verify Credentials
- Username correct
- Password correct
-
Check broker logs
-
Network Issues
- Check firewall rules
- Verify broker is running
-
Test with MQTT client tool
-
TLS Issues
- Verify certificates
- Check TLS version compatibility
Intermittent Connections¶
Symptoms: - Devices connecting/disconnecting frequently - Degraded status
Possible Causes:
- Network Instability
- Packet loss
- High latency
-
Wireless interference
-
Device Overload
- Too many simultaneous connections
- Device too slow to respond
-
Increase frame delay
-
Timeout Too Short
- Increase device timeout
- Reduce polling frequency