Get device-session error: object does not exist

Hello everyone,
I have a LoRaWAN device (EU868) with OTAA activation and I have the following situation.
The device performs correctly the Join and, for testing purposes, it sends some information every 5 minutes (this is the only device I have in the network). I can see how the messages sent by the device appear on the application server, but there comes a time (sometimes before, sometimes after) when these messages stop appearing.
I have checked that the messages reach the gateway and in the log of the network server what I see is the message ‘error="get device-session error: object does not exist"’.
The device does not lose power at any time, nor does it switch to ABP activation mode, nor is the connection lost, it is simply communicating according to the period indicated and at a certain moment this error starts to appear on the server.
I’ve also tried to delete the device from the server and create it again, rejoin, etc., but I obtain the same result.
Can anyone help me? What could be the problem?

Thank you in advance for your help.

Below is the log of the network server (sorry for its length):

Mar 11 07:27:58 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:27:58+01:00” level=info msg=“starting ChirpStack Network Server” band=EU868 docs=“https://www.chirpstack.io/” net_id=000000 version=3.10.0

Mar 11 07:27:58 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:27:58+01:00” level=info msg=“gateway/mqtt: connecting to mqtt broker” server=“tcp://localhost:1883”
Mar 11 07:27:58 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:27:58+01:00” level=info msg=“configuring join-server client” ca_cert= server=“http://localhost:8003” tls_cert= tls_key=
Mar 11 07:27:58 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:27:58+01:00” level=info msg=“backend/gateway: connected to mqtt server”
Mar 11 07:27:58 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:27:58+01:00” level=info msg=“gateway/mqtt: subscribing to gateway event topic” qos=0 topic=gateway/+/event/+
Mar 11 07:27:58 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:27:58+01:00” level=info msg=“api: starting network-server api server” bind=“0.0.0.0:8000” ca-cert= tls-cert= tls-key=
Mar 11 07:27:58 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:27:58+01:00” level=info msg=“starting downlink device-queue scheduler”
Mar 11 07:27:58 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:27:58+01:00” level=info msg=“starting multicast scheduler”
Mar 11 07:28:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:28:49+01:00” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=c0ee40ffff296938 stats_id=95034ffd-eaa8-426e-8362-51b00d94515f
Mar 11 07:28:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:28:49+01:00” level=info msg=“gateway updated” ctx_id=95034ffd-eaa8-426e-8362-51b00d94515f gateway_id=c0ee40ffff296938
Mar 11 07:28:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:28:49+01:00” level=warning msg=“creating insecure application-server client” server=“localhost:8001”
Mar 11 07:28:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:28:49+01:00” level=info msg=“finished client unary call” ctx_id=95034ffd-eaa8-426e-8362-51b00d94515f grpc.code=OK grpc.ctx_id=4c148fd2-8ee0-476d-915c-244ec3749c45 grpc.duration=7.911774ms grpc.method=HandleGatewayStats grpc.service=as.ApplicationServerService span.kind=client system=grpc
Mar 11 07:29:02 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:02+01:00” level=info msg=“finished unary call with code OK” ctx_id=a7c9f266-cec0-4ff0-8b1a-e1c33c1767a0 grpc.code=OK grpc.method=GetDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:29:02+01:00” grpc.time_ms=1.369 peer.address="[::1]:41780" span.kind=server system=grpc
Mar 11 07:29:19 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:19+01:00” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=c0ee40ffff296938 stats_id=d5316665-5b6e-4c86-bdb9-e7d03eb6f0e4
Mar 11 07:29:19 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:19+01:00” level=info msg=“gateway updated” ctx_id=d5316665-5b6e-4c86-bdb9-e7d03eb6f0e4 gateway_id=c0ee40ffff296938
Mar 11 07:29:19 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:19+01:00” level=info msg=“finished client unary call” ctx_id=d5316665-5b6e-4c86-bdb9-e7d03eb6f0e4 grpc.code=OK grpc.ctx_id=e0429e2d-0c7d-487d-9c76-e1d02d0e6e21 grpc.duration=7.731494ms grpc.method=HandleGatewayStats grpc.service=as.ApplicationServerService span.kind=client system=grpc
Mar 11 07:29:23 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:23+01:00” level=info msg=“finished unary call with code OK” ctx_id=9225fd92-e742-4537-8ecc-fa343ec3cdb9 grpc.code=OK grpc.method=GetDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:29:23+01:00” grpc.time_ms=1.149 peer.address=“127.0.0.1:51712” span.kind=server system=grpc
Mar 11 07:29:23 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:23+01:00” level=info msg=“device-profile updated” ctx_id=fb7a70f4-bb50-492c-91a0-b8d6539c880f id=46cdacb7-9a08-4fd5-999d-c3651f06b2dd
Mar 11 07:29:23 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:23+01:00” level=info msg=“finished unary call with code OK” ctx_id=fb7a70f4-bb50-492c-91a0-b8d6539c880f grpc.code=OK grpc.method=UpdateDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:29:23+01:00” grpc.time_ms=6.762 peer.address=“127.0.0.1:43580” span.kind=server system=grpc
Mar 11 07:29:25 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:25+01:00” level=info msg=“finished unary call with code OK” ctx_id=266a66cb-a1bc-430e-b808-ed5f6db447b3 grpc.code=OK grpc.method=GetDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:29:25+01:00” grpc.time_ms=0.824 peer.address="[::1]:41780" span.kind=server system=grpc
Mar 11 07:29:27 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:27+01:00” level=info msg=“finished unary call with code OK” ctx_id=2da18be8-049f-4355-a90e-5c474ec92626 grpc.code=OK grpc.method=GetDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:29:27+01:00” grpc.time_ms=1.111 peer.address=“127.0.0.1:51712” span.kind=server system=grpc
Mar 11 07:29:27 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:27+01:00” level=info msg=“device-profile updated” ctx_id=9a18ab6b-8986-4224-8dc7-139de993ebec id=46cdacb7-9a08-4fd5-999d-c3651f06b2dd
Mar 11 07:29:27 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:27+01:00” level=info msg=“finished unary call with code OK” ctx_id=9a18ab6b-8986-4224-8dc7-139de993ebec grpc.code=OK grpc.method=UpdateDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:29:27+01:00” grpc.time_ms=3.907 peer.address=“127.0.0.1:43580” span.kind=server system=grpc
Mar 11 07:29:40 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:40+01:00” level=info msg=“finished unary call with code OK” ctx_id=72384136-5d20-4931-a8b4-5ad04a82c621 grpc.code=OK grpc.method=GetDevice grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:29:40+01:00” grpc.time_ms=0.7 peer.address="[::1]:41780" span.kind=server system=grpc
Mar 11 07:29:40 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:40+01:00” level=info msg=“finished unary call with code OK” ctx_id=89a4c1e5-79a0-4d93-b79d-22d8daf230e4 grpc.code=OK grpc.method=GetDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:29:40+01:00” grpc.time_ms=0.928 peer.address=“127.0.0.1:51712” span.kind=server system=grpc
Mar 11 07:29:40 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:40+01:00” level=info msg=“finished unary call with code NotFound” ctx_id=86cefa23-0265-4417-a55d-7f4f07541578 error=“rpc error: code = NotFound desc = object does not exist” grpc.code=NotFound grpc.method=GetDeviceActivation grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:29:40+01:00” grpc.time_ms=0.574 peer.address=“127.0.0.1:43580” span.kind=server system=grpc
Mar 11 07:29:45 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:45+01:00” level=info msg=“finished unary call with code OK” ctx_id=fafd9bcf-a08f-4c74-9a8a-1661bab645e5 grpc.code=OK grpc.method=GetDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:29:45+01:00” grpc.time_ms=0.949 peer.address="[::1]:41780" span.kind=server system=grpc
Mar 11 07:29:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:49+01:00” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=c0ee40ffff296938 stats_id=3931fa93-2e79-4ff4-94b2-11f5797076d0
Mar 11 07:29:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:49+01:00” level=info msg=“gateway updated” ctx_id=3931fa93-2e79-4ff4-94b2-11f5797076d0 gateway_id=c0ee40ffff296938
Mar 11 07:29:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:29:49+01:00” level=info msg=“finished client unary call” ctx_id=3931fa93-2e79-4ff4-94b2-11f5797076d0 grpc.code=OK grpc.ctx_id=7ff0e79d-1e9a-4160-bc2d-f7177653b28b grpc.duration=4.709687ms grpc.method=HandleGatewayStats grpc.service=as.ApplicationServerService span.kind=client system=grpc
Mar 11 07:30:19 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:30:19+01:00” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=c0ee40ffff296938 stats_id=a54f7a29-61b1-409e-835a-dca264f5af82
Mar 11 07:30:19 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:30:19+01:00” level=info msg=“gateway updated” ctx_id=a54f7a29-61b1-409e-835a-dca264f5af82 gateway_id=c0ee40ffff296938
Mar 11 07:30:19 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:30:19+01:00” level=info msg=“finished client unary call” ctx_id=a54f7a29-61b1-409e-835a-dca264f5af82 grpc.code=OK grpc.ctx_id=75ff6780-802f-4d26-8586-68bd67c46330 grpc.duration=5.43091ms grpc.method=HandleGatewayStats grpc.service=as.ApplicationServerService span.kind=client system=grpc
Mar 11 07:30:29 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:30:29+01:00” level=info msg=“finished unary call with code NotFound” ctx_id=5ac90a4e-5fa7-460c-9612-1317df2e3bf5 error=“rpc error: code = NotFound desc = object does not exist” grpc.code=NotFound grpc.method=GetDeviceActivation grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:30:29+01:00” grpc.time_ms=0.522 peer.address=“127.0.0.1:51712” span.kind=server system=grpc
Mar 11 07:30:32 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:30:32+01:00” level=info msg=“finished unary call with code OK” ctx_id=cda945a4-4725-4164-905e-1cadd2dc4249 grpc.code=OK grpc.method=GetDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:30:32+01:00” grpc.time_ms=0.701 peer.address=“127.0.0.1:43580” span.kind=server system=grpc
Mar 11 07:30:37 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:30:37+01:00” level=info msg=“finished unary call with code NotFound” ctx_id=eaac20c8-6ec4-4428-81ce-7951787f753d error=“rpc error: code = NotFound desc = object does not exist” grpc.code=NotFound grpc.method=GetDeviceActivation grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:30:37+01:00” grpc.time_ms=0.562 peer.address="[::1]:41780" span.kind=server system=grpc
Mar 11 07:30:44 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:30:44+01:00” level=info msg=“device deleted” ctx_id=e316d4e7-5c7d-4dab-945e-efdfe9d26dd3 dev_eui=0807060504030201
Mar 11 07:30:44 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:30:44+01:00” level=info msg=“finished unary call with code OK” ctx_id=e316d4e7-5c7d-4dab-945e-efdfe9d26dd3 grpc.code=OK grpc.method=DeleteDevice grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:30:44+01:00” grpc.time_ms=9.936 peer.address=“127.0.0.1:51712” span.kind=server system=grpc
Mar 11 07:30:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:30:49+01:00” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=c0ee40ffff296938 stats_id=95291ab8-b0a3-42a4-a6d3-da729e16a998
Mar 11 07:30:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:30:49+01:00” level=info msg=“gateway updated” ctx_id=95291ab8-b0a3-42a4-a6d3-da729e16a998 gateway_id=c0ee40ffff296938
Mar 11 07:30:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:30:49+01:00” level=info msg=“finished client unary call” ctx_id=95291ab8-b0a3-42a4-a6d3-da729e16a998 grpc.code=OK grpc.ctx_id=9e4e799c-3ee1-49f7-b5f3-f23baffc162d grpc.duration=5.067293ms grpc.method=HandleGatewayStats grpc.service=as.ApplicationServerService span.kind=client system=grpc
Mar 11 07:31:19 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:19+01:00” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=c0ee40ffff296938 stats_id=0ec843a6-d2e1-47e1-ab76-8c5a18dd248d
Mar 11 07:31:19 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:19+01:00” level=info msg=“gateway updated” ctx_id=0ec843a6-d2e1-47e1-ab76-8c5a18dd248d gateway_id=c0ee40ffff296938
Mar 11 07:31:19 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:19+01:00” level=info msg=“finished client unary call” ctx_id=0ec843a6-d2e1-47e1-ab76-8c5a18dd248d grpc.code=OK grpc.ctx_id=087bea60-e3b4-4b24-89f2-0ea6bbff246b grpc.duration=5.492794ms grpc.method=HandleGatewayStats grpc.service=as.ApplicationServerService span.kind=client system=grpc
Mar 11 07:31:20 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:20+01:00” level=info msg=“finished unary call with code OK” ctx_id=b6f1ae4c-ebe3-4210-b048-2f74eeddef7a grpc.code=OK grpc.method=GetDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:31:20+01:00” grpc.time_ms=0.785 peer.address=“127.0.0.1:43580” span.kind=server system=grpc
Mar 11 07:31:23 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:23+01:00” level=info msg=“device created” ctx_id=02a86ec6-f658-44ce-9b99-9a344fc7e065 dev_eui=0807060504030201
Mar 11 07:31:23 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:23+01:00” level=info msg=“finished unary call with code OK” ctx_id=02a86ec6-f658-44ce-9b99-9a344fc7e065 grpc.code=OK grpc.method=CreateDevice grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:31:23+01:00” grpc.time_ms=2.756 peer.address="[::1]:41780" span.kind=server system=grpc
Mar 11 07:31:23 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:23+01:00” level=info msg=“finished unary call with code OK” ctx_id=0c0d0d88-5444-4b51-b4d8-5cc11da4e784 grpc.code=OK grpc.method=GetDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:31:23+01:00” grpc.time_ms=0.67 peer.address=“127.0.0.1:51712” span.kind=server system=grpc
Mar 11 07:31:23 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:23+01:00” level=info msg=“finished unary call with code OK” ctx_id=00b68856-ba86-4306-9bc8-01c71e9dde49 grpc.code=OK grpc.method=GetDevice grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:31:23+01:00” grpc.time_ms=0.66 peer.address=“127.0.0.1:43580” span.kind=server system=grpc
Mar 11 07:31:23 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:23+01:00” level=info msg=“finished unary call with code OK” ctx_id=4eaa81a5-3b0b-45e2-9fed-3d46bf77d7de grpc.code=OK grpc.method=GetDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:31:23+01:00” grpc.time_ms=0.708 peer.address="[::1]:41780" span.kind=server system=grpc
Mar 11 07:31:36 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:36+01:00” level=info msg=“finished unary call with code NotFound” ctx_id=83dd9356-a223-4f9c-a91e-d97dc194dd46 error=“rpc error: code = NotFound desc = object does not exist” grpc.code=NotFound grpc.method=GetDeviceActivation grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:31:36+01:00” grpc.time_ms=0.538 peer.address=“127.0.0.1:51712” span.kind=server system=grpc
Mar 11 07:31:37 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:37+01:00” level=info msg=“finished unary call with code OK” ctx_id=2ab013d0-b73d-4f89-aebe-212d3a8aea6d grpc.code=OK grpc.method=GetDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:31:37+01:00” grpc.time_ms=0.723 peer.address=“127.0.0.1:43580” span.kind=server system=grpc
Mar 11 07:31:40 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:40+01:00” level=info msg=“finished unary call with code NotFound” ctx_id=6db7e295-4d0d-45ca-97fb-3757a600e9fc error=“rpc error: code = NotFound desc = object does not exist” grpc.code=NotFound grpc.method=GetDeviceActivation grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:31:40+01:00” grpc.time_ms=0.543 peer.address="[::1]:41780" span.kind=server system=grpc
Mar 11 07:31:42 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:42+01:00” level=info msg=“finished unary call with code NotFound” ctx_id=04024139-7464-4f55-aa8b-d6cb4933c812 error=“rpc error: code = NotFound desc = object does not exist” grpc.code=NotFound grpc.method=GetDeviceActivation grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:31:42+01:00” grpc.time_ms=0.501 peer.address=“127.0.0.1:51712” span.kind=server system=grpc
Mar 11 07:31:44 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:44+01:00” level=info msg=“finished unary call with code OK” ctx_id=113a47eb-101c-4eb8-88a8-715d82e6c5af grpc.code=OK grpc.method=GetDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:31:44+01:00” grpc.time_ms=0.664 peer.address=“127.0.0.1:43580” span.kind=server system=grpc
Mar 11 07:31:45 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:45+01:00” level=info msg=“finished unary call with code NotFound” ctx_id=15abc925-af0e-41d8-97fa-20956c621d56 error=“rpc error: code = NotFound desc = object does not exist” grpc.code=NotFound grpc.method=GetDeviceActivation grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:31:45+01:00” grpc.time_ms=0.496 peer.address="[::1]:41780" span.kind=server system=grpc
Mar 11 07:31:48 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:48+01:00” level=info msg=“finished streaming call with code OK” grpc.code=OK grpc.method=StreamFrameLogsForDevice grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:31:47+01:00” grpc.time_ms=492.017 peer.address=“127.0.0.1:51712” span.kind=server system=grpc
Mar 11 07:31:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:49+01:00” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=c0ee40ffff296938 stats_id=91621a25-b3bc-4a77-b201-dfb5b2f680c7
Mar 11 07:31:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:49+01:00” level=info msg=“gateway updated” ctx_id=91621a25-b3bc-4a77-b201-dfb5b2f680c7 gateway_id=c0ee40ffff296938
Mar 11 07:31:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:49+01:00” level=info msg=“finished client unary call” ctx_id=91621a25-b3bc-4a77-b201-dfb5b2f680c7 grpc.code=OK grpc.ctx_id=56b80849-2d12-41b1-807d-16f03f4686da grpc.duration=4.31893ms grpc.method=HandleGatewayStats grpc.service=as.ApplicationServerService span.kind=client system=grpc
Mar 11 07:31:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:49+01:00” level=info msg=“finished unary call with code NotFound” ctx_id=4e2723d3-eff8-4656-aa1e-a41cd85a8fb8 error=“rpc error: code = NotFound desc = object does not exist” grpc.code=NotFound grpc.method=GetDeviceActivation grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:31:49+01:00” grpc.time_ms=0.508 peer.address=“127.0.0.1:43580” span.kind=server system=grpc
Mar 11 07:31:54 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:31:54+01:00” level=info msg=“finished unary call with code OK” ctx_id=510da9fd-708b-47d0-8b52-b4a746a94033 grpc.code=OK grpc.method=GetDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:31:54+01:00” grpc.time_ms=0.677 peer.address="[::1]:41780" span.kind=server system=grpc
Mar 11 07:32:11 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:11+01:00” level=info msg=“finished unary call with code OK” ctx_id=f50fb15b-cb9b-4bfd-9129-def34d5d984f grpc.code=OK grpc.method=GetDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:32:11+01:00” grpc.time_ms=0.746 peer.address=“127.0.0.1:51712” span.kind=server system=grpc
Mar 11 07:32:19 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:19+01:00” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=c0ee40ffff296938 stats_id=21b08b0f-ad1e-4d38-ba56-b80db7f5cb10
Mar 11 07:32:19 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:19+01:00” level=info msg=“gateway updated” ctx_id=21b08b0f-ad1e-4d38-ba56-b80db7f5cb10 gateway_id=c0ee40ffff296938
Mar 11 07:32:19 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:19+01:00” level=info msg=“finished client unary call” ctx_id=21b08b0f-ad1e-4d38-ba56-b80db7f5cb10 grpc.code=OK grpc.ctx_id=fa0902fc-cb09-4800-80b9-28945105a2cc grpc.duration=4.404007ms grpc.method=HandleGatewayStats grpc.service=as.ApplicationServerService span.kind=client system=grpc
Mar 11 07:32:38 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:38+01:00” level=info msg=“finished unary call with code OK” ctx_id=7ac5a70f-5152-48d0-b117-60bb50d625a6 grpc.code=OK grpc.method=GetDevice grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:32:38+01:00” grpc.time_ms=0.933 peer.address=“127.0.0.1:43580” span.kind=server system=grpc
Mar 11 07:32:38 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:38+01:00” level=info msg=“finished unary call with code OK” ctx_id=d3d61fd7-5bb0-48ae-8f80-7d2cda385802 grpc.code=OK grpc.method=GetDeviceProfile grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:32:38+01:00” grpc.time_ms=0.898 peer.address="[::1]:41780" span.kind=server system=grpc
Mar 11 07:32:38 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:38+01:00” level=info msg=“finished unary call with code NotFound” ctx_id=9e8c71d8-6a8e-4848-b74e-f80d281718c9 error=“rpc error: code = NotFound desc = object does not exist” grpc.code=NotFound grpc.method=GetDeviceActivation grpc.service=ns.NetworkServerService grpc.start_time=“2022-03-11T07:32:38+01:00” grpc.time_ms=0.575 peer.address=“127.0.0.1:51712” span.kind=server system=grpc
Mar 11 07:32:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:49+01:00” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=c0ee40ffff296938 stats_id=2c1c8de7-0efe-45fa-b114-a12f18ef762d
Mar 11 07:32:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:49+01:00” level=info msg=“gateway updated” ctx_id=2c1c8de7-0efe-45fa-b114-a12f18ef762d gateway_id=c0ee40ffff296938
Mar 11 07:32:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:49+01:00” level=info msg=“finished client unary call” ctx_id=2c1c8de7-0efe-45fa-b114-a12f18ef762d grpc.code=OK grpc.ctx_id=cc1675d1-7dd5-4e6b-9d5d-d1c8ceda05ec grpc.duration=4.828917ms grpc.method=HandleGatewayStats grpc.service=as.ApplicationServerService span.kind=client system=grpc
Mar 11 07:32:59 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:59+01:00” level=info msg=“gateway/mqtt: uplink frame received” gateway_id=c0ee40ffff296938 uplink_id=7222c555-cd7b-4a2d-907d-403d5ddbb286
Mar 11 07:32:59 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:59+01:00” level=info msg=“uplink: frame(s) collected” ctx_id=ee5a3039-1f30-4502-bfb3-c229a58e95aa mtype=JoinRequest uplink_ids="[7222c555-cd7b-4a2d-907d-403d5ddbb286]"
Mar 11 07:32:59 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:59+01:00” level=info msg=“sent uplink meta-data to network-controller” ctx_id=ee5a3039-1f30-4502-bfb3-c229a58e95aa dev_eui=0807060504030201
Mar 11 07:32:59 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:59+01:00” level=info msg=“device-queue flushed” ctx_id=ee5a3039-1f30-4502-bfb3-c229a58e95aa dev_eui=0807060504030201
Mar 11 07:32:59 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:59+01:00” level=info msg=“device-session saved” ctx_id=ee5a3039-1f30-4502-bfb3-c229a58e95aa dev_addr=016e4c2f dev_eui=0807060504030201
Mar 11 07:32:59 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:59+01:00” level=info msg=“device-activation created” ctx_id=ee5a3039-1f30-4502-bfb3-c229a58e95aa dev_eui=0807060504030201 id=687
Mar 11 07:32:59 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:59+01:00” level=info msg=“device updated” ctx_id=ee5a3039-1f30-4502-bfb3-c229a58e95aa dev_eui=0807060504030201
Mar 11 07:32:59 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:59+01:00” level=info msg=“gateway/mqtt: publishing gateway command” command=down downlink_id=ee5a3039-1f30-4502-bfb3-c229a58e95aa gateway_id=c0ee40ffff296938 qos=0 topic=gateway/c0ee40ffff296938/command/down
Mar 11 07:32:59 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:32:59+01:00” level=info msg=“storage: downlink-frame saved” ctx_id=ee5a3039-1f30-4502-bfb3-c229a58e95aa token=28459
Mar 11 07:33:00 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:00+01:00” level=info msg=“backend/gateway: downlink tx acknowledgement received” downlink_id=ee5a3039-1f30-4502-bfb3-c229a58e95aa gateway_id=c0ee40ffff296938
Mar 11 07:33:00 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:00+01:00” level=info msg=“sent downlink meta-data to network-controller” ctx_id=ee5a3039-1f30-4502-bfb3-c229a58e95aa
Mar 11 07:33:09 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:09+01:00” level=info msg=“gateway/mqtt: uplink frame received” gateway_id=c0ee40ffff296938 uplink_id=386578eb-5cfe-4681-9500-2a94067a600c
Mar 11 07:33:10 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:10+01:00” level=info msg=“uplink: frame(s) collected” ctx_id=1d47a997-b5d7-41e8-b564-5e40aef108ec mtype=UnconfirmedDataUp uplink_ids="[386578eb-5cfe-4681-9500-2a94067a600c]"
Mar 11 07:33:10 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:10+01:00” level=info msg=“sent uplink meta-data to network-controller” ctx_id=1d47a997-b5d7-41e8-b564-5e40aef108ec dev_eui=0807060504030201
Mar 11 07:33:10 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:10+01:00” level=info msg=“device gateway rx-info meta-data saved” ctx_id=1d47a997-b5d7-41e8-b564-5e40aef108ec dev_eui=0807060504030201
Mar 11 07:33:10 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:10+01:00” level=info msg=“device-session saved” ctx_id=1d47a997-b5d7-41e8-b564-5e40aef108ec dev_addr=016e4c2f dev_eui=0807060504030201
Mar 11 07:33:10 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:10+01:00” level=info msg=“finished client unary call” ctx_id=1d47a997-b5d7-41e8-b564-5e40aef108ec grpc.code=OK grpc.ctx_id=4088689d-3f2c-4e31-a319-3050f4c4998e grpc.duration=8.565417ms grpc.method=HandleUplinkData grpc.service=as.ApplicationServerService span.kind=client system=grpc
Mar 11 07:33:10 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:10+01:00” level=info msg=“adr request added to mac-command queue” ctx_id=1d47a997-b5d7-41e8-b564-5e40aef108ec dev_eui=0807060504030201 dr=0 nb_trans=1 req_dr=5 req_nb_trans=1 req_tx_power_idx=1 tx_power=0
Mar 11 07:33:10 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:10+01:00” level=info msg=“pending mac-command block set” cid=LinkADRReq commands=1 ctx_id=1d47a997-b5d7-41e8-b564-5e40aef108ec dev_eui=0807060504030201
Mar 11 07:33:10 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:10+01:00” level=info msg=“gateway/mqtt: publishing gateway command” command=down downlink_id=1d47a997-b5d7-41e8-b564-5e40aef108ec gateway_id=c0ee40ffff296938 qos=0 topic=gateway/c0ee40ffff296938/command/down
Mar 11 07:33:10 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:10+01:00” level=info msg=“device-session saved” ctx_id=1d47a997-b5d7-41e8-b564-5e40aef108ec dev_addr=016e4c2f dev_eui=0807060504030201
Mar 11 07:33:10 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:10+01:00” level=info msg=“storage: downlink-frame saved” ctx_id=1d47a997-b5d7-41e8-b564-5e40aef108ec token=7495
Mar 11 07:33:10 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:10+01:00” level=info msg=“backend/gateway: downlink tx acknowledgement received” downlink_id=1d47a997-b5d7-41e8-b564-5e40aef108ec gateway_id=c0ee40ffff296938
Mar 11 07:33:10 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:10+01:00” level=info msg=“sent downlink meta-data to network-controller” ctx_id=1d47a997-b5d7-41e8-b564-5e40aef108ec
Mar 11 07:33:12 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:12+01:00” level=info msg=“gateway/mqtt: uplink frame received” gateway_id=c0ee40ffff296938 uplink_id=7c7d1f8b-2780-476b-b5aa-ed6178840624
Mar 11 07:33:12 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:12+01:00” level=info msg=“uplink: frame(s) collected” ctx_id=e2b6ba45-f247-4599-871e-7e5c495c41b3 mtype=UnconfirmedDataDown uplink_ids="[7c7d1f8b-2780-476b-b5aa-ed6178840624]"
Mar 11 07:33:19 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:33:19+01:00” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=c0ee40ffff296938 stats_id=107f4449-7d29-4c5b-884d-15ecfda0b36d

