JAndrassy / WiFiEspAT

Arduino networking library. Standard Arduino WiFi networking API over ESP8266 or ESP32 AT commands.
GNU Lesser General Public License v2.1
288 stars 44 forks source link

HTTP 400 Bad Request when using HTTPS #26

Closed iactiva closed 3 years ago

iactiva commented 3 years ago

Hello, I'm using this library for posting some data to a url however I'm getting HTTP400 when using ssl port 443 but it is working correctly if using non-secure port 80. Web server is nginx using Let's Encrypt SSL certificate. My module is a ESP01 just updated to JB AT 1.7 firmware

I've tried both WiFiSSLClient client > client.connect(hostname, 443) and WiFiClient client > client.connectSSL(hostname, 443)

I'm currently posting data to the same server using WiFiNINA library in some other modules w/o issues. Any suggestion on how to find out a solution? Thank you!

iactiva commented 3 years ago

Duplicated. Sorry