A 178-year-old mystery surrounding one of the earliest recorded examples of space weather affecting technology has been solved by an international team led by Lancaster University.