Leap second briefly catches out computer firm

Big Ben during New Year's celebrations in 2016 Image copyright Getty Images
Image caption The leap second caused Cloudflare software to 'panic'

Web firm Cloudflare was briefly caught out by the leap second added to the end of 2016.

A small number of the firm's servers failed to handle the added second properly making them return errors.

The problem meant that the sites of some of its customers were hard to reach in the early hours of 2017.

The second was added to compensate for a slowdown in the earth's rotation and helps to co-ordinate time-keeping among nations that use GMT.

Time lost

In a statement, Cloudflare said that its engineers had fixed the problem within 90 minutes of it affecting its servers.

Anyone falling victim would have got an error message saying servers could not be reached rather than seeing the page they wanted to visit.

Content delivery firm Cloudflare acts as a go-between for websites aiming to speed up access to a site as well as stopping malicious traffic and attacks reaching that destination.

It said that the problem affected about 1% of the requests its servers processed during the glitch period.

A detailed analysis of why the bug emerged found that it was triggered by a mismatch between the time-stamps Cloudflare servers were expecting and the ones they actually got from the separate systems that keep time on the wider net.

This caused an internal system to "panic" the firm wrote, causing the server errors.

More on this story