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

Specified time stamp or date value is expired. #1291

Open
xinhaojie opened this issue Oct 25, 2024 · 4 comments
Open

Specified time stamp or date value is expired. #1291

xinhaojie opened this issue Oct 25, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@xinhaojie
Copy link

Description

2025/10/25 22:23:45 You can use 'sudo ./ddns-go -s install' to install service
2025/10/25 22:23:45 Listen on 0.0.0.0:9876
Please open a browser and visit http://127.0.0.1:9876 to finish the configuration
2025/10/25 22:23:59 配置文件已保存在: /opt/ddns/.ddns_go_config.yml
2025/10/25 22:23:59 "Remote: 192.168.3.28:7809" 登录成功

2025/10/25 22:24:12 第 1 个配置未填写域名
2025/10/25 22:24:12 配置文件已保存在: /opt/ddns/.ddns_go_config.yml
2025/10/25 22:24:50 配置文件已保存在: /opt/ddns/.ddns_go_config.yml
2025/10/25 22:24:50 查询域名信息发生异常! 返回内容: {"RequestId":"3C85E634-24F4-5242-89B9-4E9453FC6D2B","Message":"Specified time stamp or date value is expired.","Recommend":"https://api.aliyun.com/troubleshoot?q=InvalidTimeStamp.Expired&product=Alidns&requestId=3C85E634-24F4-5242-89B9-4E9453FC6D2B","HostId":"alidns.aliyuncs.com","Code":"InvalidTimeStamp.Expired"} ,返回状态码: 400
^C

date

Sat Oct 25 22:25:47 UTC 2025
已经修改了系统时间,一直报这个错误

以下是运行的命令
/opt/ddns/ddns-go -l 0.0.0.0:9876 -f 600 -cacheTimes 5 -skipVerify -c /opt/ddns/.ddns_go_config.yml

DNS Provider

阿里云

Did you search for similar issues before submitting this one?

Yes, I did, but I didn't find anything useful

Operating System

Linux

Architecture

armv7

Version

最新

How are you running ddns-go?

Service

Any other information

No response

@xinhaojie xinhaojie added the bug Something isn't working label Oct 25, 2024
@jeessy2
Copy link
Owner

jeessy2 commented Oct 25, 2024

时间不对,UTC不是这个时间

@xinhaojie
Copy link
Author

@jeessy2 我用的是Linux 的开发版,板子是busybox的文件系统,这个文件系统没有UTC时间,实际的时间获取到的就是UTC时间。这个地方可以考虑增加个转换配置。

@xinhaojie xinhaojie reopened this Oct 26, 2024
@jeessy2
Copy link
Owner

jeessy2 commented Oct 26, 2024

读取的系统时间,怎么转换?
UTC时间比北京时间少8小时,把系统时间调整为UTC时间就可以了

https://time.is/zh/UTC

@xinhaojie
Copy link
Author

是的,我把系统时间改成UTC就好了,但是现在系统所有的程序获取到的本地时间也是UTC这个少8小时的时间了。因为busybox没有时区的概念。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants