Table des matières
ToggleIf your 4G industrial gateway keeps dropping offline, follow this troubleshooting sequence before replacing the SIM card. The power LED in the cabinet is on, but the platform keeps showing the device offline. 4G registration, dial-up, network probing, and MQTT sessions are four separate checkpoints. Using the IOTRouter’s EG8200Mini as an example, this article follows a field-executable troubleshooting order.
Platform Offline? Check the Failed Layer
Put the offline time, gateway logs, carrier network information, and platform logs on the same timeline. Seeing only that the platform is offline does not directly mean the 4G signal is poor. The EG8200Mini supports LAN, WAN, and Wi-Fi connectivity at the same time; Ethernet or wireless link switching may also cause upper-layer sessions to be re-established.
| Check Layer | What to Check First | Possible Next Step |
|---|---|---|
| Power and device | Voltage, reboot records, indicator LEDs | Rule out transient power loss and loose wiring |
| 4G access | SIM detection, carrier registration, LAN address | Verify card status, APN, and antenna |
| Network probing | Current connectivity mode, probe address, switching records | Correct an unreachable probe target |
| Service connection | Server port, MQTT connection status and logs | Verify Client ID, authentication, and Keepalive |
| Platform display | Device heartbeat rules, last message time | Verify the conditions under which the platform determines offline |
Pinging an address successfully only means that the target is reachable; it does not prove that the MQTT server, account, and service topics are all normal. Conversely, a temporary platform offline status does not mean local collection has stopped.

No 4G Address on the 4G Industrial Gateway?
First, check the SIM card and antenna with the power off. After powering on, check whether the LAN page displays the card number and network address. The EG8200Mini Q&A in IOTRouter’s knowledge base states that when the card number is not displayed, you should first power off and reinsert the SIM card. If the card is detected but dial-up fails, confirm with the carrier whether the card is enabled, whether it is in arrears, and whether it is a private-network SIM or a restricted-destination SIM.
A private-network SIM may require a specified APN; a restricted-destination SIM may also require adding the server to a whitelist. Testing these two types of cards as ordinary public-network cards can easily lead to misjudging the issue as a gateway failure. The metal cabinet enclosure, antenna location, and poor feeder contact can also affect the RF link. During troubleshooting, record signal metrics and offline periods, then decide whether to move the antenna or replace the card.
LAN-Only Services: Why Repeated Drops?
This is a configuration issue that is easy to miss. The connectivity configuration of the IOTRouter EG series pings a probe address. In AUTO mode, consecutive probe failures may switch the connectivity method; in fixed mode, the corresponding interface may be restarted, or 4G may be made to redial. If the factory only uses the WAN port to access a LAN server, the public-network probe address is inherently unreachable, and the device may repeatedly determine that the network is abnormal.
The solution is to keep the connectivity mode consistent with the actual egress. For single-line LAN access, fix it to WAN and change the probe address to a stable, reachable LAN address on site. If the deployment truly relies on the 4G public network, the probe target should match the service egress. Do not arbitrarily disable fault detection just to make the indicator LED turn green. First confirm whether probe failures occur at the same time as service disconnections.
4G OK but Still Offline? Check MQTT
In the EG8200Mini MQTT Broker configuration, verify the server domain name or IP, port, username, password, Client ID, TLS requirements, and protocol version. Zongheng Intelligent Control’s node description lists MQTT 3.1.1 and MQTT 5 and recommends enabling automatic reconnection. Keepalive should be filled in according to the server requirements; do not write a certain example number of seconds as a universal value for all projects.
During batch deployment, check in particular whether Client IDs are duplicated. If two gateways share the same ID, the server may take the old connection offline. The reconnect interval should also be coordinated with the server’s rate-limiting policy to avoid many devices repeatedly attempting at the same time. If connecting via a domain name, continue by checking DNS resolution; if using TLS, check the device time and certificate chain.
On-Site Troubleshooting Order
Step 1: Save the fault period, gateway model, firmware version, and platform offline logs.
Step 2: Check power, SIM detection, LAN address, and network registration; if necessary, power off and reinsert the SIM.
Step 3: Verify the APN, restricted-destination SIM whitelist, and antenna installation, and record signal and dial-up changes.
Step 4: Verify the connectivity mode, probe address, and network switching records; test the public network and the service server separately.
Step 5: Check the MQTT Broker status, Client ID, authentication, Keepalive, and automatic reconnection.
Step 6: Simulate a service disconnection, then restore the network; compare the platform’s last report time with the gap.
During acceptance, retain gateway logs, platform receive time, and collection time. If they are inconsistent, continue checking for queuing or platform processing delays. Merely seeing the device finally come back online is not enough to prove data integrity during the offline period.
FAQ
Q: Does having a 4G IP address mean MQTT is definitely online?
A: No. The server port, authentication, and session status still need to be checked.
Q: Can a private-network SIM connect to the network as soon as it is inserted?
A: Not necessarily. First confirm the APN and access scope with the carrier.
Q: Does a LAN project need to ping the public network?
A: No. The probe address should be a target reachable on the service network.
Q: Is a shorter Keepalive always better?
A: No. Follow platform requirements and test on the on-site link.
Q: Can automatic reconnection recover data lost during an offline period?
A: It cannot rely on reconnection alone. Caching or persistent retransmission also needs to be configured.
For frequent disconnections, first locate the fault by layer, then adjust the configuration. Compare EG8200Mini’s offline logs, connectivity detection, and MQTT status once; if the link is confirmed to be intermittently interrupted, then configure an independent preservation mechanism for the collected data.
Agnes Wang est spécialiste des solutions IoT chez IOTRouter ; elle se consacre principalement aux passerelles IoT industrielles, à l'edge computing et aux solutions d'automatisation industrielle.
Elle est spécialisée dans les technologies de communication industrielle, notamment Modbus, la norme CEI 60870-5-104, MQTT, OPC UA, l'intégration d'automates programmables (PLC) et les applications de télésurveillance. Elle contribue à la rédaction d'articles techniques et de guides d'application consacrés aux solutions IoT industrielles, à la conversion de protocoles et à l'edge computing.



