Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

经常获取到IP地址127.0.0.1 #79

Open
sunknight opened this issue Jun 26, 2023 · 8 comments
Open

经常获取到IP地址127.0.0.1 #79

sunknight opened this issue Jun 26, 2023 · 8 comments

Comments

@sunknight
Copy link

sunknight commented Jun 26, 2023

最近经常获取到127.0.0.1,导致无法使用,在docker里执行getip也是这个内部IP
aliyun-ddns-cli getip
127.0.0.1 [本机地址 本机地址]
用curl获取ip是正常的
请帮忙看一下如何解决,谢谢

/ # curl http://myip.ipip.net
当前 IP:221.219.. 来自于:中国 北京 北京 联通
/ # aliyun-ddns-cli getip
127.0.0.1 [本机地址 本机地址]

image
@lnc1995
Copy link

lnc1995 commented Oct 9, 2023

同样的问题,可能就那一次获取到127地址,后面就正常了。这个可以在代码里加个判断,这种内网地址就不要往阿里云更新了

@HengCC
Copy link

HengCC commented Apr 14, 2024

有打算解决吗? 我也是这样

@xieshunbin1233
Copy link

我最近也出现这个问题了

@honwen
Copy link
Owner

honwen commented Jun 21, 2024

@xieshunbin1233
Copy link

try: https://github.com/honwen/aliyun-ddns-cli/releases/tag/v2024-06-20

改善了些,频次降低了很多,但是还是存在这个问题。

@honwen
Copy link
Owner

honwen commented Jun 25, 2024

@HengCC
Copy link

HengCC commented Jun 27, 2024

我目前用的620的版本. 观察了4天. 5min刷新一次. 目前暂时没遇到127.0.0.1的问题. 遇到我在升级6/24试试...

@lnc1995
Copy link

lnc1995 commented Jun 29, 2024

我的解决办法是监测日志,出现特定关键字就重启容器,倒也无所谓了

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

No branches or pull requests

5 participants