Help error in lora gateway


#1

hello
i am a beginner to use loraserver but I have an error I am using loraserver with kerlink gateway
level=info msg=“backend/gateway: subscribing to ack topic” qos=0 topic=gateway/+/ack
er[3238]: time=“2019-03-14T12:29:56+01:00” level=info msg=“starting api server” bind=“0.0.0.0:8000” ca-cert= tls-cert= tls-key=
er[3238]: time=“2019-03-14T12:29:56+01:00” level=info msg=“starting downlink device-queue scheduler”
er[3238]: time=“2019-03-14T12:29:56+01:00” level=info msg=“starting multicast scheduler”
er[3238]: time=“2019-03-14T12:30:06+01:00” level=info msg=“gateway/mqtt: uplink frame received”
er[3238]: time=“2019-03-14T12:30:06+01:00” level=info msg=“packet(s) collected” dev_eui=551e06feffe5a0cc gw_count=1 gw_ids=7276ff0039030a65 mtype=JoinRequest
er[3238]: time=“2019-03-14T12:30:06+01:00” level=error msg=“processing uplink frame error” data_base64=“ACIR/+7dzLuqzKDl//4GHlWVX01bRqs=” error=“get device error: object does not exist”
er[3238]: time=“2019-03-14T12:30:16+01:00” level=info msg=“gateway/mqtt: uplink frame received”
er[3238]: time=“2019-03-14T12:30:16+01:00” level=info msg=“packet(s) collected” dev_eui=551e06feffe5a0cc gw_count=1 gw_ids=7276ff0039030a65 mtype=JoinRequest
er[3238]: time=“2019-03-14T12:30:16+01:00” level=error msg=“processing uplink frame error” data_base64=“ACIR/+7dzLuqzKDl//4GHlXlSgB3MMc=” error=“get device error: object does not exist”


#2

Hi
for me it looks like your DevEUI in the join request is not known by your loraserver.
Check in the liveframe logs the join request (see for de DevEUI) and then check if this is the ID you have configured in Lora App Server.


#3

thank you is working but i have other warning
level=info msg=“starting LoRa Gateway Bridge” docs=“https://www.loraserver.io/lora-gateway-bridge/” version=2.7.1
Mar 14 13:44:38 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:44:38+01:00” level=info msg=“backend: set max reconnect interval: 10m0s”
Mar 14 13:44:38 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:44:38+01:00” level=info msg=“backend: TLS config is empty”
Mar 14 13:44:38 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:44:38+01:00” level=info msg=“backend: connecting to mqtt broker” server=“tcp://localhost:1883”
Mar 14 13:44:38 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:44:38+01:00” level=info msg=“backend: connected to mqtt broker”
Mar 14 13:44:38 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:44:38+01:00” level=info msg=“gateway: starting gateway udp listener” addr=“0.0.0.0:1700”
Mar 14 13:44:46 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:44:46+01:00” level=info msg=“backend: subscribing to topic” qos=0 topic=gateway/7276ff0039030a65/tx
Mar 14 13:44:46 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:44:46+01:00” level=info msg=“backend: subscribing to topic” qos=0 topic=gateway/7276ff0039030a65/config
Mar 14 13:45:06 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:45:06+01:00” level=info msg=“gateway: stat packet received” addr=“192.168.0.31:58551” mac=7276ff0039030a65
Mar 14 13:45:06 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:45:06+01:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/7276ff0039030a65/stats
Mar 14 13:45:06 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:45:06+01:00” level=info msg=“backend: config packet received” topic=gateway/7276ff0039030a65/config
Mar 14 13:45:06 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:45:06+01:00” level=warning msg=“gateway: configuration was not applied, gateway is not configured for managed configuration” mac=7276ff0039030a65
Mar 14 13:45:36 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:45:36+01:00” level=info msg=“gateway: stat packet received” addr=“192.168.0.31:58551” mac=7276ff0039030a65
Mar 14 13:45:36 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:45:36+01:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/7276ff0039030a65/stats
Mar 14 13:45:36 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:45:36+01:00” level=info msg=“backend: config packet received” topic=gateway/7276ff0039030a65/config
Mar 14 13:45:36 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:45:36+01:00” level=warning msg=“gateway: configuration was not applied, gateway is not configured for managed configuration” mac=7276ff0039030a65
Mar 14 13:46:06 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:46:06+01:00” level=info msg=“gateway: stat packet received” addr=“192.168.0.31:58551” mac=7276ff0039030a65
Mar 14 13:46:06 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:46:06+01:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/7276ff0039030a65/stats
Mar 14 13:46:06 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:46:06+01:00” level=info msg=“backend: config packet received” topic=gateway/7276ff0039030a65/config
Mar 14 13:46:06 kareem-Satellite-L50-B lora-gateway-bridge[3149]: time=“2019-03-14T13:46:06+01:00” level=warning msg=“gateway: configuration was not applied, gateway is not configured for managed configuration” mac=7276ff0039030a65


