my esp32s3 is not connecting to the coreMQTT

0

I am using https://github.com/FreeRTOS/iot-reference-esp32c3 library for esp32 OTA updates. I have followed all the instructions in the getting start guide, but the device does not connect to the core_MQTT Here is the snip from the serial Enter image description here

mzk
preguntada hace 8 meses234 visualizaciones
1 Respuesta
0

Hi mzk. It seems that it's the xTlsConnect() call that's failing. Have you provisioned everything?

https://github.com/FreeRTOS/iot-reference-esp32c3/blob/main/GettingStartedGuide.md#2-demo-setup

If so, please try these troubleshooting steps: https://docs.aws.amazon.com/iot/latest/developerguide/diagnosing-connectivity-issues.html

profile pictureAWS
EXPERTO
Greg_B
respondido hace 8 meses
  • I have connected to the endpoint using the following CLI command openssl s_client -connect custom_endpoint.iot.aws-region.amazonaws.com:8443 -CAfile CA.pem -cert cert.pem -key privateKey.pem to connect to the endpoint and the connection was successful. I also tested the AWS server using node-red with the downloaded certificates and keys and the connection was successful. There is some problem on the ESP side, which I am unable to figure out.

  • Hi, I have followed the documentation exactly point to point multiple times, but I am still unable to connect.

  • Hi. It seems you have proven that the cert, keys and IoT policy are all good. It's hard to see how the problem now could be anything other than the configuration/setup of the ESP32S3 device. Cert or key not injected correctly, maybe wrong client ID, something like that.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas