ayushsharma82 / EasyDDNS

Easy to Use ESP8266 & ESP32 DDNS Update Client Library.
MIT License
195 stars 59 forks source link

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

Open bosoft-ESP opened 11 months ago

bosoft-ESP commented 11 months ago

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