gpt4 book ai didi

php - 如何修复 : The difference between the request time and the current time is too large

转载 作者:行者123 更新时间:2023-12-05 08:23:08 29 4
gpt4 key购买 nike

我从 AWS 收到此错误:

App\Services\Exceptions\Exception thrown with message "Error in updated facebook event in the systemError executing "PutObject" on "n.jpg"; AWS HTTP error: Client error: PUT n.jpg resulted in a 403 Forbidden response: RequestTimeTooSkewedThe difference between the reque (truncated...) RequestTimeTooSkewed (client): The difference between the request time and the current time is too large. - RequestTimeTooSkewedThe difference between the request time and the current time is too large.20180403T075710Z2018-04-03T06:57:48Z900000"

它表示请求时间是:7:57 am,服务器时间是:6:57 am

但是我的本地机器时间是:9:57 am(不使用 vagrant 或任何服务器)。

我的 AWS 在俄亥俄州,时间是:2:57 am

我要更改什么来修复此错误?

我正在构建一个 php/Laravel 5.5 项目。

最佳答案

您需要更新 AWS 服务器和本地计算机上的时间。最好的方法是运行 ntpdate 命令来同步时间。

命令:

sudo ntpdate -u in.pool.ntp.org

关于php - 如何修复 : The difference between the request time and the current time is too large,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49624148/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com