Mar 11 07:37:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:37:49+01:00” level=info msg=“gateway updated” ctx_id=33ed0937-81d0-4bb1-baf5-1e244fe155fe gateway_id=c0ee40ffff296938
Mar 11 07:37:49 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:37:49+01:00” level=info msg=“finished client unary call” ctx_id=33ed0937-81d0-4bb1-baf5-1e244fe155fe grpc.code=OK grpc.ctx_id=34afc0a5-a98a-4102-ba4f-6ebce76eda7d grpc.duration=4.415413ms grpc.method=HandleGatewayStats grpc.service=as.ApplicationServerService span.kind=client system=grpc
Mar 11 07:37:58 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:37:58+01:00” level=info msg=“gateway/mqtt: uplink frame received” gateway_id=c0ee40ffff296938 uplink_id=6f9eecfd-f35a-419e-b614-e28eb33d22d9
Mar 11 07:37:58 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:37:58+01:00” level=info msg=“uplink: frame(s) collected” ctx_id=99e3dcca-0541-4652-ac79-bf5225cc1b3a mtype=UnconfirmedDataUp uplink_ids="[6f9eecfd-f35a-419e-b614-e28eb33d22d9]"
Mar 11 07:37:58 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:37:58+01:00” level=error msg=“uplink: processing uplink frame error” ctx_id=99e3dcca-0541-4652-ac79-bf5225cc1b3a error=“get device-session error: object does not exist”

Mar 11 07:39:19 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:39:19+01:00” level=info msg=“finished client unary call” ctx_id=fa2e4101-2986-4736-93fd-703fb07f15b1 grpc.code=OK grpc.ctx_id=913dfcc4-2cbd-4940-9041-3494de6029b7 grpc.duration=4.236901ms grpc.method=HandleGatewayStats grpc.service=as.ApplicationServerService span.kind=client system=grpc
Mar 11 07:39:46 localhost chirpstack-network-server[9175]: time=“2022-03-11T07:39:46+01:00” level=warning msg=“grpc: Server.Serve failed to create ServerTransport: connection error: desc = “transport: http2Server.HandleStreams received bogus greeting from client: \“GET /login.asp HTTP/1.1\\r\”””

help yourself by searching web for snippet of error and +chirpstack to increase relevance. A la: "transport: http2Server.HandleStreams received bogus greeting from client: “GET /login.asp” +chirpstack
had you done that, one of the first hits would have been from our resident guru who recommends you check this: https://forum.chirpstack.io/search?q=received%20bogus%20greeting%20from%20client

Thank you for your reply, but “bogus greeting” error appears when I shutdown network and application server. My issue is because “object does not exists” error.
I’ve algo search in web by “get device-session error: object does not exist” +chirpstack for increase relevance, as you say, but everything I’ve found (including this forum) does not revolve the problem (perhaps I did not know how to interpret the solution).
I’ve also seen some users get an “object does not exist or invalid fcnt or mic”, that is not my case, What I’ve got is only “object does not exist”.
I’ve deleted the device from the server, created it again, but with the same result.

Thank you in advance for your help

Any solution, please?

Did you manage to resolve this?

I have exact same issue what you explained above

Hi,
someone in the enterprise uninstalled redis-server, so we received that error