I have done OTA on an ESP8266 that has been smoothly running an earlier firmware for some time. In essence, the firmware sends a JSON payload via MQTT to Google Cloud Platform’s IoT Core. The MQTT bridge between the ESP and the Cloud has been working flawlessly for the past weeks. However, after OTA, I get the error below.
[Aug 23 14:05:33.515] mg_ssl_if_mbedtls.c:207 0x3fff3c24 mbedTLS error: -0x2700 [Aug 23 14:05:33.515] mgos_mqtt.c:141 MQTT TCP connect error (-3) [Aug 23 14:05:33.515] mgos_mqtt.c:164 MQTT Disconnect [Aug 23 14:05:33.515] mgos_mqtt.c:507 MQTT connecting after 1025 ms [Aug 23 14:05:33.515] mgos_mongoose.c:66 New heap free LWM: 10608 [Aug 23 14:05:34.543] mgos_mqtt.c:431 MQTT connecting to mqtt.googleapis.com:8883 [Aug 23 14:05:34.650] mg_ssl_if_mbedtls.c:35 0x3fff42c4 ciphersuite: TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256 [Aug 23 14:05:35.769] mg_ssl_if_mbedtls.c:35 0x3fff42c4 x509_verify_cert returned -9984 [Aug 23 14:05:35.769] mg_ssl_if_mbedtls.c:35 0x3fff42c4 The certificate is not correctly signed by the trusted CA
I would greatly appreciate it if someone could help me out with understanding what’s going on. I’m happy to share more of my logs but basically, the firmware is stuck at this stage. Thank you for your guidance in advance!
Have a great day,