The Soviet program suffered various incidents and set-backs.
The Soviet space program was tied to the central planning of the USSR's five year plans. This made it difficult for the Chief Designers to respond in 1961 to the US launching a crash program for a manned lunar landing as the next five year plan would not start until 1964. Centralised planning and the concentration on production targets also made it difficult for middle management and engineers to highlight defects in equipment leading to poor quality control.
The Soviet space program produced the first cosmonaut fatality on March 23, 1961 when Valentin Bondarenko died in a fire within a low pressure, high oxygen atmosphere.
The Voskhod program was cancelled after two manned flights due to the change of Soviet leadership and the near fatality of the second mission. Had the planned further flights gone ahead they could have given the Soviet space program further 'firsts' including a long duration flight of 20 days, a spacewalk by a woman and an untethered spacewalk.
The deaths of Korolyov, Komarov (in the Soyuz 1 crash) and Gagarin (on routine fighter jet mission) within two years of each other understandably made some negative impact on the Soviet program.
The Soviets continued striving for the first lunar mission with the huge N-1 rocket which exploded on each of four unmanned tests. The Americans won the race to land on the moon with Apollo 11 in July, 1969.
On April 5, 1975, the second stage of a Soyuz rocket carrying 2 cosmonauts to the Salyut 4 space station malfunctioned, resulting in the first manned launch abort. The cosmonauts were carried several thousand miles downrange and became worried that they would land in China, which the Soviet Union was then having difficult relations with. The capsule hit a mountain, sliding down a slope and almost slid off a cliff; fortunately the parachute lines snagged on trees and kept this from happening. As it was, the two suffered severe injuries and the commander, Lazerev, never flew again.
On March 18, 1980 a Vostok rocket exploded on its launch pad during a fueling operation killing 48 people.
In the summer of 1981 Kosmos-434, which had been launched in 1971, was about to re-enter. To allay fears that the spacecraft carried nuclear materials, a spokesperson from the USSR Ministry of Foreign Affairs assured the Australian government on August 26, 1981 that the satellite was "an experimental lunar cabin". This was one of the first admissions by the Soviet Union that it had ever engaged in a manned lunar spaceflight program.[1]
In September 1983, a Soyuz rocket being launched to carry cosmonauts to the Salyut 7 space station exploded on the pad, causing the Soyuz capsule's abort system to engage, saving the two cosmonauts on board.
The Soviet space program produced the Space Shuttle Buran based on the Energia launcher. Energia would be used as the base for a manned Mars mission. Buran was intended to operate in support of large space based military platforms as a response first to the US Space Shuttle and then the Strategic Defense Initiative. By the time the system was operational, in 1988, strategic arms reduction treaties and the end of the Cold War made Buran redundant. Several vehicles were built, but only one flew an unmanned test flight; it was found too expensive to operate as a civilian launcher.
http://en.wikipedia.org/wiki/Soviet_space_program