ayushsharma82 / EasyDDNS

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

ipv4.whatismyipaddress fails #30

Closed heyitsyang closed 2 years ago

heyitsyang commented 2 years ago

According to the whatismyipaddress.com website, they are no longer supporting the API for ipv4bot.whatismyipaddress.com

kkeonline commented 2 years ago

I have work around by create an ip lookup url on my private server to provide ip address instread of whatismyipaddress.com

heyitsyang commented 2 years ago

Thanks for the note. How does your private server figure out the public IP address?

Meanwhile, I've found that http://ifconfig.me/ip can be substituted directly.

I also found others services that are supposed to just return an ip address, but they return error codes in response to the http.GET(). I don't know enough about the interaction to make then usable.

khoih-prog commented 2 years ago

This will be fixed by PR Replace deprecated whatismyipaddress.com #31.

In the mean time, you can try to use the modified DDNS_Generic, which can support many more boards / shields.

ayushsharma82 commented 2 years ago

Merged PR #31. Thanks @khoih-prog

This should be fixed with the v1.8.0 release. If you use a library manager then please wait for at least 12 hours for the ArduinoIDE and PlatformIO library manager to update their index.

kkeonline commented 2 years ago

List of some public IP lookup website in plain text http(s)://ifconfig.me/ip http(s)://api.ipify.org/ http(s)://ident.me/ https://api.my-ip.io/ip https://ip.seeip.org/