Closed amid0 closed 1 year ago
Make sure you use the latest version of this library "2.5.1". This may be related to #292.
Seems like found out the reason - its AWS IAM policies. Not all required permissions was granted and its lead to situation when nothing is work and no meaningful errors ) I'm not following pattern that is described in all guides - just assign admin permissions and forget )
Trying to connect NodeMCU esp8266 board to AWS IoT core MQTT broker with certificates. And its not working. So the problem that it is newer gets connect method return true.
here is output example
clientMQTT.lastError = -5 - LWMQTT_NETWORK_FAILED_READ clientMQTT.returnCode = 6 - LWMQTT_UNKNOWN_RETURN_CODE
Any suggestions? Spend two days to digging into it and run out of ideas ( Seems like it sends some data but newer read