Mqtt connection error: Not Authorized


#1

Hell,
I build gateway by connection iC880a to raspberry Pi. I install packet forwarder and lora gateway, according to the https://github.com/Lora-net. I didn’t find any file related to gateway_bridge for install in my gateway. so I decide to install gateway bridge on lora server. so I change global_conf.json in packet forwarder as follow:
“gateway_conf”: {
“gateway_ID”: “AA555A0000000101”,
/* change with default server address/ports, or overwrite in local_conf.json /
“server_address”: “172.25.21.65”,
“serv_port_up”: 1700,
“serv_port_down”: 1700,
/
adjust the following parameters for your network /
“keepalive_interval”: 10,
“stat_interval”: 30,
“push_timeout_ms”: 100,
/
forward only valid packets */
“forward_crc_valid”: true,
“forward_crc_error”: false,
“forward_crc_disabled”: false
}
172.25.21.65 is IP of my lora server.
Is it necessary that I chane lora gateway config on lora server?
when I run following cammand:

sudo journalctl -u lora-gateway-bridge -f -n 50

it give following error:

lora-virtual-machine lora-gateway-bridge[9754]: time=“2018-11-12T21:12:45+03:30” level=error msg=“mqtt: connection error” error=“Not Authorized”

I register this gateway in lora serve, But nodes can not connect to gateway.

please help me for these problems.


#2

This is probably since the LoRa Gateway Bridge credentials are invalid.