Connect gateway-os-base gateway to gateway-os-full network server

Hi,

I have 2 raspberry pi 1, one with a shield RisingHF - RHF0M301 and gateway-os-base(20230322150625) installed, and another with no shield and gateway-os-full(20230322150625) installed. I’m trying to connect the gateway of the one with gateway-os-base installed to the network server of the one with gateway-os-full installed, by configuring chirpstack MQTT forwarder via gateway-config and setting the server to tcp://172.30.9.15:1883 (example of an internal ip in my network). The problem is that I keep getting connection refused and the gateway in question is “never seen” on the network server dashboard.

The device with gateway-os-full and no shield, I’ve just installed the os, waited for it to fully boot and accessed it via UI on a internet browser.

Things I’ve tried and did work:

  1. Set chirpstack MQTT forwarder server on the gateway-os-base device to tcp://test.mosquitto.org:1883 and the connection is stablished
  2. Configure a rpi 1 with the shield, gateway-os-full and chirpstack MQTT forwarder server pointing to tcp://127.0.0.1:1883, I did manage to connect the gateway to the network server.

Am I missing something on the configuration process?

As the devices are in my university lab, I don’t have access to them right now, but once I do, I’ll share better logs.

gateway-os-base device chirpstack-mqtt-forwarder.toml:

[logging]
level=“info”
log_to_syslog=true
[mqtt]
topic_prefix=“us915_0”
json=false
server=“tcp://172.30.9.15:1883”
username=“”
password=“”
ca_cert=“”
tls_cert=“”
tls_key=“”
[backend]
enabled=“concentratord”
[backend.concentratord]
event_url=“ipc:///tmp/concentratord_event”
command_url=“ipc:///tmp/concentratord_command”

gateway-os-base device /var/log/messages:

Aug 09 12:43:54 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:43:56 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:43:56 raspberrypi user.info chirpstack-concentratord-sx1301[418]: Publishing stats event, rx_received: 4, rx_received_ok: 3, tx_received: 0, tx_emitted: 0
Aug 09 12:43:56 raspberrypi user.info chirpstack-mqtt-forwarder[530]: Received gateway stats
Aug 09 12:43:56 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Handle event error: STATE is not set
Aug 09 12:43:57 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:43:58 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:43:59 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:44:00 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:44:02 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:44:03 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:44:04 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:44:05 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:44:06 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:44:08 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:44:09 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:44:10 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:44:11 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:44:12 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure
Aug 09 12:44:13 raspberrypi user.err chirpstack-mqtt-forwarder[530]: Connecting to MQTT broker error, error: [-1] TCP/TLS connect failure

gateway-os-full device chirpstack-mqtt-forwarder.toml:

[logging]
level=“info”
log_to_syslog=true
[mqtt]
topic_prefix=“us915_0”
json=false
server=“tcp://127.0.0.1:1883”
username=“”
password=“”
ca_cert=“”
tls_cert=“”
tls_key=“”
[backend]
enabled=“concentratord”
[backend.concentratord]
event_url=“ipc:///tmp/concentratord_event”
command_url=“ipc:///tmp/concentratord_command”

gateway-os-base device /var/log/messages:

Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Configuring reset pin, dev: /dev/gpiochip0, pin: 7
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Starting Concentratord SX1301 (version: 4.1.1, docs: Introduction - ChirpStack open-source LoRaWAN<sup>®</sup> Network Server)
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Triggering sx1302 reset
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Setting spi device path, spidev_path: /dev/spidev0.0
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Setting board configuration, lorawan_public: true, clock_source: 1
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Setting up concentrator radios
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Configuring radio, radio: 0, enabled: true, center_freq: 902700000, type: SX1257
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Configuring radio, radio: 1, enabled: true, center_freq: 903700000, type: SX1257
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Setting up concentrator channels
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Configuring multi-SF LoRa channel, channel: 0, enabled: true, freq: 902300000, rf_chain: 0, if_freq: -400000
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Configuring multi-SF LoRa channel, channel: 1, enabled: true, freq: 902500000, rf_chain: 0, if_freq: -200000
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Configuring multi-SF LoRa channel, channel: 2, enabled: true, freq: 902700000, rf_chain: 0, if_freq: 0
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Configuring multi-SF LoRa channel, channel: 3, enabled: true, freq: 902900000, rf_chain: 0, if_freq: 200000
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Configuring multi-SF LoRa channel, channel: 4, enabled: true, freq: 903100000, rf_chain: 0, if_freq: 400000
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Configuring multi-SF LoRa channel, channel: 5, enabled: true, freq: 903300000, rf_chain: 1, if_freq: -400000
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Configuring multi-SF LoRa channel, channel: 6, enabled: true, freq: 903500000, rf_chain: 1, if_freq: -200000
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Configuring multi-SF LoRa channel, channel: 7, enabled: true, freq: 903700000, rf_chain: 1, if_freq: 0
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Configuring Std LoRa channel, enabled: true, freq: 903000000, rf_chain: 0, if_freq: 300000
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Configuring FSK channel, enabled: false, freq: 0, rf_chain: 0, if_freq: 0
Aug 09 12:46:05 raspberrypi user.info chirpstack-concentratord-sx1301[1516]: Starting the concentrator

This topic was automatically closed after 90 days. New replies are no longer allowed.