Error="get device-session error: object does not exist"

Hi All

I know this error is common and a lot of people have posted related to this but just trying to understand the root cause of this-

I keep getting these errors in the network server -

msg=“gateway/mqtt: uplink frame received” gateway_id=0000000000000001 uplink_id=45307814-0195-409f-a998-87e3e355c42b
msg=“uplink: frame(s) collected” ctx_id=616167f8-9451-40fb-b0e0-877908c33946 mtype=ConfirmedDataUp uplink_ids="[45307814-0195-409f-a998-87e3e355c42b]"
msg=“uplink: processing uplink frame error” ctx_id=616167f8-9451-40fb-b0e0-877908c33946 error=“get device-session error: object does not exist”

msg=“uplink: frame(s) collected” ctx_id=ea59d51a-d5a4-4cad-a85a-b74488f49d48 mtype=UnconfirmedDataUp uplink_ids="[76c498c3-d927-436c-9e38-9a129436f3c1]"
msg=“uplink: processing uplink frame error” ctx_id=ea59d51a-d5a4-4cad-a85a-b74488f49d48 error=“get device-session error: object does not exist”

msg=“uplink: frame(s) collected” ctx_id=40e880bb-d34c-415d-ab87-808210405fff mtype=JoinRequest uplink_ids="[ee0b6e8f-bad3-4321-937e-af5115644227]"
msg=“uplink: processing uplink frame error” ctx_id=40e880bb-d34c-415d-ab87-808210405fff error=“get device error: object does not exist”

The important point to note here is this error is coming for

mtype=JoinRequest
mtype=UnconfirmedDataUp
mtype=ConfirmedDataUp

My network server logs are full of these errors, Not sure how can i fix this.

I have added 300+ devices in app servers are waiting for this to to active

Can anyone help me to understand the fix for this, please?

Thanks

This appears to happen if the device in question, is unregistered. Depending on the packet fowarder software installed within the gateway, messages from all devices in range of the gateway may be forwarded. I know that the classic Semtech UDP Packet Forwarder will do that.

If I am not mistaken, Chirpstack may not log the DevEUI/DevAddr related to these messages. So you could look at your gateway’s logs to look at the DevEUI/DevAddr related to these messages. You can corelate the messages by timestamp.

1 Like