#4

That probably means that you created a gateway profile from the UI but haven’t configured lora-gateway-bridge to use that managed configuration. See the Managed packet-forwarder configuration. section in the docs here: https://www.loraserver.io/lora-gateway-bridge/install/config/.


#5

can you give me an example because I checked this file and all like config link but the same error is coming

level=info msg=“backend: config packet received” topic=gateway/7276ff0039030a65/config
17T09:06:17+01:00" level=warning msg=“gateway: configuration was not applied, gateway is not configured for managed configuration” mac=7276ff0039030a65
17T09:06:47+01:00" level=info msg=“gateway: stat packet received” addr=“192.168.0.31:54783” mac=7276ff0039030a65
17T09:06:47+01:00" level=info msg=“backend: publishing packet” qos=0 topic=gateway/7276ff0039030a65/stats
17T09:06:47+01:00" level=info msg=“backend: config packet received” topic=gateway/7276ff0039030a65/config
17T09:06:47+01:00" level=warning msg=“gateway: configuration was not applied, gateway is not configured for managed configuration” mac=7276ff0039030a65
17T09:07:17+01:00" level=info msg=“gateway: stat packet received” addr=“192.168.0.31:54783” mac=7276ff0039030a65
17T09:07:17+01:00" level=info msg=“backend: publishing packet” qos=0 topic=gateway/7276ff0039030a65/stats
17T09:07:17+01:00" level=info msg=“backend: config packet received” topic=gateway/7276ff0039030a65/config
17T09:07:17+01:00" level=warning msg=“gateway: configuration was not applied, gateway is not configured for managed configuration” mac=7276ff0039030a65

but I want to know the installation for [packet-forwarder] is in my pc or in gateway I make it in gateway only
but in my pc just I setup (loraserver-loraappserver-loragatewaybridge) I have Ubuntu


#6

To start, I recommend not to use the gateway-profile until you have everything setup and working. Then look into the gateway-profile / gateway re-configuration feature. You’ll find documentation at www.loraserver.io :slight_smile:


#7

sorry but i don’t know what is wrong

" level=error msg=“finished unary call with code Unknown” error=“rpc error: code = Unknown desc = lorawan/band: invalid data-rate” grpc.code=Unknown grpc.method=SendProprietaryPayload grpc.service=ns.NetworkServerService grpc.start_time=“2019-03-21T11:08:03+01:00” grpc.time_ms=0.11 peer.address=“127.0.0.1:50450” span.kind=server system=grpc
Mär 21 11:08:04 kareem-Satellite-L50-B loraserver[5779]: time=“2019-03-21T11:08:04+01:00” level=error msg=“finished unary call with code Unknown” error=“rpc error: code = Unknown desc = lorawan/band: invalid data-rate” grpc.code=Unknown grpc.method=SendProprietaryPayload grpc.service=ns.NetworkServerService grpc.start_time=“2019-03-21T11:08:04+01:00” grpc.time_ms=0.076 peer.address=“127.0.0.1:50450” span.kind=server system=grpc
Mär 21 11:08:05 kareem-Satellite-L50-B loraserver[5779]: time=“2019-03-21T11:08:05+01:00” level=error msg=“finished unary call with code Unknown” error=“rpc error: code = Unknown desc = lorawan/band: invalid data-rate” grpc.code=Unknown grpc.method=SendProprietaryPayload grpc.service=ns.NetworkServerService grpc.start_time=“2019-03-21T11:08:05+01:00” grpc.time_ms=0.153 peer.address=“127.0.0.1:50450” span.kind=server system=grpc
Mär 21 11:08:06 kareem-Satellite-L50-B loraserver[5779]: time=“2019-03-21T11:08:06+01:00” level=error msg=“finished unary call with code Unknown” error=“rpc error: code = Unknown desc = lorawan/band: invalid data-rate” grpc.code=Unknown grpc.method=SendProprietaryPayload grpc.service=ns.NetworkServerService grpc.start_time=“2019-03-21T11:08:06+01:00” grpc.time_ms=0.155 peer.address=“127.0.0.1:50450” span.kind=server system=grpc
Mär 21 11:08:07 kareem-Satellite-L50-B loraserver[5779]: time=“2019-03-21T11:08:07+01:00” level=error msg=“finished unary call with code Unknown” error=“rpc error: code = Unknown desc = lorawan/band: invalid data-rate” grpc.code=Unknown grpc.method=SendProprietaryPayload grpc.service=ns.NetworkServerService grpc.start_time=“2019-03-21T11:08:07+01:00” grpc.time_ms=0.156 peer.address=“127.0.0.1:50450” span.kind=server system=grpc
Mär 21 11:08:08 kareem-Satellite-L50-B loraserver[5779]: time=“2019-03-21T11:08:08+01:00” level=error msg=“finished unary call with code Unknown” error=“rpc error: code = Unknown desc = lorawan/band: invalid data-rate” grpc.code=Unknown grpc.method=SendProprietaryPayload grpc.service=ns.NetworkServerService grpc.start_time=“2019-03-21T11:08:08+01:00” grpc.time_ms=0.154 peer.address=“127.0.0.1:50450” span.kind=server system=grpc
Mär 21 11:08:09 kareem-Satellite-L50-B loraserver[5779]: time=“2019-03-21T11:08:09+01:00” level=error msg=“finished unary call with code Unknown” error=“rpc error: code = Unknown desc = lorawan/band: invalid data-rate” grpc.code=Unknown grpc.method=SendProprietaryPayload grpc.service=ns.NetworkServerService grpc.start_time=“2019-03-21T11:08:09+01:00” grpc.time_ms=0.141 peer.address=“127.0.0.1:50450” span.kind=server system=grpc
Mär 21 11:08:10 kareem-Satellite-L50-B loraserver[5779]: time=“2019-03-21T11:08:10+01:00” level=error msg=“finished unary call with code Unknown” error=“rpc error: code = Unknown desc = lorawan/band: invalid data-rate” grpc.code=Unknown grpc.method=SendProprietaryPayload grpc.service=ns.NetworkServerService grpc.start_time=“2019-03-21T11:08:10+01:00” grpc.time_ms=0.164 peer.address=“127.0.0.1:50450” span.kind=server system=grpc
Mär 21 11:08:11 kareem-Satellite-L50-B loraserver[5779]: time=“2019-03-21T11:08:11+01:00” level=error msg=“finished unary call with code Unknown” error=“rpc error: code = Unknown desc = lorawan/band: invalid data-rate” grpc.code=Unknown grpc.method=SendProprietaryPayload grpc.service=ns.NetworkServerService grpc.start_time=“2019-03-21T11:08:11+01:00” grpc.time_ms=0.127 peer.address=“127.0.0.1:50450” span.kind=server system=grpc
Mär 21 11:08:12 kareem-Satellite-L50-B loraserver[5779]: time=“2019-03-21T11:08:12+01:00” level=error msg=“finished unary call with code Unknown” error=“rpc error: code = Unknown desc = lorawan/band: invalid data-rate” grpc.code=Unknown grpc.method=SendProprietaryPayload grpc.service=ns.NetworkServerService grpc.start_time=“2019-03-21T11:08:12+01:00” grpc.time_ms=0.16 peer.address=“127.0.0.1:50450” span.kind=server system=grpc