Gateway Troubleshooting
Gateway MQTT does not connect
- Verify the server-issued Username/Password/ClientId without rebuilding them.
- Check DNS/access to
mqtt.airngin.comand the fallback broker. - Do not confuse temporary network failure with confirmed authentication rejection.
- Never erase credentials for ordinary connection failure.
Command arrives but Child does not act
- was
dn/cmddecrypted and validated? - is the Child still actively associated with this Gateway?
- does the Operation have
gatewayConfig? - is
driverKeypresent in DriverRegistry? - is the native bus ready?
- what
status/codeis returned byup/cmd/ack/{mid}?
Do not treat MQTT PUBACK as evidence that the Child executed the command.
Child is offline while Gateway is online
This is valid. Child Shadow should report online=false; do not automatically remove association or retained Shadow.
HTML Live does not work
- use the exact four session topics
- do not append
/AESto HTML topics - verify temporary credentials are not expired
- verify session/project/gateway ACL scope
- never expose Gateway
encryptionKeyto HTML
Sync is incomplete
- inspect
sync/checkandsync/manifest - do not confuse the 8-hour API token with the 30-minute HTML session
- a malformed snapshot must not replace last-known-good
Analyzer produces no output
- does the Driver already emit canonical output? If so, Analyzer is not needed.
- is Analyzer binding/revision synchronized?
- does the OperationKey exist in the Device definition?
- did a resource policy limit trigger?
- invalid output must be dropped while previous valid state remains intact
Discovery finds nothing
Discovery is not mandatory for every Driver. Manual onboarding may be the correct path. Scans must not block existing native bus operation.