After installing the V3 stack I’ve added a gateway with an “Link” API key. The gateway is able to connect to the running stack on port 1882 without any issues and shows active in the console. However the packet counters stay zero and a test node is unable to join (no indication data is received).
When I connect the gateway using UDP data is received in the application, the counters still are not incrementing and when a joining no response is sent but the log shows:
A third issue?: The data ‘tab’ for neither gateway shows any data events. The MQTT connected one shows the MQTT connection being setup, but that is all.
I’m not familiar with this particular setup, so can’t say if they did something odd, but MQTT is a many-to-many architecture rather than a direct producer-consumer connection. So ordinarily it is possible to subscribe something else to the same topic(s) on the MQTT broker (such as the mosquitto_sub tool) and monitor traffic to and from the gateway - something that’s extremely useful in all sorts of debugging of MQTT-based LoRaWAN implementations.
That is not relevant for this case. I know what messages are being sent by the gateway (is in the output of the packet forwarder) and the gateway software uses the ttn-gateway-connector protocol which works with the V2 stack. From what I understood it should work with V3 as well.
According to netstat there is nothing listening on port 1881/8881. Open ports are 1882, 1883, 1884, 1885, 1887 and 8882, 8883, 8884, 8885, 8887. Do I need to enable something somewhere?
EDIT: Never mind, added the mapping to the docker compose file and now there is a process listening.