Closed myrcutio closed 3 years ago
did some troubleshooting and narrowed it down to some TLS misconfiguration. Adding net.setInsecure();
lets it connect, but obviously that's not a great long term solution.
This is probably a bug in https://github.com/esp8266/Arduino, not in MQTT. Sorry for the trouble
I've been following this guide and hit a snag when trying to establish a connection with the MQTT server. I'm fairly certain all my parameters are correct, and openssl confirmed that my certificates are valid, but it fails with a generic
-3
error on the device itself.Here's my code:
This is what I get out:
Is there some way I can get a bit more detail or logging regarding the response from the server? Or some clue as to what I might be missing here?
edit: For context, I'm running an ESP8266 12F NodeMCU chip