Skip to content

Can't get HTTP information #566

Discussion options

You must be logged in to vote

Error code: -5
I have an "Error code -5". What does this mean?

It is obvious that there is an error in http.GET(), which I think you are seeing as well. Since it is your code.
So your question about the meaning of the Error code, you can find it in the source code of the HTTPClient library.
https://github.com/espressif/arduino-esp32/blob/23d715af1b185fac21558c907af4ff5b86526aa4/libraries/HTTPClient/src/HTTPClient.h#L49

If you need more detailed information, specify a verbose Core Debug Level in the Tools menu of the Arduino IDE.

This error is not related to AutoConnect. You are issuing a request with HTTPS, but the code does not contain a certificate. BasicHttpsClinent.ino of ESP32 Ardu…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Tipmanfrank
Comment options

Answer selected by Hieromon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #565 on January 23, 2023 02:55.