The new version 1.0.16 of ESP 32 compiler takes TLS by default!
This may break e.g. communication with MQTT brokers that do not handle TLS.
If you enable full debugging messages you get
[V][ssl_client.cpp:265] stop_ssl_socket(): Cleaning SSL connection.
[V][ssl_client.cpp:59] start_ssl_client(): Free internal heap before TLS 262800
[E][WiFiClientSecure.cpp:127] connect(): start_ssl_client: -1
[V][ssl_client.cpp:265] stop_ssl_socket(): Cleaning SSL connection.
[V][ssl_client.cpp:265] stop_ssl_socket(): Cleaning SSL connection.
[V][ssl_client.cpp:59] start_ssl_client(): Free internal heap before TLS 262800
[E][WiFiClientSecure.cpp:127] connect(): start_ssl_client: -1
[V][ssl_client.cpp:265] stop_ssl_socket(): Cleaning SSL connection.
looping continuously!
You have 2 methods to avoid that problem
1) enter #define _DISABLE_TLS_ before calling any library in your sketch.
or
2) in the board manager, revert to version 1.0.4.
Warning: new version 1.0.6 of ESP 32 compiler takes TLS by default!
Who is online
Users browsing this forum: No registered users and 57 guests