Replies: 1 comment
-
This may be because of the large certificate list which that server sends back as part of the TLS handshake. I remember reading somewhere that the ESP8266 only has a small TCP buffer of 2000 bytes, but the server you're connecting to sends back a 2917-byte TLS chunk. The 8266 probably can't decode the handshake to make a succesful connection. You may have to use a device with a bit more memory to cope with TLS. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have this code that I tested on Wokwi, an online IoT and embedded systems emulator. This code works fine on Wokwi in an ESP32, however when I tried to load this code to an actual ESP8266 it doesn't work.
This is my code:
This is the error:
Connected to WiFi
Error on HTTP request: -40
Many thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions