I have not been able to fix the error "MQTT connection failed with error code 0x8060009 ..."
I am implementing the mtb-example-anycloud-mqtt-client with the Mosquitto broker in MQTTS mode. I have tried it from a Raspberry Pi 3B +, Jetson nano, and an Ubuntu PC. No positive results.
If there is any way to implement it in non-secure mode that would also be helpful
I followed the instructions on Github .. I have created the keys and the TLS / SSL certificates. I have also adjusted the mosquitto.conf file as follows:
# Place your local configuration in /etc/mosquitto/conf.d/
# A full description of the configuration file is at
persistence_location / var / lib / mosquitto /
log_dest file /var/log/mosquitto/mosquitto.log
# Config file for mosquitto
# SSL settings
password_file / etc / mosquitto / passwd
Help me ... I really want to use Mosquitto in my home project I am using the CY8CKIT-062-WIFI-BT
I have the Modus ToolBox IDE updated in Version 2.31
I haven't modified the code, I put entered the WiFi data (SSID, Password), the broker's password and user, and the formatted certificates SSL
".......................................... \ n" \
All following the instructions in the document's .md file.
Have you tried with some other broker like AWS? Is the issue happening there as well? If Mosquitto broker is not a hard requirement, please try this with AWS broker.