Fastly Inc., the company behind a major global internet outage this week, said on Wednesday the incident was caused by a bug in its software that was triggered when one of its customers changed their settings.
Tuesday's outage raised questions about the reliance of the internet on a few infrastructure companies.
Fastly's issue knocked out high traffic sites including news providers such as The Guardian and New York Times, as well as British government sites, Reddit and Amazon.com.
"This outage was broad and severe, and we're truly sorry for the impact to our customers and everyone who relies on them," the company said in a blog post authored by Nick Rockwell, its senior engineering and infrastructure executive.
He said the problem should have been anticipated.
Fastly operates a group of servers strategically placed around the world to help customers move and store content close to their end users quickly and safely.
The company post gave a timeline of events and promised to examine and explain why Fastly had failed to detect the software bug during its own testing process.
Fastly said the bug was in a software update shipped to customers on May 12 but was not triggered until one unidentified customer carried out settings changes that triggered the problem "which caused 85 per cent of our network to return errors".
Fastly noticed the outage within a minute it occurring at 0947 GMT, and engineers worked out the cause at 1027 GMT. Once they disabled the settings that triggered the problem, most of the company's network quickly recovered.
"Within 49 minutes, 95 per cent of our network was operating as normal," the company said.
Its networks were fully recovered at 1235 GMT and it began rolling out a permanent software fix at 1725 GMT, Fastly said.


Iran, US escalate in Gulf but release of American signals path to climb down
Escalating Israeli strikes kill five people in Gaza, medics say
Indian court asks authorities to intervene if fasting activist's condition worsens
3 police officers killed, 20 injured in twin attacks in Pakistan
Strong earthquake rattles New Zealand's South Island, tsunami alert lifted
Canadian wildfire smoke chokes Toronto, threatens US cities
Bus accident kills six in China's Sichuan
One dead, 3 presumed dead from capsized boat in San Francisco Bay
