New: the AI firewall watches the whole platform and explains each incident in plain words. See how it works

Reply To: PubSubClient connect() fails with rc=2 when I build the client ID from String objects

That was it. Static buffers and it connects first time on all five boards. I’d also been building the host in setup() exactly like you said, which explains the random reconnect failures I’d been blaming on my Wi-Fi. Thanks Laura.

♥ 0