Amazon IOT disconnects and won't reconnect
Posted: Thu Dec 13, 2018 6:14 pm
I can send and receive messages from cloud until it drops then it won't reconnect. Some times it will stay connected for hours
I (2761787) wifi: bcn_timout,ap_probe_send_start
I (2764297) wifi: ap_probe_send over, resett wifi status to disassoc
I (2764297) wifi: state: run -> init (100)
I (2764297) wifi: pm stop, total sleep time: 2234832424 us / 2396858473 us
I (2764297) wifi: new:<10,0>, old:<10,0>, ap:<255,255>, sta:<10,0>, prof:1
E (2766637) aws_iot: failed! mbedtls_ssl_write returned -0x4e
E (2766647) aws_iot: failed! mbedtls_ssl_write returned -0x4e
W (2766647) AIOT: MQTT Disconnect
I (2766647) AIOT: Auto Reconnect is enabled, Reconnecting attempt will start now
I (2766847) wifi: new:<10,0>, old:<10,0>, ap:<255,255>, sta:<10,0>, prof:1
I (2766847) wifi: state: init -> auth (b0)
I (2766847) wifi: state: auth -> assoc (0)
I (2766857) wifi: state: assoc -> run (10)
I (2766887) wifi: connected with AirLinksys24G, channel 10, bssid = 60:38:e0:99:9d:35
I (2766887) wifi: pm start, type: 1
I (2767867) event: sta ip: 192.168.1.135, mask: 255.255.255.0, gw: 192.168.1.1
E (2862327) aws_iot: failed! mbedtls_ssl_handshake returned -0x6800
E (2952507) aws_iot: failed! mbedtls_ssl_setup returned -0x7f00
E (3048037) aws_iot: failed! mbedtls_ssl_handshake returned -0x6800
E (3143577) aws_iot: failed! mbedtls_ssl_handshake returned -0x6800
E (3238777) aws_iot: failed! mbedtls_ssl_handshake returned -0x6800
I (2761787) wifi: bcn_timout,ap_probe_send_start
I (2764297) wifi: ap_probe_send over, resett wifi status to disassoc
I (2764297) wifi: state: run -> init (100)
I (2764297) wifi: pm stop, total sleep time: 2234832424 us / 2396858473 us
I (2764297) wifi: new:<10,0>, old:<10,0>, ap:<255,255>, sta:<10,0>, prof:1
E (2766637) aws_iot: failed! mbedtls_ssl_write returned -0x4e
E (2766647) aws_iot: failed! mbedtls_ssl_write returned -0x4e
W (2766647) AIOT: MQTT Disconnect
I (2766647) AIOT: Auto Reconnect is enabled, Reconnecting attempt will start now
I (2766847) wifi: new:<10,0>, old:<10,0>, ap:<255,255>, sta:<10,0>, prof:1
I (2766847) wifi: state: init -> auth (b0)
I (2766847) wifi: state: auth -> assoc (0)
I (2766857) wifi: state: assoc -> run (10)
I (2766887) wifi: connected with AirLinksys24G, channel 10, bssid = 60:38:e0:99:9d:35
I (2766887) wifi: pm start, type: 1
I (2767867) event: sta ip: 192.168.1.135, mask: 255.255.255.0, gw: 192.168.1.1
E (2862327) aws_iot: failed! mbedtls_ssl_handshake returned -0x6800
E (2952507) aws_iot: failed! mbedtls_ssl_setup returned -0x7f00
E (3048037) aws_iot: failed! mbedtls_ssl_handshake returned -0x6800
E (3143577) aws_iot: failed! mbedtls_ssl_handshake returned -0x6800
E (3238777) aws_iot: failed! mbedtls_ssl_handshake returned -0x6800