Fixing RequestTimeTooSkewed in Document Engine
PSPDFKit Server has been deprecated and replaced by Document Engine. To start using Document Engine, refer to the migration guide. With Document Engine, you’ll have access to robust new capabilities (read the blog for more information).
If you use an S3 asset storage backend and see the following error message in the server logs, it means there’s an issue with the system clock being skewed:
<Error><Code>RequestTimeTooSkewed</Code> <Message>The difference between the request time and the current time is too large.</Message>
AWS S3 will report an error when a time included in the request isn’t close enough to the time that AWS considers to be “current,” which means that the system clock needs to be synchronized. This can be fixed via specific commands. NTP Pool is a reliable public NTP service you can use to do this.