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] 更新DNS出错,提示:[Errno 61] Connection refused #406

Open
ipcjs opened this issue Aug 8, 2023 · 0 comments
Open

[debug] 更新DNS出错,提示:[Errno 61] Connection refused #406

ipcjs opened this issue Aug 8, 2023 · 0 comments
Labels

Comments

@ipcjs
Copy link

ipcjs commented Aug 8, 2023

描述问题 (Describe the bug)

更新DNS出错,提示:[Errno 61] Connection refused

版本信息 (version info)

  • DDNS Version: ddns[v2.13.3@2023-04-19T11:45:22+00:00]
  • OS Version: macOS Ventura 13.4.1
  • Type(运行方式): Python3
  • related issues (相关问题):

复现步骤 (To Reproduce)

执行ddns -c config.json,更新失败,报错

配置文件 (config file)

{
    "$schema": "https://ddns.newfuture.cc/schema/v2.8.json",
    "id": "",
    "token": "<my-token>",
    "dns": "cloudflare",
    "ipv4": ["<my-domain>"],
    "index4": "url:https://myip4.ipip.net",
    "ttl": 600,
    "proxy": "127.0.0.1:1080;DIRECT",
    "debug": true
  }

调试输出 (debug output)

DDNS[ v2.13.3@2023-04-19T11:45:22+00:00 ] run: posix darwin
Configuration was loaded from <== <my-path>/config.json
========================= Tue Aug  8 18:43:32 2023 =========================
2023-08-08 18:43:32,276 <cache.load> 48@/opt/homebrew/lib/python3.11/site-packages/util/cache.py 
[DEBUG] load cache data from /var/folders/cr/_0b_4srn5k79yx0znsxvvy6h0000gn/T/ddns.cache
2023-08-08 18:43:32,276 <run.main> 151@/opt/homebrew/lib/python3.11/site-packages/run.py 
[WARNING] Cache file is out of dated.
2023-08-08 18:43:32,276 <ip._open> 51@/opt/homebrew/lib/python3.11/site-packages/util/ip.py 
[DEBUG] open: https://myip4.ipip.net
2023-08-08 18:43:32,453 <ip._open> 55@/opt/homebrew/lib/python3.11/site-packages/util/ip.py 
[DEBUG] response: 当前 IP:<my-ip>  来自于:<my-address>


Tue Aug  8 18:43:32 2023 <my-domain>(A) ==> <my-ip> [via 127.0.0.1:1080]
2023-08-08 18:43:32,454 <cloudflare.update_record> 135@/opt/homebrew/lib/python3.11/site-packages/dns/cloudflare.py 
[INFO] >>>>><my-domain>(A)
2023-08-08 18:43:32,454 <cloudflare.request> 44@/opt/homebrew/lib/python3.11/site-packages/dns/cloudflare.py 
[INFO] api.cloudflare.com/ : {'name': '<my-main-domain>'}
2023-08-08 18:43:32,468 <run.change_dns_record> 81@/opt/homebrew/lib/python3.11/site-packages/run.py 
[ERROR] [Errno 61] Connection refused

Tue Aug  8 18:43:32 2023 <my-domain>(A) ==> <my-ip> [via DIRECT]
2023-08-08 18:43:32,470 <cloudflare.update_record> 135@/opt/homebrew/lib/python3.11/site-packages/dns/cloudflare.py 
[INFO] >>>>><my-domain>(A)
2023-08-08 18:43:32,470 <cloudflare.request> 44@/opt/homebrew/lib/python3.11/site-packages/dns/cloudflare.py 
[INFO] api.cloudflare.com/ : {'name': '<my-main-domain>'}
2023-08-08 18:43:32,479 <run.change_dns_record> 81@/opt/homebrew/lib/python3.11/site-packages/run.py 
[ERROR] [Errno 61] Connection refused
2023-08-08 18:43:32,480 <cache.sync> 85@/opt/homebrew/lib/python3.11/site-packages/util/cache.py 
[DEBUG] save cache data to /var/folders/cr/_0b_4srn5k79yx0znsxvvy6h0000gn/T/ddns.cache

补充说明 (Additional context)

@ipcjs ipcjs added the bug label Aug 8, 2023
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