I'm getting intermittent AWS connection. Last message I'm getting before it drops is [May 16 10:15:33.173] mg_ssl_if_mbed_err 0x3ffefe64 TLS connection closed by peer
[May 16 10:15:33.173] mg_ssl_if_mbed_err 0x3ffefe64 TLS connection closed by peer
Is this something happening on the AWS side or can it be fixed on my side?
Again, networking error. Will post followup when I established what it is.
Please can someone point me in the right direction.
I've been using Wireshark to monitor the connection. The MQTT broker disconnects happen when there is difference in the time between the first TLS and TCP packets of a mqtt publish. Normally more than 700ms.
As these packets are being generated by the ESP I assume that it's causing the connection failure?
This is what every normal transaction looks like.
This is what occurs when there is a disconnect.
The second column is delta time from the last packet in milliseconds.