chirpstack / chirpstack-gateway-bridge

ChirpStack Gateway Bridge abstracts Packet Forwarder protocols into Protobuf or JSON over MQTT.
https://www.chirpstack.io
MIT License
422 stars 270 forks source link

lora-gateway-bridge exception #136

Closed dragonfly1976 closed 4 years ago

dragonfly1976 commented 4 years ago

Is this a bug or a feature request?

It's a bug

What did you expect?

I expected to send "mosquitto_pub -t "gateway/7276ff000b030bcd/command/down -f /tmp/test.json" to it

What happened?

The application crashed

What version are your using?

SNAPSHOT-361697b

How can your issue be reproduced?

The command "mosquitto_pub -t "gateway/7276ff000b030bcd/command/down -f /tmp/test.json" creates the same issue anytime i try. Json contains : {"confirmed" : false, "fport" : 2, "data" :"AQID"}

Could you share your log output?

LogAsPNG

brocaar commented 4 years ago

This is an untagged version. I have looked into the line causing the exception (txInfo is nil), but I don't think this line is present in the latest tagged version.