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

[debug]myip4.ipip.net获取ip方式已失效 #421

Open
Stewie055 opened this issue Feb 6, 2024 · 7 comments
Open

[debug]myip4.ipip.net获取ip方式已失效 #421

Stewie055 opened this issue Feb 6, 2024 · 7 comments
Labels

Comments

@Stewie055
Copy link

描述问题 (Describe the bug)

myip4.ipip.net获取ip方式已失效,myip4.ipip.net域名已无法访问,

util/ip.py文件的默认获取方式需要修改为myip.ipip.net。

def public_v4(url="https://myip4.ipip.net", reg=IPV4_REG):  # 公网IPV4地址
    return _open(url, reg)

版本信息 (version info)

  • DDNS Version:
  • OS Version:
  • Type(运行方式): Binary/Python2/Python3
  • related issues (相关问题):
@Stewie055 Stewie055 added the bug label Feb 6, 2024
@lkf2432
Copy link

lkf2432 commented Feb 6, 2024

感谢,重新打包了个镜像运行好使了。

@Initial-heart-1
Copy link

相同问题 验证方案有效。

2.13.3:

ERROR:root:<urlopen error [Errno 11001] getaddrinfo failed>
ERROR:root:Fail to get ipv4 address!

依照该 issue 尝试修复后:

Wed Feb  7 21:33:09 2024 **.**.**(A) ==> **.**.**.** [via DIRECT]

仅 IPv4,IPv6 未验证。

@StarrickLiu
Copy link

相同问题,实测有效

@ShiboJiang
Copy link

相同问题 ,实测有效,发现master 主分支已经修改,大家可以 clone 源码运行。

问题报错如下:

image

@char-46
Copy link
Contributor

char-46 commented Feb 17, 2024

ipip.net 提供的接口目前存在问题,根据该项目目前的代码,如果使用 ipv4 优先的设备访问 myip6.ipip.net 依然会得到 ipv4 地址。

#425

@lirener
Copy link

lirener commented Feb 19, 2024

  "index4": "url:https://4.ipw.cn",
  "index6": "url:https://6.ipw.cn",

(如果你遇到了证书错误)谷歌游览器访问抓一下证书导出到桌面 右击安装
(管理证书)运行:certmgr.msc
QQ截图20240220054757

@NewFuture
Copy link
Owner

可能需要一个更可靠的API,而且协议只支持单栈

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

No branches or pull requests

8 participants