Issues publishing to bookdown

I am trying to update an existing book on bookdown, however, when publishing I keep getting this error:

Preparing to deploy site...Error: HTTP 500

<h1>An error has occurred</h1>

<p id="message">unable to sanitize request: The Date header of the HTTP request is too different from the system clock. Ensure client/server clocks are synced.</p>

I am not sure what it means or how to fix.

If you can have your computer automatically set the time through an NTP server, that will probably fix it. Just do a search for your operating system about how to get the system time set automatically. If it is already set automatically, it's possible that the Bookdown server clock is not set right.

What's happening is that secure communication between two computers, for reasons I can't remember, check to make sure they agree about what time it is. If they don't, they assume something is wrong and break off communication.

1 Like

Thanks @jtbayly. That worked perfectly!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.