Launch director Mike Leinbach said the leak, located at a vent line hookup on the fuel tank, was significant. Hydrogen gas is extremely volatile and can burn in large enough quantities, he noted.
"There's no way we could have continued," Leinbach said at a hastily called news conference. "It's a commodity you just don't mess with."
The hydrogen gas leak is similar to one that NASA faced while trying to launch Discovery three months ago. That flight was delayed four days because of the problem and shortened as well. Atlantis, however, encountered no such trouble during its countdown in May for the Hubble Space Telescope repair mission.
NASA's launch team immediately began draining Endeavour's external fuel tank while trying to figure out what went wrong. In March, the leak occurred where a vent line hooks up to the tank. The hookup was replaced along with a couple of seals and the seepage stopped, but engineers never did determine the exact source of the trouble.
Officials said workers wouldn't be able to get to the vent line on Endeavour's tank until Sunday.
NASA is up against a tight deadline. A four-day delay would make Endeavour's next launch attempt Wednesday. But that's the day the space agency is supposed to launch a moon-bound spacecraft aboard an unmanned rocket.
Mike Moses, chairman of the mission management team, said it was too soon to say which mission would take priority. "We haven't even begun to work that yet," he said.
In any event, if Endeavour isn't flying by next Saturday, it will have to wait until July 11 for the next launch attempt because of unfavorable sun angles that would make the shuttle too hot while docked at the international space station.
During the 16-day mission, Endeavour and its crew are supposed to deliver the final segment of Japan's huge space station lab, along with some spare parts for the orbiting outpost and more than 600 pounds of food for the six men living there.
When Endeavour pulls up, there will be 13 people together in orbit for the first time.
Of the seven shuttle astronauts, only one is a woman, a Canadian. The rest of the crew are U.S. citizens. On board the space station, the crew is more international. The six occupants, all men, represent Belgium, Canada, Japan and Russia, as well as the United States.