Links2004 / arduinoWebSockets

arduinoWebSockets
GNU Lesser General Public License v2.1
1.89k stars 555 forks source link

webSocket.beginSSL not works on ESP32 but it works on ESP8266 #654

Closed anand-010 closed 3 years ago

anand-010 commented 3 years ago

I am trying to migrate my project from ESP8266 to ESP32. esp32 disconnects every time when using webSocket.beginSSL("echo.websocket.org", 443, "/"); ** This is not the link i am tested and i am tested this one too. but it works perfectly on esp8266.

anand-010 commented 3 years ago

I am using Arduino 15 IDE, node mcu 32s and arduinoWebSockets 2.3.5.

anand-010 commented 3 years ago

This library works without a CA certificate on ESP8266. I have a AWS Api gateway WebSocket Wss link. I don't have a CA cert and I can't make it non secure ws.