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
GNU General Public License v3.0
46 stars 10 forks source link

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

Closed simogaspa84 closed 1 year ago

simogaspa84 commented 1 year ago

Hi @khoih-prog ...

I am getting this issue...

Do you have an idea of the meaning and a possible way to fix it?

What should I check?

Thanks a lot

khoih-prog commented 1 year ago

HI @simogaspa84

Please follow the guideline when posting any issue, such as MRE, etc. so that anybody can duplicate it. OTW, your post will be ignored and deleted.

First do some basic research, and you'll know what it means. Be independent first then you can learn a lot from the experience. Always start from the known working examples or previous codes.

https://github.com/khoih-prog/EthernetWebServer_SSL/blob/fc79ef0399f898ac6fa0f3897305d52cd6f85db0/src/SSLClient/SSLClient_Impl.h#L423-L433

Also ask the general questions on general Forums or OPEnSLab-OSU if SSL- related, unless you're sure that it's a bug of this library.

Keep doing this way will get you blocked from accessing the library repo.

I'm sorry I don't have time in continuing to deal with the basic issue, and have to close it now to work on something else.