How to Solve Twitter Error “Timestamp out of bounds”?

Technology

I was working on a client project and stumbled on this error “Timestamp out of bounds”. My task was to fetch user tweets. After spending half an hour, I finally found my client’s dedicated server time was incorrectly adjusted. I fixed time by running following commands:

Step 1 install NTP

> yum install ntp

> chkconfig ntpd on

> ntpdate pool.ntp.org

> /etc/init.d/ntpd start

Step 2 Synchronise date time and with your hardware clock

> hwclock --systohc

That’s it. I hope it helps you and save your precious time!