arduino-libraries / ArduinoIoTCloud

Home Page:https://app.arduino.cc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP32 WROOM 32 DevKit (DIYMall) error connecting to ArduinoCloud

dvelaren opened this issue · comments

Hello Arduino community. I would like to report a problem when connecting the ESP32 WROOM 32 DevKit (DIYMall) to ArduinoCloud. I have been following this tutorial.

I'm able to connect to upload the program, connect to the WiFi but when the ESP32 tries to connect to the ArduinoCloud MQTT server. It fails with the following errors:

ArduinoIoTCloudTCP::handle_ConnectMqttBroker could not connect to mqtts-up.iot.arduino.cc:8884
ArduinoIoTCloudTCP::handle_ConnectMqttBroker 1 connection attempt at tick time 15112

I have tried selecting different boards because I think this is related to client certificates or TLS issues. The boards I tried are:

  • DOIT ESP32 DEVKIT V1
  • ESP32 Dev Module
  • MH ET LIVE ESP32 DevKIT

I hope you can help me out solving this issue.


Also reported at https://forum.arduino.cc/t/esp32-wroom-32-devkit-diymall-error-connecting-to-arduinocloud/1165957

@dvelaren I do not have any connection issue with my boards here. I'm using DOIT ESP32 DEVKIT V1 and ESP32 Dev Module.

Make sure to use the proper secret key associated with the board device-id otherwise you will get authentication errors.

Let's continue the discussion on the forum.