All Products
Search
Document Center

Object Storage Service:Resolve the RequestTimeTooSkewed error

Last Updated:Jun 21, 2026

Symptom

When you request a resource from OSS, you receive the following error:

[ResponseError]: RequestTimeTooSkewed The difference between the request time and the current time is too large.

Cause

This error occurs when the timestamp in your request is more than 15 minutes different from the current time on the OSS server. This time difference, known as clock skew, causes OSS to consider the request invalid and return an error.

Solution

To resolve this issue, check and adjust the system time on the client device to the correct local time.

  • OSS uses GMT as its standard time. Your device's clock must be set to the correct time for its configured time zone. GMT is the time in the zero time zone and is often used interchangeably with Coordinated Universal Time (UTC), the modern standard.

    • On Windows, check the time zone by navigating to Control Panel > Clock and Region > Set the time and date. For example, an offset of +08:00 indicates that your system time zone is UTC+8.

    • On Linux or Unix systems, run the date -R command to check the time and time zone.

      Note

      In the command output, +0800 indicates that the system time zone is UTC+8.

      $date -R
      Wed, 16 Mar 2016 14:36:42 +0800
  • Important

    Important: Changing the time zone on a server can affect running services and applications. Perform this operation with caution in a production environment. After changing the system time zone, restart the computer or relevant services to apply the new settings.

Windows

  1. Open the Control Panel and go to either Date and Time or Clock and Region.

  2. Click Change date and time, and then click Change time zone.

  3. From the drop-down list, select (UTC) Coordinated Universal Time or a time zone listed as GMT, such as (UTC+00:00) Monrovia, Reykjavik.

  4. Confirm the change, and then close Control Panel.

In newer versions of Windows, you can also change the time zone in the Settings app. To do this, click the time on the taskbar and select "Date and time settings".

Linux

The steps to change the time zone on Linux vary by distribution. The following example uses common commands:

  1. Open a terminal.

  2. Run the following command to find a suitable GMT time zone.

timedatectl list-timezones | grep GMT

Set the system time zone to a suitable GMT option. For example:

   sudo timedatectl set-timezone GMT
root@iZbp112zfunv2ztk9srvdcZ:/# sudo timedatectl set-timezone GMT
root@iZbp112zfunv2ztk9srvdcZ:/# date -R
Thu, 04 Jul 2024 02:04:09 +0000

Applies to

  • OSS