Hi,
I’m using a raspberry pi with semtech udp packet forwarder.
It worked with chirpstack version 3. But I had some issues with not being able to read the pid file. At some point I decided to install version 4 (first using the update script), but because I had issues with the pid file and authentication and probably did something terribly wrong. Bottomline I lost all user accounts so I coudn’t log in the chirpstack database anymore. Therefore I decided to uninstall everything and start all over.
At this point I have installed:
- chirpstack 4.2.0
- chirpstack-gateway-bridge 4.0.5
- mosquitto 2.0.15
- semteck packet forewarder 5.0.1
What I want is to use allow_anonymous false
in the mosquitto configuration and have an user that is authenticated so I can debug via mqtt-explorer. And a gateway that is up and running, with some devices connected to it.
The application now starts when the raspberry pi boots. But the gateway doesn’t appear online. I can connect to it with mqtt explorer, but no data appears.
All the services start neatly and I can’t seem to find any errors in the logging.
Below are my configuration files and logging. It’s probably too much information, but I have just no idea where to look anymore. (I removed some of the comments in the file for this post, I hope I didn’t remove more than that, the files on the pi are not edited for this)
The lines I commented out causes some services to not be able to start. For example the chirpstack user in the chirpstack.service file causes an authentication error, which I don’t understand as I provided the password (dubble checked it’s correct) and have it in the passwd file and acls file, both are given mentioned in the custom.conf and I double checked that the mosquitto service is running with this configuration).
It’s the exact same path as the gatewaybrigde user in the chirpstack-gateway-bridge.service, which is working fine.
Can you find anything?
Thank you in advance.
These are my config files
chirpstack.toml:
[logging]
level="debug"
[postgresql]
dsn="postgres://chirpstack:[the password]@localhost/chirpstack?sslmode=disable"
max_open_connections=10
min_idle_connections=0
[redis]
servers=[
"redis://localhost/",
]
tls_enabled=false
cluster=false
[network]
net_id="000000"
enabled_regions=[
"eu868",
]
[api]
bind="0.0.0.0:8080"
secret="[a unique secret]"
[integration]
enabled=["mqtt"]
[integration.mqtt]
server="tcp://localhost:1883/"
json=false
username="chirpstack"
password="[the password]"
chirpstack.service
[Unit]
Description=ChirpStack open-source LoRaWAN Network Server
Documentation=[link]
Wants=network-online.target
After=network-online.target
[Service]
#User=chirpstack
#Group=chirpstack
ExecStart=/usr/bin/chirpstack -c /etc/chirpstack/
Restart=on-failure
[Install]
WantedBy=multi-user.target
chirpstack-gateway-bridge.toml
[backend]
type="semtech_udp"
[backend.semtech_udp]
udp_bind = "0.0.0.0:1700"
[integration]
marshaler="protobuf"
event_topic_template="eu868/gateway/{{ .GatewayID }}/event/{{ .EventType }}"
command_topic_template="eu868/gateway/{{ .GatewayID }}/command/#"
state_topic_template="eu868/gateway/{{ .GatewayID }}/state/{{ .StateType }}"
[integration.mqtt.auth]
type="generic"
[integration.mqtt.auth.generic]
server="tcp://127.0.0.1:1883"
username="gatewaybridge"
password="[the password]"
chirpstack-gateway-bridge.service
[Unit]
Description=ChirpStack Gateway Bridge
Documentation=[link]
Wants=network-online.target
After=network-online.target
[Service]
User=gatewaybridge
Group=gatewaybridge
#ExecStart=/usr/bin/chirpstack-gateway-bridge -c /etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml
ExecStart=/usr/bin/chirpstack-gateway-bridge
Restart=on-failure
[Install]
WantedBy=multi-user.target
Alias=lora-gateway-bridge.service
mosquitto acls file
user chirpstack
topic readwrite eu868/gateway/+/event/+
user gatewaybridge
topic readwrite eu868/gateway/+/event/+
user admin
topic read +
custom.conf
listener 1883
allow_anonymous false
password_file /etc/mosquitto/passwd
acl_file /etc/mosquitto/acls
mosquitto.conf
#per_listener_settings true
#pid_file /var/run/mosquitto/mosquitto.pid
persistence true
persistence_location /var/lib/mosquitto/
log_dest file /var/log/mosquitto/mosquitto.log
include_dir /etc/mosquitto/conf.d
mosquitto passwd file
admin:[some hash containing the password]
chirpstack:[some hash containing the password]
gatewaybridge:[some hash containing the password]
mosquitto.service
[Unit]
Description=Mosquitto MQTT Broker
Documentation=man:mosquitto.conf(5) man:mosquitto(8)
After=network.target
Wants=network.target
[Service]
User=mosquitto
Type=notify
NotifyAccess=main
ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
#ExecStart=/usr/sbin/mosquitto
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
#ExecStartPre=/bin/mkdir -m 740 -p /var/log/mosquitto
#ExecStartPre=/bin/chown -R mosquitto:mosquitto /var/log/mosquitto
#ExecStartPre=/bin/mkdir -m 740 -p /var/run/mosquitto
#ExecStartPre=/bin/chown -R mosquitto:mosquitto /var/run/mosquitto
#ExecStartPre=/bin/mkdir -m 740 -p /var/lib/mosquitto
#ExecStartPre=/bin/chown -R mosquitto:mosquitto /var/lib/mosquitto
[Install]
WantedBy=multi-user.target
and here is some logging:
mosquitto service:
-- Boot 8b7f4af9560841e2a65f63cae5d5f7e7 --
Feb 16 15:04:34 gateway systemd[1]: Starting Mosquitto MQTT Broker...
Feb 16 15:04:34 gateway mosquitto[484]: 1676556274: Loading config file /etc/mosquitto/conf.d/custom.conf
Feb 16 15:04:35 gateway systemd[1]: Started Mosquitto MQTT Broker.
Feb 16 16:01:00 gateway systemd[1]: Stopping Mosquitto MQTT Broker...
Feb 16 16:01:00 gateway systemd[1]: mosquitto.service: Succeeded.
Feb 16 16:01:00 gateway systemd[1]: Stopped Mosquitto MQTT Broker.
Feb 16 16:01:00 gateway systemd[1]: mosquitto.service: Consumed 3.919s CPU time.
-- Boot aaec0fe143a94c24b00f16fb62a85142 --
Feb 16 16:01:07 gateway systemd[1]: Starting Mosquitto MQTT Broker...
Feb 16 16:01:07 gateway mosquitto[475]: 1676559667: Loading config file /etc/mosquitto/conf.d/custom.conf
Feb 16 16:01:07 gateway systemd[1]: Started Mosquitto MQTT Broker.
● mosquitto.service - Mosquitto MQTT Broker
Loaded: loaded (/lib/systemd/system/mosquitto.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2023-02-16 16:01:07 CET; 4min 36s ago
Docs: man:mosquitto.conf(5)
man:mosquitto(8)
Main PID: 475 (mosquitto)
Tasks: 1 (limit: 1010)
CPU: 365ms
CGroup: /system.slice/mosquitto.service
└─475 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
gateway brigde
-- Boot aaec0fe143a94c24b00f16fb62a85142 --
Feb 16 16:01:16 gateway systemd[1]: Started ChirpStack Gateway Bridge.
Feb 16 16:01:17 gateway chirpstack-gateway-bridge[587]: time="2023-02-16T16:01:17.371281348+01:00" level=info msg="starting ChirpStack Gateway Bridge" docs="[link]" version=4.0.5
Feb 16 16:01:17 gateway chirpstack-gateway-bridge[587]: time="2023-02-16T16:01:17.371716817+01:00" level=info msg="backend/semtechudp: starting gateway udp listener" addr="0.0.0.0:1700"
Feb 16 16:01:17 gateway chirpstack-gateway-bridge[587]: time="2023-02-16T16:01:17.383315358+01:00" level=warning msg="[store] memorystore wiped" module=mqtt
Feb 16 16:01:17 gateway chirpstack-gateway-bridge[587]: time="2023-02-16T16:01:17.384471139+01:00" level=info msg="integration/mqtt: connected to mqtt broker"
Feb 16 16:01:19 gateway chirpstack-gateway-bridge[587]: time="2023-02-16T16:01:19.893448534+01:00" level=info msg="integration/mqtt: subscribing to topic" qos=0 topic="eu868/gateway/9a20548c19a13feb/command/#"
Feb 16 16:01:19 gateway chirpstack-gateway-bridge[587]: time="2023-02-16T16:01:19.895001764+01:00" level=warning msg="[store] memorystore del: message 1 not found" module=mqtt
Feb 16 16:01:19 gateway chirpstack-gateway-bridge[587]: time="2023-02-16T16:01:19.897376139+01:00" level=info msg="integration/mqtt: publishing state" gateway_id=9a20548c19a13feb qos=0 state=conn topic=eu868/gateway/9a20548c19a13feb/state/conn
Feb 16 16:01:22 gateway chirpstack-gateway-bridge[587]: time="2023-02-16T16:01:22.122407804+01:00" level=info msg="integration/mqtt: publishing event" event=up qos=0 topic=eu868/gateway/9a20548c19a13feb/event/up uplink_id=65361
Feb 16 16:01:33 gateway chirpstack-gateway-bridge[587]: time="2023-02-16T16:01:33.212970717+01:00" level=info msg="integration/mqtt: publishing event" event=up qos=0 topic=eu868/gateway/9a20548c19a13feb/event/up uplink_id=43962
Feb 16 16:01:55 gateway chirpstack-gateway-bridge[587]: time="2023-02-16T16:01:55.292050428+01:00" level=info msg="integration/mqtt: publishing event" event=stats qos=0 topic=eu868/gateway/9a20548c19a13feb/event/stats
packet forewarder
-- Journal begins at Fri 2023-02-10 12:28:57 CET. --
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ### [UPSTREAM] ###
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # RF packets received by concentrator: 6
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # RF packets forwarded: 6 (138 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PUSH_DATA datagrams sent: 7 (1346 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PUSH_DATA acknowledged: 100.00%
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ### [DOWNSTREAM] ###
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PULL_DATA sent: 3 (100.00% acknowledged)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # RF packets sent to concentrator: 0 (0 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # TX errors: 0
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # BEACON queued: 0
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # BEACON sent so far: 0
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # BEACON rejected: 0
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ### [JIT] ###
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # SX1301 time (PPS): 302415262
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ### [GPS] ###
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # GPS sync is disabled
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ##### END #####
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: JSON up: {"stat":{"time":"2023-02-16 15:06:25 GMT","rxnb":6,"rxok":6,"rxfw":6,"ackr":100.0,"dwnb":0,"txnb":0}}
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: [up] PUSH_ACK received in 1 ms
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: [down] PULL_ACK received in 0 ms
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: Received pkt from mote: 00000000 (fcnt=0)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: JSON up: {"rxpk":[{"tmst":309152395,"chan":0,"rfch":1,"freq":868.100000,"stat":1,"modu":"LORA","datr":"SF7BW125","codr":"4/5","lsnr":7.0,"rssi":-101,"size":23,"data":"AAAAAAAAAAAA6AYQcAbFGwB3cpX0YeU="}]}
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: [up] PUSH_ACK received in 0 ms
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: [down] PULL_ACK received in 0 ms
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: [down] PULL_ACK received in 0 ms
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ##### 2023-02-16 15:06:55 GMT #####
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ### [UPSTREAM] ###
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # RF packets received by concentrator: 1
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # RF packets forwarded: 1 (23 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PUSH_DATA datagrams sent: 2 (319 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PUSH_DATA acknowledged: 100.00%
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ### [DOWNSTREAM] ###
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PULL_DATA sent: 3 (100.00% acknowledged)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # RF packets sent to concentrator: 0 (0 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # TX errors: 0
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # BEACON queued: 0
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # BEACON sent so far: 0
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # BEACON rejected: 0
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ### [JIT] ###
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # SX1301 time (PPS): 302415262
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ### [GPS] ###
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # GPS sync is disabled
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ##### END #####
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: JSON up: {"stat":{"time":"2023-02-16 15:06:55 GMT","rxnb":1,"rxok":1,"rxfw":1,"ackr":100.0,"dwnb":0,"txnb":0}}
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: [up] PUSH_ACK received in 0 ms
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: [down] PULL_ACK received in 0 ms
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: [down] PULL_ACK received in 0 ms
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: [down] PULL_ACK received in 0 ms
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: Disabling GPS mode for concentrator's counter...
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: host/sx1301 time offset=(1676559682s:870086µs) - drift=434µs
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: Enabling GPS mode for concentrator's counter.
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ##### 2023-02-16 15:07:25 GMT #####
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ### [UPSTREAM] ###
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # RF packets received by concentrator: 1
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # CRC_OK: 0.00%, CRC_FAIL: 100.00%, NO_CRC: 0.00%
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # RF packets forwarded: 0 (0 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PUSH_DATA datagrams sent: 1 (113 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PUSH_DATA acknowledged: 100.00%
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ### [DOWNSTREAM] ###
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PULL_DATA sent: 3 (100.00% acknowledged)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # RF packets sent to concentrator: 0 (0 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # TX errors: 0
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # BEACON queued: 0
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # BEACON sent so far: 0
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # BEACON rejected: 0
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ### [JIT] ###
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # SX1301 time (PPS): 362415158
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ### [GPS] ###
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # GPS sync is disabled
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ##### END #####
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: JSON up: {"stat":{"time":"2023-02-16 15:07:25 GMT","rxnb":1,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}}
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: [up] PUSH_ACK received in 0 ms
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: Received pkt from mote: 00000000 (fcnt=0)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: JSON up: {"rxpk":[{"tmst":364769291,"chan":0,"rfch":1,"freq":868.100000,"stat":1,"modu":"LORA","datr":"SF7BW125","codr":"4/5","lsnr":7.0,"rssi":-102,"size":23,"data":"AAAAAAAAAAAAc8MqZ4TOGPJ1EOwRrIQ="}]}
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: [up] PUSH_ACK received in 0 ms
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: [down] PULL_ACK received in 0 ms
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: [down] PULL_ACK received in 0 ms
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: INFO: [down] PULL_ACK received in 1 ms
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ##### 2023-02-16 15:07:55 GMT #####
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ### [UPSTREAM] ###
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # RF packets received by concentrator: 1
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # RF packets forwarded: 1 (23 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PUSH_DATA datagrams sent: 2 (319 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PUSH_DATA acknowledged: 100.00%
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: ### [DOWNSTREAM] ###
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PULL_DATA sent: 3 (100.00% acknowledged)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # RF packets sent to concentrator: 0 (0 bytes)
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # TX errors: 0
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # BEACON queued: 0
Feb 16 16:07:55 gateway lora_pkt_fwd[454]: # BEACON sent so far: 0
chirpstack
-- Journal begins at Fri 2023-02-10 12:28:57 CET. --
Feb 16 16:01:17 gateway chirpstack[588]: 2023-02-16T15:01:17.554681Z INFO chirpstack::backend::joinserver: Setting up Join Server clients
Feb 16 16:01:17 gateway chirpstack[588]: 2023-02-16T15:01:17.559406Z INFO chirpstack::backend::roaming: Setting up roaming clients
Feb 16 16:01:17 gateway chirpstack[588]: 2023-02-16T15:01:17.559497Z INFO chirpstack::adr: Setting up adr algorithms
Feb 16 16:01:17 gateway chirpstack[588]: 2023-02-16T15:01:17.559646Z INFO chirpstack::integration: Setting up global integrations
Feb 16 16:01:17 gateway chirpstack[588]: 2023-02-16T15:01:17.559684Z INFO chirpstack::integration::redis: Initializing Redis integration
Feb 16 16:01:17 gateway chirpstack[588]: 2023-02-16T15:01:17.566144Z INFO chirpstack::integration::mqtt: Initializing MQTT integration
Feb 16 16:01:17 gateway chirpstack[588]: 2023-02-16T15:01:17.682700Z INFO chirpstack::integration::mqtt: Connecting to MQTT broker server_uri=tcp://localhost:1883/ client_id=32284cc4b76cf255 clean_session=false
Feb 16 16:01:17 gateway chirpstack[588]: 2023-02-16T15:01:17.698686Z INFO chirpstack::integration::mqtt: Connected to MQTT broker
Feb 16 16:01:17 gateway chirpstack[588]: 2023-02-16T15:01:17.700282Z INFO chirpstack::gateway::backend: Setting up gateway backends for the different regions
Feb 16 16:01:17 gateway chirpstack[588]: 2023-02-16T15:01:17.702285Z INFO chirpstack::gateway::backend: Setting up gateway backend for region region_id=eu868 region_common_name=EU868
Feb 16 16:01:17 gateway chirpstack[588]: 2023-02-16T15:01:17.704656Z INFO chirpstack::integration::mqtt: Starting MQTT consumer loop
Feb 16 16:01:17 gateway chirpstack[588]: 2023-02-16T15:01:17.717979Z INFO chirpstack::integration::mqtt: Subscribing to command topic command_topic=application/+/device/+/command/+
Feb 16 16:01:17 gateway chirpstack[588]: 2023-02-16T15:01:17.713418Z INFO chirpstack::gateway::backend::mqtt: Connecting to MQTT broker region_config_id=eu868 server_uri=tcp://localhost:1883 clean_session=false client_id=8a1f2a3ea2e87fc2
Feb 16 16:01:19 gateway chirpstack[588]: 2023-02-16T15:01:19.822857Z INFO chirpstack::gateway::backend::mqtt: Connected to MQTT broker region_config_id=eu868
Feb 16 16:01:19 gateway chirpstack[588]: 2023-02-16T15:01:19.831196Z INFO chirpstack::gateway::backend::mqtt: Starting MQTT consumer loop
Feb 16 16:01:19 gateway chirpstack[588]: 2023-02-16T15:01:19.836779Z INFO chirpstack::gateway::backend::mqtt: Subscribing to gateway event topic region_config_id=eu868 event_topic=eu868/gateway/+/event/+
Feb 16 16:01:19 gateway chirpstack[588]: 2023-02-16T15:01:19.839984Z INFO chirpstack::storage: Setting up PostgreSQL connection pool
Feb 16 16:01:20 gateway chirpstack[588]: 2023-02-16T15:01:20.069562Z INFO chirpstack::storage: Applying schema migrations
Feb 16 16:01:20 gateway chirpstack[588]: 2023-02-16T15:01:20.110067Z INFO chirpstack::storage: Setting up Redis client
Feb 16 16:01:20 gateway chirpstack[588]: 2023-02-16T15:01:20.152713Z INFO chirpstack::downlink: Setting up Class-B/C scheduler loop
Feb 16 16:01:20 gateway chirpstack[588]: 2023-02-16T15:01:20.152949Z INFO chirpstack::downlink: Setting up multicast scheduler loop
Feb 16 16:01:20 gateway chirpstack[588]: 2023-02-16T15:01:20.153026Z INFO chirpstack::api: Setting up API interface bind=0.0.0.0:8080
Feb 16 16:01:20 gateway chirpstack[588]: 2023-02-16T15:01:20.161317Z WARN chirpstack::api::backend: Backend interfaces API is disabled
Feb 16 16:08:12 gateway chirpstack[588]: 2023-02-16T15:08:12.259406Z INFO http{method="GET" uri=/ version=HTTP/1.1}: chirpstack::api: Finished processing request status="200" latency=420.312µs
Feb 16 16:08:12 gateway chirpstack[588]: 2023-02-16T15:08:12.335319Z INFO http{method="GET" uri=/static/js/main.69b14769.js version=HTTP/1.1}: chirpstack::api: Finished processing request status="200" latency=12.97445ms
Feb 16 16:08:12 gateway chirpstack[588]: 2023-02-16T15:08:12.354121Z INFO http{method="GET" uri=/static/css/main.fc14b565.css version=HTTP/1.1}: chirpstack::api: Finished processing request status="200" latency=10.933308ms
Feb 16 16:08:12 gateway chirpstack[588]: 2023-02-16T15:08:12.806548Z INFO gRPC{uri=/api.InternalService/Profile}: chirpstack::api: Finished processing request status="200" latency=43.117715ms
Feb 16 16:08:12 gateway chirpstack[588]: 2023-02-16T15:08:12.826106Z INFO gRPC{uri=/api.InternalService/Settings}: chirpstack::api: Finished processing request status="200" latency=588.592µs
Feb 16 16:08:12 gateway chirpstack[588]: 2023-02-16T15:08:12.849233Z INFO gRPC{uri=/api.TenantService/Get}: chirpstack::api: Finished processing request status="200" latency=13.192105ms
Feb 16 16:08:12 gateway chirpstack[588]: 2023-02-16T15:08:12.849233Z INFO gRPC{uri=/api.TenantService/Get}: chirpstack::api: Finished processing request status="200" latency=22.515262ms
Feb 16 16:08:12 gateway chirpstack[588]: 2023-02-16T15:08:12.861814Z INFO http{method="GET" uri=/logo.png version=HTTP/1.1}: chirpstack::api: Finished processing request status="200" latency=314.739µs
Feb 16 16:08:12 gateway chirpstack[588]: 2023-02-16T15:08:12.916759Z INFO gRPC{uri=/api.InternalService/GetGatewaysSummary}: chirpstack::api: Finished processing request status="200" latency=39.328349ms
Feb 16 16:08:12 gateway chirpstack[588]: 2023-02-16T15:08:12.924009Z INFO gRPC{uri=/api.InternalService/GetDevicesSummary}: chirpstack::api: Finished processing request status="200" latency=43.536464ms
Feb 16 16:08:12 gateway chirpstack[588]: 2023-02-16T15:08:12.963936Z INFO gRPC{uri=/api.GatewayService/List}: chirpstack::api: Finished processing request status="200" latency=13.054502ms
Feb 16 16:08:13 gateway chirpstack[588]: 2023-02-16T15:08:13.005888Z INFO http{method="GET" uri=/static/media/markers-soft.e52214306ad12a5c837e.png version=HTTP/1.1}: chirpstack::api: Finished processing request status="200" latency=12.69971ms
Feb 16 16:08:13 gateway chirpstack[588]: 2023-02-16T15:08:13.017969Z INFO http{method="GET" uri=/static/media/fa-solid-900.59edf72a325ac2048d60.woff2 version=HTTP/1.1}: chirpstack::api: Finished processing request status="200" latency=10.614819ms