jeessy2 / ddns-go

Simple and easy to use DDNS. Support Aliyun, Tencent Cloud, Dnspod, Cloudflare, Callback, Huawei Cloud, Baidu Cloud, Porkbun, GoDaddy, Namecheap, NameSilo...
MIT License
12.27k stars 1.41k forks source link

ipv4无法通过接口获取 #1292

Open MCWXT opened 1 month ago

MCWXT commented 1 month ago

Description

日志如下

2024/10/27 08:57:13 通过接口获取IPv4失败! 接口地址: https://ip.3322.net 2024/10/27 08:57:13 异常信息: Get "https://ip.3322.net": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:57:13 未能获取IPv4地址, 将不会更新

不知道这是什么原因

DNS Provider

Cloudflare

Did you search for similar issues before submitting this one?

No, I didn't

Operating System

Linux

Architecture

x86_64

Version

v6.7.2

How are you running ddns-go?

Docker

Any other information

以下是大部分日志信息

2024/10/27 08:54:23 异常信息: Get "https://myip.ipip.net": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:54:25 通过接口获取IPv4失败! 接口地址: https://myip.ipip.net 2024/10/27 08:54:25 异常信息: Get "https://myip.ipip.net": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:54:53 通过接口获取IPv4失败! 接口地址: https://ddns.oray.com/checkip 2024/10/27 08:54:53 异常信息: Get "https://ddns.oray.com/checkip": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:54:55 通过接口获取IPv4失败! 接口地址: https://ddns.oray.com/checkip 2024/10/27 08:54:55 异常信息: Get "https://ddns.oray.com/checkip": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:55:13 配置文件已保存在: /root/.ddns_go_config.yaml 2024/10/27 08:55:23 通过接口获取IPv4失败! 接口地址: https://ip.3322.net 2024/10/27 08:55:23 异常信息: Get "https://ip.3322.net": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:55:25 通过接口获取IPv4失败! 接口地址: https://ip.3322.net 2024/10/27 08:55:25 异常信息: Get "https://ip.3322.net": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:55:43 通过接口获取IPv4失败! 接口地址: https://4.ipw.cn 2024/10/27 08:55:43 异常信息: Get "https://4.ipw.cn": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:55:53 通过接口获取IPv4失败! 接口地址: https://4.ipw.cn 2024/10/27 08:55:53 异常信息: Get "https://4.ipw.cn": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:55:53 未能获取IPv4地址, 将不会更新 2024/10/27 08:55:54 你的IP 240e:359:2e0a:f900:2e0:4cff:fe6e:2403 没有变化, 域名 i.mcwxt.top 2024/10/27 08:55:55 通过接口获取IPv4失败! 接口地址: https://4.ipw.cn 2024/10/27 08:55:55 异常信息: Get "https://4.ipw.cn": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:55:55 未能获取IPv4地址, 将不会更新 2024/10/27 08:55:56 你的IP 240e:359:2e0a:f900:2e0:4cff:fe6e:2403 没有变化, 域名 i.mcwxt.top 2024/10/27 08:56:03 通过接口获取IPv4失败! 接口地址: https://4.ipw.cn 2024/10/27 08:56:03 异常信息: Get "https://4.ipw.cn": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:56:13 通过接口获取IPv4失败! 接口地址: https://myip.ipip.net 2024/10/27 08:56:13 异常信息: Get "https://myip.ipip.net": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:56:33 通过接口获取IPv4失败! 接口地址: https://myip.ipip.net 2024/10/27 08:56:33 异常信息: Get "https://myip.ipip.net": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:56:43 通过接口获取IPv4失败! 接口地址: https://ddns.oray.com/checkip 2024/10/27 08:56:43 异常信息: Get "https://ddns.oray.com/checkip": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:57:03 通过接口获取IPv4失败! 接口地址: https://ddns.oray.com/checkip 2024/10/27 08:57:03 异常信息: Get "https://ddns.oray.com/checkip": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:57:13 通过接口获取IPv4失败! 接口地址: https://ip.3322.net 2024/10/27 08:57:13 异常信息: Get "https://ip.3322.net": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:57:13 未能获取IPv4地址, 将不会更新 2024/10/27 08:57:14 你的IP 240e:359:2e0a:f900:2e0:4cff:fe6e:2403 没有变化, 域名 i.mcwxt.top 2024/10/27 08:57:33 通过接口获取IPv4失败! 接口地址: https://ip.3322.net 2024/10/27 08:57:33 异常信息: Get "https://ip.3322.net": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 08:57:33 未能获取IPv4地址, 将不会更新 2024/10/27 08:57:34 你的IP 240e:359:2e0a:f900:2e0:4cff:fe6e:2403 没有变化, 域名 i.mcwxt.top 2024/10/27 09:03:04 通过接口获取IPv4失败! 接口地址: https://4.ipw.cn 2024/10/27 09:03:04 异常信息: Get "https://4.ipw.cn": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 09:03:34 通过接口获取IPv4失败! 接口地址: https://myip.ipip.net 2024/10/27 09:03:34 异常信息: Get "https://myip.ipip.net": dial tcp4 220.185.184.4:443: i/o timeout (Client.Timeout exceeded while awaiting headers) 2024/10/27 09:04:04 通过接口获取IPv4失败! 接口地址: https://ddns.oray.com/checkip 2024/10/27 09:04:04 异常信息: Get "https://ddns.oray.com/checkip": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 09:04:34 通过接口获取IPv4失败! 接口地址: https://ip.3322.net 2024/10/27 09:04:34 异常信息: Get "https://ip.3322.net": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2024/10/27 09:04:34 未能获取IPv4地址, 将不会更新 2024/10/27 09:04:34 IPv6未改变, 将等待 5 次后与DNS服务商进行比对

jeessy2 commented 1 month ago

你网络问题

SummrWhit commented 1 month ago

貌似不是网络问题吧……好像是获取IPV4的接口被墙了