Gateway: could not handle packet: invalid character


#1

i need help for lora gateway bridge this is log
level=info msg=“backend: publishing packet” qos=0 topic=gateway/7276ff0039030a65/stats
Mar 25 20:51:24 raspberrypi lora-gateway-bridge[10946]: time=“2019-03-25T20:51:24+01:00” level=info msg=“backend: config packet received” topic=gateway/7276ff0039030a65/config
Mar 25 20:51:24 raspberrypi lora-gateway-bridge[10946]: time=“2019-03-25T20:51:24+01:00” level=warning msg=“gateway: configuration was not applied, gateway is not configured for managed configuration” mac=7276ff0039030a65
Mar 25 20:51:26 raspberrypi lora-gateway-bridge[10946]: time=“2019-03-25T20:51:26+01:00” level=error msg=“gateway: could not handle packet: invalid character ‘\x00’ looking for beginning of value” addr=“192.168.0.31:34290” data_base64=“AgKHBXJ2/wA5AwplAA==”
Mar 25 20:51:32 raspberrypi lora-gateway-bridge[10946]: time=“2019-03-25T20:51:32+01:00” level=info msg=“gateway: rxpk packet received” addr=“192.168.0.31:60955” data=“ACIR/+7dzLuqzKDl//4GHlXbGX2lOaY=” mac=7276ff0039030a65
Mar 25 20:51:32 raspberrypi lora-gateway-bridge[10946]: time=“2019-03-25T20:51:32+01:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/7276ff0039030a65/rx
Mar 25 20:51:32 raspberrypi lora-gateway-bridge[10946]: time=“2019-03-25T20:51:32+01:00” level=info msg=“backend: downlink packet received” topic=gateway/7276ff0039030a65/tx
Mar 25 20:51:37 raspberrypi lora-gateway-bridge[10946]: time=“2019-03-25T20:51:37+01:00” level=error msg=“gateway: could not handle packet: invalid character ‘\x00’ looking for beginning of value” addr=“192.168.0.31:34290” data_base64=“AhZNBXJ2/wA5AwplAA==”
Mar 25 20:51:44 raspberrypi lora-gateway-bridge[10946]: time=“2019-03-25T20:51:44+01:00” level=info msg=“gateway: rxpk packet received” addr=“192.168.0.31:60955” data=“ACIR/+7dzLuqzKDl//4GHlXkWIBpjOA=” mac=7276ff0039030a65
Mar 25 20:51:44 raspberrypi lora-gateway-bridge[10946]: time=“2019-03-25T20:51:44+01:00” level=info msg=“backend: publishing packet” qos=0 topic=gateway/7276ff0039030a65/rx
and server-app log is
level=info msg=“js: sending response” message_type=JoinAns receiver_id=000000 result_code=Success sender_id=aabbccddeeff1122 transaction_id=1719682758
Mar 25 20:52:53 raspberrypi lora-app-server[425]: time=“2019-03-25T20:52:53+01:00” level=info msg=“js: request received” message_type=JoinReq receiver_id=aabbccddeeff1122 sender_id=000000 transaction_id=2268640606
Mar 25 20:52:53 raspberrypi lora-app-server[425]: time=“2019-03-25T20:52:53+01:00” level=info msg=“device-keys updated” dev_eui=551e06feffe5a0cc
Mar 25 20:52:53 raspberrypi lora-app-server[425]: time=“2019-03-25T20:52:53+01:00” level=info msg=“js: sending response” message_type=JoinAns receiver_id=000000 result_code=Success sender_id=aabbccddeeff1122 transaction_id=2268640606
Mar 25 20:53:04 raspberrypi lora-app-server[425]: time=“2019-03-25T20:53:04+01:00” level=info msg=“js: request received” message_type=JoinReq receiver_id=aabbccddeeff1122 sender_id=000000 transaction_id=2374325892
Mar 25 20:53:04 raspberrypi lora-app-server[425]: time=“2019-03-25T20:53:04+01:00” level=info msg=“device-keys updated” dev_eui=551e06feffe5a0cc
Mar 25 20:53:04 raspberrypi lora-app-server[425]: time=“2019-03-25T20:53:04+01:00” level=info msg=“js: sending response” message_type=JoinAns receiver_id=000000 result_code=Success sender_id=aabbccddeeff1122 transaction_id=2374325892
Mar 25 20:53:15 raspberrypi lora-app-server[425]: time=“2019-03-25T20:53:15+01:00” level=info msg=“js: request received” message_type=JoinReq receiver_id=aabbccddeeff1122 sender_id=000000 transaction_id=568854157
Mar 25 20:53:15 raspberrypi lora-app-server[425]: time=“2019-03-25T20:53:15+01:00” level=info msg=“device-keys updated” dev_eui=551e06feffe5a0cc
Mar 25 20:53:15 raspberrypi lora-app-server[425]: time=“2019-03-25T20:53:15+01:00” level=info msg=“js: sending response” message_type=JoinAns receiver_id=000000 result_code=Success sender_id=aabbccddeeff1122 transaction_id=568854157
loraserver log is
level=info msg=“device-queue flushed” dev_eui=551e06feffe5a0cc
Mar 25 20:54:01 raspberrypi loraserver[424]: time=“2019-03-25T20:54:01+01:00” level=info msg=“device-session saved” dev_addr=010306ef dev_eui=551e06feffe5a0cc
Mar 25 20:54:01 raspberrypi loraserver[424]: time=“2019-03-25T20:54:01+01:00” level=info msg=“device-activation created” dev_eui=551e06feffe5a0cc id=1705
Mar 25 20:54:01 raspberrypi loraserver[424]: time=“2019-03-25T20:54:01+01:00” level=info msg=“device updated” dev_eui=551e06feffe5a0cc
Mar 25 20:54:01 raspberrypi loraserver[424]: time=“2019-03-25T20:54:01+01:00” level=info msg=“gateway/mqtt: publishing downlink frame” qos=0 topic=gateway/7276ff0039030a65/tx
Mar 25 20:54:01 raspberrypi loraserver[424]: time=“2019-03-25T20:54:01+01:00” level=info msg=“downlink-frames saved” dev_eui=551e06feffe5a0cc token=7246
Mar 25 20:54:24 raspberrypi loraserver[424]: time=“2019-03-25T20:54:24+01:00” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=7276ff0039030a65
Mar 25 20:54:24 raspberrypi loraserver[424]: time=“2019-03-25T20:54:24+01:00” level=info msg=“gateway updated” gateway_id=7276ff0039030a65
Mar 25 20:54:24 raspberrypi loraserver[424]: time=“2019-03-25T20:54:24+01:00” level=info msg=“gateway/mqtt: publishing gateway configuration” qos=0 topic=gateway/7276ff0039030a65/config
Mar 25 20:54:24 raspberrypi loraserver[424]: time=“2019-03-25T20:54:24+01:00” level=info msg=“metrics saved” aggregation="[MINUTE HOUR DAY MONTH]" name=“gw:7276ff0039030a65”


#2

Without any context there is not much we can help you with. E.g. which gateway are you using? Which LoRa Gateway Bridge version are you using? Also, please use the search there is already an other topic covering this issue.


closed #3