ayushsharma82 / EasyDDNS

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

EasyDDNS.cpp httpCode -1 #11

Open comertial opened 5 years ago

comertial commented 5 years ago

after some time that the library was working i realized that when the library tries to get the public ip i get an httpCode equal to -1!! i am trying to find what causes this problem but i am not able to find anything... i even tried to get my ip from ipify but i seem to get back the same error code! (i tried apify because they state in their site that you can do as many requests as you like instead of the whats my ip.. my thought was that i was blocked but as it seems thats not the case)

any help would be appreciated!

ggonmar commented 3 years ago

Are you using static IP? Try triggering the process of EasyDDNS after establishing connection and before setting up the static IP on your device.