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

电脑处于无ipv6环境下时Windows的任务计划程序会显示运行结果不成功 #2

Open
weycen opened this issue Nov 29, 2021 · 2 comments

Comments

@weycen
Copy link

weycen commented Nov 29, 2021

你好!

很感谢你的DDNS小程序,使用起来很好,但是遇到了有一点小疑惑。

我aliddns.py中只开启了ipv6的开关,电脑处于无ipv6环境下时,Windows 10的任务计划程序显示的运行结果为0x1,电脑处于有ipv6环境下时正常。如下图:

image

这个是因为aliddns.py中调用了阻塞的ipv6相关的API函数导致的吗?一开始被困扰了很久,一直以为是Windows的定时任务没配置好,后来才发现是aliddns.py的问题。

@zeruns
Copy link
Owner

zeruns commented Oct 23, 2022

这个脚本不检测是否有ipv6,你开启了就默认你有,没有ipv6会出错

@zeruns
Copy link
Owner

zeruns commented Oct 23, 2022

这个脚本不检测是否有ipv6,你开启了就默认你有,没有ipv6会出错

有空再修改一下,如果你会你也可以修改一下提交上来,我验证后合并

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

2 participants