Passengers on All Nippon Airways flights across Japan were unable to board their flights Monday afternoon after two sets of computer systems handling boarding processes temporarily broke down, ANA officials said.

The glitch forced the airline to cancel at least three flights departing from Tokyo's Haneda airport and their return flights, affecting some 1,308 passengers.

Passengers at airports across the country were also stranded during the computer breakdown, which lasted from around 3:40 p.m. to 5:05 p.m., ANA said.

The airline was compiling figures on the number of passengers affected later in the evening. The computer systems are called Front-End Processors, which collect and deliver data on boarding passengers from end-terminals to main host computers.

ANA has two sets of the Front-End Processors, but both broke down at the same time for unknown reasons, the nation's No. 2 carrier said.

Passengers formed long lines at ANA counters at airports nationwide due to the problem.