I've been trying to setup ESP32 to post to Google Cloud IoT core and use the Pub/Sub core to receive/transmit messages. However, there is a very strange issue I am facing.
I have my laptop which I have been using for development. When I program the ESP32 with the laptop, it would work fine for a few number of times and then suddenly the connection with Google Cloud will break and it will say "Setting incorrect or missing a cyper for ssl".
This is very inconvenient as a lot of data is missed during this disconnect and reconnect phase.
Can anyone help me resolve this issue? Is there any additional info required?