Dragino issues with mTLS - gateway-bridge-firmware

Viewed 11

I have been experimenting with a Dragino LG308 and chirpstack using various configurations. Without TLS is easy and everything works fine. Bringing TLS in to the fold has been challenging, however I have managed to get it working by flashing the chirpstack-gateway-bridge firmware version from the dragino website.

Link to download page
Version used: Chirpstack-Bridge-V4--build-v5.4.1670655072-20221210-1452

Flashing the firmware fails initially and then suceeds on a second attempt. I can then configure the certs appropriately and get the system working as expected.
Then 1 -2 months later it drops off. Power cycling the device does nothing as does restarting the gateway bridge service on the gateway.
If I reflash the firmware etc it works fine again and drops after 1 - 2 months.

I have another outdoor gateway with stock firmware from Dragino, the DLOS8N. Is it possible to use the mqtt client that comes with the gateway to connect to chirpstack directly?

Has any one had any lasting success using a dragino gateway with TLS and if so would you be able to share some advice?

Should I be switching to a different gateway, something that is solid and reliable? I feel like dragino is not a great option.

Cheers,
Nigel

1 Answers

I have tried in the past to run the ChirpStack Gateway Bridge (I assume this is what is included in the image) on the Dragino gateway, but I had to jump through a few hoops to make it work. Given the gateway has very limited (flash) memory available and given the ChirpStack Gateway Bridge was implemented in Go (which also includes the Go runtime in each binary), I had to compress the binary to make it fit on flash.

Installing the ChirpStack MQTT Forwarder (when using the stock Dragino firmware) might be a better option to try as the binary is a lot smaller (it is implemented in Rust). See: https://www.chirpstack.io/docs/chirpstack-mqtt-forwarder/install/dragino.html.

As an alternative, I recently have implemented a ChirpStack Gateway OS version for the Dragino gateway: