https://gitlab.synchro.net/main/sbbs/-/issues/781#note_5579
I'm not clear on how this issue could happen. It looks like a race condition
between the broker connection attempt in the terminal server thread and another
thread (the event thread) attempting to publish (node status, in this case). But
the terminal server thread waits until the MQTT broker connection is either
successful or not before continuing and should log the result of the
broker-connection attempt:
```
lprintf(lputs, LOG_DEBUG, "MQTT broker-connect (%s:%d) successful",
cfg->mqtt.broker_addr, cfg->mqtt.broker_port);
```
or:
```
lprintf(lputs, LOG_ERR, "MQTT broker-connect (%s:%d) failure: %d",
cfg->mqtt.broker_addr, cfg->mqtt.broker_port, result);
```
Did you have debug-level log output enabled?
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|