Chirpstack Not Accepting UDP Packets

Hi,
I am using a Pi 4B with the Chirpstack OS as a LoRa server. I am trying to add a gateway configured for EU433 signals. Using tcpdump, I can see that the status packets from the STM Nucleo gateway packet forwarder are being received by the Pi, but in the web application, the gateway ‘Last seen’ status remains ‘Never’. There are no local_conf or global_conf.json files in the Pi file system. I have edited the gateway-bridge, udp-bridge and network server toml files to use the semtech_udp backend and bind to port 1700. In the web application, the network server is on port 8000 whereas in the udp-bridge toml it is 1700. I tried forwarding to all of the open UDP ports on the Pi with no luck. Also tried changing the environment variable using: BACKEND__SEMTECH_UDP__UDP_BIND=“0.0.0.0:1700”.
Please assist. Thanks!

Update: it seems that when using the semtech_udp backend, received packets are not passed to the network server. The concentratord backend works correctly.

Here is the log file. I believe there should be an ‘obound’ to the network server:

Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.015163886Z” level=debug msg=“[client] enter Subscribe” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.015806432Z” level=debug msg=“[client] SUBSCRIBE: dup: false qos: 1 retain: false rLength: 0 MessageID: 1 topics: [gateway/080027ffff052618/command/#]” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.016286036Z” level=debug msg=“[client] sending subscribe message, topic: gateway/080027ffff052618/command/#” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.016757363Z” level=debug msg=“[client] exit Subscribe” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.016992804Z” level=debug msg=“[net] obound priority msg to write, type *packets.SubscribePacket” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.017616795Z” level=debug msg=“[net] outgoing waiting for an outbound message” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.01808414Z” level=debug msg=“[net] startIncoming Received Message” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.018360802Z” level=debug msg=“[net] startIncomingComms: got msg on ibound” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.018559892Z” level=debug msg=“[store] memorystore del: message 1 was deleted” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.01872039Z” level=debug msg=“[net] startIncomingComms: received suback, id: 1” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.018875128Z” level=debug msg=“[net] startIncomingComms: granted qoss [0]” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.019044163Z” level=debug msg=“[net] logic waiting for msg on ibound” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.info chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.021517163Z” level=info msg=“integration/mqtt: publishing state” gateway_id=080027ffff052618 qos=0 state=conn topic=gateway/080027ffff052618/state/conn
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.021804141Z” level=debug msg=“[client] enter Publish” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.022004508Z” level=debug msg=“[client] sending publish message, topic: gateway/080027ffff052618/state/conn” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.022249116Z” level=debug msg=“[net] obound msg to write 0” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.022612666Z” level=debug msg=“[net] obound wrote msg, id: 0” module=mqtt
Mar 29 13:14:25 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:25.022838403Z” level=debug msg=“[net] outgoing waiting for an outbound message” module=mqtt
Mar 29 13:14:27 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:27.656515262Z” level=debug msg=“[pinger] ping check 2.633527935” module=mqtt
Mar 29 13:14:29 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:29.97890508Z” level=debug msg=“backend/semtechudp: received udp packet from gateway” addr=“192.168.1.177:50000” protocol_version=1 type=PullData
Mar 29 13:14:29 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:29.979829807Z” level=debug msg=“backend/semtechudp: sending udp packet to gateway” addr=“192.168.1.177:50000” protocol_version=1 type=PullACK
Mar 29 13:14:29 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:29.979928954Z” level=debug msg=“integration/mqtt: set gateway subscription” gateway_id=080027ffff052618 subscribe=true
Mar 29 13:14:32 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:32.656898778Z” level=debug msg=“[pinger] ping check 7.634014301” module=mqtt
Mar 29 13:14:35 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:35.030881902Z” level=debug msg=“backend/semtechudp: received udp packet from gateway” addr=“192.168.1.177:50000” protocol_version=1 type=PullData
Mar 29 13:14:35 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:35.031845962Z” level=debug msg=“backend/semtechudp: sending udp packet to gateway” addr=“192.168.1.177:50000” protocol_version=1 type=PullACK
Mar 29 13:14:35 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:35.031885739Z” level=debug msg=“integration/mqtt: set gateway subscription” gateway_id=080027ffff052618 subscribe=true
Mar 29 13:14:37 GLC800-test-gateway user.debug chirpstack-gateway-bridge[1058]: time=“2023-03-29T13:14:37.657316143Z” level=debug msg=“[pinger] ping check 12.63443061” module=mqtt

The STM Nucleo packet forwarder keep alives do not get passed up the stack. Turning on the sensor node showed that packets were moving up the stack when viewing the logs. After configuring the sensor, the bands were not being accepted despite being updated in the network server config. Rebooting the system resets the config files to a default setting (probably based on the RAK module I have attached and configured using the gateway-config) so finding and killing the network server instance can be used to update the network server config. The device packets can then be viewed in the webapp.