Arduino Library 2.21.0

Hi @alvarolb

I’m still having TLS/SSL problem when using Arduino Library Thinger version 2.21.1 (As reported in this post). I tested it with “iot.thinger.io” and on my private Thinger Cloud instance. If #define _DISABLE_TLS_ , the device connects successfully.
ClientListener + ThingerWebConfig + framework-arduinoespressif8266 3.30002.0 (3.0.2 ) + <thinger.io> 2.21.1 + WifiManager 2.0.3-alpha+sha.9af7253 :

Ping Public Thinger:

Ping Private Thinger (Location: Virginia, USA):

Everything works fine with Arduino Library Thinger 2.16.0:
The error does not occur if you use ClientListener + ThingerWebConfig + espressif8266@2.6.2(Arduino-Framework 2.7.4 ) + thinge
r.io
@2.16.0 + WifiManager 2.0.3-alpha+sha.9af7253

Test code:

#define _DEBUG_
#define THINGER_SERVER "iot.thinger.io"

#define USERNAME "xxxxxxxxxx"
#define DEVICE_ID "yyyyyyyyyy"
#define DEVICE_CREDENTIAL "wwwwwwwww"


#include <Arduino.h>

#include <WiFiManager.h>

#include <ThingerWebConfig.h>
#include <ThingerESP8266.h>
#include <ThingerESP8266OTA.h> //Only in version 2.21.1
#include <ESP8266HTTPClient.h>
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <DNSServer.h>
#include "FS.h"


class ClientListener : public ThingerWebConfig{

public:

    ClientListener(const char* user, const char* device, const char* device_credential) : 

      ThingerWebConfig(user, device, device_credential){}

protected:

  virtual void thinger_state_listener(THINGER_STATE state){
    ThingerWebConfig::thinger_state_listener(state);
    switch(state){
         case NETWORK_CONNECTING:
                break;

         case THINGER_AUTHENTICATED:  
                break;

         default:                     

                 break;         

    }
  }
};

ClientListener thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);
ThingerESP8266OTA ota(thing); //Only in version 2.21.1

void setup() {

  Serial.begin(115200);

  pinMode(LED_BUILTIN, OUTPUT);

  thing["led"] << digitalPin(LED_BUILTIN);

  thing["millis"] >> outputValue(millis());

}

void loop() {

  thing.handle();

}