I am trying to get mqtt client working with a SSL but the connection to the boker is failing, is there any way to switch some debugging on the espconn API as I can't get enough information on why the connection is failing?
I couldn't find anything in the below manual:
https://www.espressif.com/sites/default ... ual_en.pdf
These are exactly the errors I am getting:
TCP: Connect to ip 192.168.0.18:8883
Connecting with 2 way authentication
MQTT: HEAP size: 16696
MQTT: espconn_secure_set_size: 1
please start sntp first !
MQTT: espconn_secure_connect: 0
client handshake start.
client handshake failed
Error: invalid protocol message
TCP: Reconnect to 192.168.0.18:8883
pm open,type:2 0
From the server I can see that the I get:
Hanshake failure (40)
Thanks in advance for any help