Trouble Connecting Dragino Sensors to ChirpStack via OTAA

Hello,

First of all, I want to thank everyone who keeps this community alive. It has been very helpful to me so far, but I am facing a particular challenge and need your help.

Context: I have a Dragino gateway and two Dragino sensors. When I connect them using OTAA on The Things Network (TTN), I have no problems and everything works correctly. However, I have been trying to integrate them into my local environment that runs ChirpStack, and this is where the problems arise.

Problem: I cannot get the sensors to connect to ChirpStack. I have rebuilt the platform on my server twice and validated the configuration multiple times without success. It seems that I am missing something, and I suspect it might be a minor but crucial detail. Additionally, I have many JoinRequest events, but I cannot show them because if I wait more than 30 seconds, the platform returns to the beginning with a 502 error.

Captured Data: I have been monitoring the join attempts using MQTT, and here are the logs I capture at the moment the sensors try to perform the join.

{"phyPayload":"AAABAAAAQUCogR2HgaxBQKjuELynjiI=","txInfo":{"frequency":918000000,"modulation":"LORA","loRaModulationInfo":{"bandwidth":125,"spreadingFactor":10,"codeRate":"4/5","polarizationInversion":false}},"rxInfo":{"gatewayID":"qEBB//8nzQw=","time":"2024-05-29T01:21:32.968407Z","timeSinceGPSEpoch":null,"rssi":-59,"loRaSNR":13,"channel":6,"rfChain":1,"board":0,"antenna":0,"location":null,"fineTimestampType":"NONE","context":"v3l0DA==","uplinkID":"7UT07h6eSw2dLQE1Opb7Vg==","crcStatus":"CRC_OK"}}

I have no issues with my Dragino gateways and sensors.

What models of your gateways and sensors?

And show us screenshots of Events and LoRaWAN frames of your gateways and devices in your ChirpStack.

Hello,

Here are the screenshots you requested. If you need anything more, please let me know. I am eager to get this resolved.

Best regards,

Gateway OK

Sensors

Config OTAA

appkey set for capture

MQtt.fx
image

Config Sensor

AT+ADR=1
AT+TXP=0
AT+DR=2
AT+DCS=0
AT+PNM=1
AT+RX2FQ=923300000
AT+RX2DR=8
AT+RX1DL=1000
AT+RX2DL=2000
AT+JN1DL=5000
AT+JN2DL=6000
AT+NJM=1
AT+NWKID=00 00 00 00
AT+FCU=0
AT+FCD=0
AT+CLASS=A
AT+NJS=0
AT+RECVB=0:
AT+RECV=
AT+VER=AU915 v1.3.2
AT+CFM=0,7,0
AT+SNR=0
AT+RSSI=0
AT+TDC=1200000
AT+PORT=2
AT+PWORD=123456
AT+CHS=0
AT+CHE=0
AT+SLEEP=0
AT+EXT=1
AT+BAT=2981
AT+WMOD=0
AT+ARTEMP=-40,125
AT+CITEMP=1
AT+DWELLT=1
AT+RJTDC=20
AT+RPL=0
AT+TIMESTAMP=systime= 2024/5/29 16:56:55 (1717001815)
AT+LEAPSEC=18
AT+SYNCMOD=1
AT+SYNCTDC=10
AT+PID=0
AT+DDETECT=1,1440,2880
AT+SETMAXNBTRANS=1,0
AT+UUID=
AT+PNACKMD=0
AT+EPLOGIC=0
AT+LEDALARM=0

The date does not match today’s date. This issue is new.

Yes, more info now.
You are at 50% successful join.

  1. You should check the Device Profile and make sure it uses AU915_1.
    Then use LoRaWAN 1.0.3 and RP002-1.0.3 in the Device Profile.

  2. For Join EUI in the below image, you can try to put 0000000000000000
    This is the default Join EUI.

For testing, you can disable frame-counter validation too.
After ok, you can enable it back.