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
12k stars 1.38k forks source link

阿里云请求失败,返回状态码:400 #207

Closed mouren-zhang closed 2 years ago

mouren-zhang commented 2 years ago

新建AccessKey 好几次了 确定不是AccessKey 的问题

jeessy2 commented 2 years ago

传一下报错的日志,才好分析

jerry91222 commented 2 years ago

2022/03/17 23:15:30 配置文件已保存在: /root/.ddns_go_config.yaml 2022/03/17 23:15:31 请求接口 https://alidns.aliyuncs.com/ 失败! 返回内容: {"RequestId":"A54D0EF9-75BA-57AD-9A44-00E0C15C9F44","HostId":"alidns.aliyuncs.com","Code":"QuotaExceeded.TTL","Message":"The specified TTL is invalid. A valid TTL must be in the range of 600 to 86400.","Recommend":"https://error-center.aliyun.com/status/search?Keyword=QuotaExceeded.TTL&source=PopGw"} ,返回状态码: 400 2022/03/17 23:15:31 更新域名解析 www.XXX.XXX 失败!

貌似是TTL时间问题 阿里云那边需要600-86400秒

mouren-zhang commented 2 years ago

额 好像是我这边的问题 我也不清楚 以前的AccessKey就是不行 我把以前的删了 用新建的就没问题了 尝试复现 但是复现不了害~~

mouren-zhang commented 2 years ago

感谢老哥的回复

panhuide commented 11 months ago

2023/12/10 22:22:54 配置文件已保存在: /root/.ddns_go_config.yaml 2023/12/10 22:22:55 请求接口 https://alidns.aliyuncs.com/ 失败! 返回内容: {"RequestId":"093026A0-7B93-5C4F-893A-BA3A6D24E958","HostId":"alidns.aliyuncs.com","Code":"InvalidDomainName.NoExist","Message":"The specified domain name does not exist. Refresh the page and try again.","Recommend":"https://api.aliyun.com/troubleshoot?q=InvalidDomainName.NoExist&product=Alidns&requestId=093026A0-7B93-5C4F-893A-BA3A6D24E958"} ,返回状态码: 400 大佬,想问下这是什么情况