External Join Server configuration

Hi,
I’m experiencing an external Join Server with ChirpStack. The documentation is clear, and I configured the chirpstack.toml accordingly. Let’s say I want to forward 0102030405060708 and 322222222222200 Join EUI to https://rbaskets.in/70skp4k:

[join_server]
[[join_server.servers]]
join_eui_prefix=“0102030405060708/64”
server=“https://rbaskets.in/70skp4k

[[join_server.servers]]
join_eui_prefix=“322222222222200/64”
server=“https://rbaskets.in/70skp4k

But whatever I set in the join_eui_prefix, the logs always consider it as join_eui=0000000000000000. Here are the logs when ChirpStack starts up.

INFO chirpstack::backend::joinserver: Setting up Join Server clients
INFO setup{join_eui=0000000000000000}: chirpstack::backend::joinserver: Configuring Join Server
INFO setup{join_eui=0000000000000000}: chirpstack::backend::joinserver: Configuring Join Server

Indeed, the Join Request is now forwarded for the Join EUI 0000000000000000, but not the ones I configured.

What’s wrong with my join_eui_prefix configuration ?

Thanks for your help,

Sylvain

I’ve found out from the changelog that this was only available from ChirpStack 4.6 ( Changelog - ChirpStack open-source LoRaWAN® Network Server documentation ). Indeed, my Join EUI list is now properly configured on startup:

INFO chirpstack::backend::joinserver: Configuring Join Server join_eui_prefix=0102030405060708/64
INFO chirpstack::backend::joinserver: Configuring Join Server join_eui_prefix=3222222222222000/64

However, it doesn’t forward the Join Req any more to my configured endpoint. I will keep digging to find the right configuration.
Regards,

Update ChirpStack to 4.6 where join_eui_prefix are handled.

Then, the above configuration is fine.

  1. If ChirpStack is your hNS, then you need to leave blank the AppKey field when registering your end-device. The JoinReq is forwarded to your configured JS if the Device is provisioned with one of the join_eui_prefix enable in you configuration.
  2. If ChirpStack is a fNS (case of roaming), then no device with this DevEUI should be registered in ChirpStack. A “HomeNSReq” is forwarded to your JS to find out the corresponding hNS of this end-device.

Regards,

1 Like