Extension: Field Test Data Processor, latest from Extension Gallery
LNS: AWS IoT Core for LoRaWAN
Issue
The extension is confirmed receiving and correctly processing uplinks — including Location Label data — but the Device Overview page and CSV export remain completely empty, and the Field Tester’s own screen shows no data either.
What’s confirmed working:
Gateway connects to AWS IoT Core via Basic Station (CUPS + LNS)
Extension connects via MQTT (8883, TLS), subscribes, and receives uplinks continuously (~every 10-12 sec)
Field Tester joins and transmits normally
Setting a Location Label (e.g., “TEST1”) is correctly decoded by the extension — confirmed via payload match — and logs Start Label Test... for every labeled uplink over many minutes
What’s not working:
Device Overview: no data ever appears
CSV export: empty
Field Tester’s on-device screen: no uplink/performance data shown
GET /ext/db — the endpoint that appears to feed the Device Overview/export UI — returns 500 right after an MQTT reconnect, and is reproducible. Uplink processing continues normally afterward, but the stored dataset behind that endpoint appears broken or uninitialized.
Question: Has anyone seen /ext/db return a 500 on this extension? Is there a known fix (extension reinstall, DB reset, specific firmware pairing)? Happy to provide more logs if useful.
Follow-up to my earlier post (no responses yet) — found a more specific, reproducible pattern that may point to the actual root cause.
The extension’s MQTT client is disconnecting and reconnecting after every single uplink/downlink cycle, correlated specifically with sending the downlink response. This is consistent across two separate days and two separate process restarts (different PIDs), so it appears to be a repeatable behavior of the extension itself, not a one-off network blip.
Log pattern (repeats every ~10-12 sec, matching the Field Tester’s uplink interval):
The disconnect happens immediately after “Sent downlink message” every time — never after an uplink that doesn’t trigger a downlink response. This strongly suggests the downlink-send code path is tearing down the MQTT session as a side effect, rather than reusing a persistent connection.
Uplinks and Location Labels are being received and correctly decoded by the extension on every cycle (confirmed via payload match to the exact label set on the device)
But Device Overview, CSV export, and the Field Tester’s own on-device display all remain empty
The previously reported GET /ext/db → 500 error occurs right after an MQTT reconnect — plausibly a consequence of this same connection churn destabilizing whatever process persists data to the extension’s local database
Question: Is this disconnect-after-downlink behavior expected/by design, or a bug? Is there a way to confirm whether the reconnect is completing cleanly enough for the LNS to actually deliver the downlink, or whether it’s dropped in the process? Any known fix or workaround (extension version, config option) would be appreciated — happy to provide further logs.