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] Failed to get ipv6 address #378

Open
LFMJUN opened this issue Dec 14, 2022 · 1 comment
Open

[debug] Failed to get ipv6 address #378

LFMJUN opened this issue Dec 14, 2022 · 1 comment
Labels

Comments

@LFMJUN
Copy link

LFMJUN commented Dec 14, 2022

描述问题 (Describe the bug)

版本信息 (version info)

  • DDNS Version: v2.12.0
  • OS Version: Debian 10
  • Type(运行方式): Python3
  • related issues (相关问题):

复现步骤 (To Reproduce)

重启设备会出现

配置文件 (config file)

{
 "$schema": "https://ddns.newfuture.cc/schema/v2.8.json",
 "id": "myemail",
 "token": "mytoken",
 "dns": "cloudflare",
 "ipv6": ["s1.mydomain"],
 "index6": "public",
 "ttl": 60,
 "proxy": null,
 "debug": true
}

调试输出 (debug output)

ddns .service - NewFuture ddnsLoaded: loaded (/lib/systemd/system/ddns.service; enabled; vendor preset: enabled)inactive (dead) since Wed 2022-12-14 09:37:38 CST; lmin ls agoActive:Process: 503 ExecStart=/usr/bin/env python /usr/share/DDS/run.py -c /etc/DDNS/config.json (code=exited, status=0/SUCCESS)Main PID: 503 (code=exited,status=0/SUCCESS)
12月 14 09:37:38 debian-CTFenv[503]: 2022-12-14 09:37:38,807 <ip._open> 58@/usr/share/DDNS/util/ip.py12月 14 09:37:38 debian-CTFenv[503]:[ERROR] <urlopen error [Errno -2] Name or service not known>
12月 14 09:37:38 debian-CTFenv[503]:2022-12-14 09:37:38,808 <run.update_ip> 99@/usr/share/DDNS/run.py
12月 14 09:37:38 debian-CTFenv[503][ERROR] Fail to get ipv6 address!
12月 14 09:37:38 debian-CTFenv[503]:2022-12-14 09:37:38,808 <cache.sync> 85@/usr/share/DDNS/util/cache.py
env[5037:12月 14 09:37:38 debian-CTF[DEBUG] save cache data to /tmp/ddns .cache
12月 14 09:37:38 debian-CTFenv[503]:DDNS[ S(BUILD_VERSIONHSBUILD_DATE》  run: posix linux212月 14 09:37:38 debian-CTFenv[503]:Configuration was loaded from <= /etc/DDNS/config.json
12月 14 09:37:38 debian-CTFenv[5037
Wed Dec 14 09:37:38 2022
12月 14 09:37:38 debian-CTF systemd[1]:ddns .service: Succeeded .

补充说明 (Additional context)

@LFMJUN LFMJUN added the bug label Dec 14, 2022
@LFMJUN
Copy link
Author

LFMJUN commented Dec 14, 2022

重启第一次执行会出现此问题,5min后自动执行可以正常获取ipv6

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

1 participant