I am using tektelic micro with 3.8 ipk dowloaded and installed on the gateway. When i do tail -f from syslog,I get this message
Apr 10 17:05:44 kona-micro chirpstack-gateway-bridge[3706]: time=“2020-04-10T17:05:44Z” level=error msg=“integration/mqtt: connection error” error=“Network Error : dial tcp 127.0.0.1:1883: connect: connection refused”
do I need to put the real ip of the network server in /etc/default/config.json file? My config,json looks like this per documentation
“SX1301_array_conf”:[ {
“board_freq_band”: “US915”,
“SX1301_conf”:[
{
“chip_enable”: true,
“chan_multiSF_0”: {“chan_rx_freq”: 902300000, “spread_factor”: “7-12” },
“chan_multiSF_1”: {“chan_rx_freq”: 902500000, “spread_factor”: “7-12” },
“chan_multiSF_2”: {“chan_rx_freq”: 902700000, “spread_factor”: “7-12” },
“chan_multiSF_3”: {“chan_rx_freq”: 902900000, “spread_factor”: “7-12” },
“chan_multiSF_4”: {“chan_rx_freq”: 903100000, “spread_factor”: “7-12” },
“chan_multiSF_5”: {“chan_rx_freq”: 903300000, “spread_factor”: “7-12” },
“chan_multiSF_6”: {“chan_rx_freq”: 903500000, “spread_factor”: “7-12” },
“chan_multiSF_7”: {“chan_rx_freq”: 903700000, “spread_factor”: “7-12” },
“chan_LoRa_std” : {“chan_rx_freq”: 903000000, “bandwidth”: 500000, “spread_factor”: 8 },
“chan_FSK” : {“chan_rx_freq”: 903000000, “bandwidth”: 250000, “bit_rate”: 100000 }
}],
“loramac_public”:true,
“aes_key”: “ABCDEF0123456789ABCDEF0123456789”
}],
“gateway_conf”: {
“server_address”: “127.0.0.1”,
“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
}
}
in the file /etc/default/mqtt-bridge.conf i put in the public address of my AWS machine and I enabled port 1883 for everyone(ns_host 34.197.197.48:1883)
where does it get 127.0.0.1:1883 ?