Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Error -1 when calling dynupdate.no-ip.com #43

Open
bosoft-ESP opened this issue Oct 4, 2023 · 0 comments
Open

Error -1 when calling dynupdate.no-ip.com #43

bosoft-ESP opened this issue Oct 4, 2023 · 0 comments

Comments

@bosoft-ESP
Copy link

Hello
I have been trying for many days to get http to not respond -1 using the DDNS_client.ino example.
I have modified the source (EasyDDNS.cpp) to know if the call to http.begin was correct.
`int httpCode = http.GET();

Serial.println(String(httpCode)+" desde ddns.cpp: "+update_url);

if (httpCode == 200) {
`
If I do a copy/paste from monitor in firefox it correctly updates the ip in no_ip.com.
The call to "ifconfig.me/ip" resolves it perfectly and returns the real ip.
I am using an ESP01S (8266) with all the updated libraries.
IDE v. 1.8.19
ESP8266 v. 3.1.2

Greetings

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant