Hello folks.
I have migrated from chirpstack v3 to v4 and trying to connect LoRa device which was working with v3:
DEBUG:0000024020:COMMS: >> LoRa (R) is a registered trademark or service mark o
DEBUG:0000024023:COMMS: >> RAK4270 version:3.3.0.17
DEBUG:0000024175:COMMS: >> UART1 work mode: RUI_UART_NORMAL, 115200, N81
DEBUG:0000024180:COMMS: >> UART2 work mode: RUI_UART_NORMAL, 115200, N81
DEBUG:0000024188:COMMS: >> Current work_mode:LoRaWAN, join_mode:OTAA, Multicast
DEBUG:0000024190:COMMS: >> Initialization OK
DEBUG:0000024190:COMMS: << at+set_config=lora:default_parameters
DEBUG:0000024416:COMMS: >> OK
DEBUG:0000024418:COMMS: << at+set_config=lora:join_mode:0
DEBUG:0000024421:COMMS: >> OK
DEBUG:0000024423:COMMS: << at+set_config=lora:class:2
DEBUG:0000024436:COMMS: >> OK
DEBUG:0000024438:COMMS: << at+set_config=lora:region:EU868
DEBUG:0000024442:COMMS: >> OK
DEBUG:0000024444:COMMS: << at+set_config=lora:confirm:1
DEBUG:0000024447:COMMS: >> OK
DEBUG:0000024449:COMMS: << at+set_config=lora:adr:0
DEBUG:0000024452:COMMS: >> OK
DEBUG:0000024454:COMMS: << at+set_config=lora:dr:4
DEBUG:0000024462:COMMS: >> OK
DEBUG:0000024464:COMMS: << at+set_config=lora:dutycycle_enable:0
DEBUG:0000024468:COMMS: >> OK
DEBUG:0000024470:COMMS: << at+set_config=lora:dev_eui:bcfcc644f909e65c
DEBUG:0000024702:COMMS: >> OK
DEBUG:0000024704:COMMS: << at+set_config=lora:app_eui:bcfcc644f909e65c
DEBUG:0000024930:COMMS: >> OK
DEBUG:0000024932:COMMS: << at+set_config=lora:app_key:f3fe43d0920ceb7df3d9a3e081
DEBUG:0000025167:COMMS: >> OK
DEBUG:0000025169:COMMS: << at+set_config=device:restart
DEBUG:0000025202:COMMS: >> LoRa (R) is a registered trademark or service mark o
DEBUG:0000025205:COMMS: >> RAK4270 version:3.3.0.17
DEBUG:0000025357:COMMS: >> UART1 work mode: RUI_UART_NORMAL, 115200, N81
DEBUG:0000025362:COMMS: >> UART2 work mode: RUI_UART_NORMAL, 115200, N81
DEBUG:0000025370:COMMS: >> Current work_mode:LoRaWAN, join_mode:OTAA, Multicast
DEBUG:0000025372:COMMS: >> Initialization OK
DEBUG:0000025374:COMMS: << at+join
DEBUG:0000034474:COMMS: >> ERROR: 99
DEBUG:0000034474:COMMS: Error Code 99, resetting chip.
The device is unable connect getting error code 99.
In the chirpstack logs I see the following:
TRACE chirpstack::gateway::backend::mqtt: MQTT event event=Incoming(Publish(Publish { dup: false, qos: AtMostOnce, retain: false, topic: b"gateway/ac1f09fffe057b4d/event/up", pkid: 0, payload: b"\n\x17\0\\\xe6\t\xf9D\xc6\xfc\xbc\\\xe6\t\xf9D\xc6\xfc\xbcsD\xf5\x9d\x02\xba\x12\x11\x08\xa0\xcf\xf8\x9d\x03\x1a\t\x08}\x10\x08\x1a\x034/5\x1a=\n\x08\xac\x1f\t\xff\xfe\x05{M(\xe0\xff\xff\xff\xff\xff\xff\xff\xff\x011\0\0\0\0\0\0,@@\x01Z\x02 \x01z\x04\xa1\xc4\r\x13\x82\x01\x10\xbc\xd3:\x90T\xccD3\x9e\xdc\xe2s\x02\xda\xdd\xb5", properties: None }))
INFO chirpstack::gateway::backend::mqtt: Message received from gateway region_id="eu868" topic=gateway/ac1f09fffe057b4d/event/up qos=AtMostOnce json=false
TRACE chirpstack::uplink: Adding uplink event to deduplication set and getting lock key="up:collect:{eu868::005ce609f944c6fcbc5ce609f944c6fcbc7344f59d02ba}"
TRACE chirpstack::uplink: Waiting for more uplink events to receive key="up:collect:{eu868::005ce609f944c6fcbc5ce609f944c6fcbc7344f59d02ba}"
TRACE chirpstack::uplink: Collecting received uplink events key="up:collect:{eu868::005ce609f944c6fcbc5ce609f944c6fcbc7344f59d02ba}"
WARN chirpstack::uplink: tx_info of uplink event is empty, skipping
ERROR chirpstack::uplink: Deduplication error error=at least 1 byte required to decode PhyPayload
The gateway info:
Hostname test_gateway
Model RAK7268C
SN 918100H46011025168
Gateway EUI ac1f09fffe057b4d
Firmware Version 1.3.9_RAK b186