Open mhanline opened 4 years ago
Seems like after an unclean disconnect, IoT core doesn't allow multiple connections from same device ID. Stackdriver log: The connection was closed because there is another active connection with the same device ID
May look into setup/teardown after MQTT send, or something more elaborate.
[E][ssl_client.cpp:33] _handle_error(): [start_ssl_client():190]: (-32512) SSL - Memory allocation failed [E][WiFiClientSecure.cpp:132] connect(): start_ssl_client: -32512
Upon first boot, intermittently I get: Settings incorrect or missing a cyper for SSL Connect with mqtt.2030.ltsapis.goog:8883 ClientId: projects/projectid/locations/us-central1/registries/iot-core-tilt-gateway/devices/mhanl-tilt01 Waiting 60 seconds, retry will likely fail