PlatformIO Community

Cannot operate on a closed SSL connection

Hi community…

I am working with esp32 , platformio and this lib

GitHub - khoih-prog/EthernetWebServer_SSL: Simple TLS/SSL Ethernet WebServer, HTTP Client and WebSocket Client library for for AVR, Portenta_H7, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52 and RASPBERRY_PI_PICO boards using Ethernet shields W5100, W5200, W5500, ENC28J60 or Teensy 4.1 NativeEthernet/QNEthernet. It now supports Ethernet TLS/SSL Client. The library supports HTTP/HTTPS GET and POST requests, provides argument parsing, handles one client at a time. It supports Arduino boards (SAM DUE, Atmel SAM3X8E ARM Cortex-M3, SAMD21, SAMD51, ESP8266, ESP32, Adafruit nRF52, Teensy boards) using Wiznet W5x00 or ENC28J60 network shields. Ethernet_Generic library is used as default for W5x00 with custom SPI

I have tested successfully the lib to connect my esp32 to aws iot core by using the ethernet cable…

Now i have created another device on aws using a different endpoint and thingname…
(also device certificate and keys are different) but I am getting this issue

# (EthernetSSLClient)(SSL_ERROR)(available): Cannot operate on a closed SSL connection

Any idea @maxgerhardt

Thanks a lot