Talks on Russian gas supplies to Ukraine have failed to reach an agreement on future supplies.

The two countries have fought several gas price wars in past years, and gas disputes exacerbated after Russia's annexation of Ukraine's Crimean Peninsula in 2014 and a pro-Russian insurgency in eastern Ukraine.

Russian Energy Minister Alexander Novak and his Ukrainian counterpart Volodymyr Demchyshyn said after Tuesday's talks in Vienna that they couldn't clinch a deal on Russian supplies in the third quarter, according to Russian news agencies.

Demchyshyn said a discount that Russia offered wasn't enough. He said Ukraine will buy gas from other nations starting July 1 until an agreement is reached with Russia.

The current dispute comes at a moment when gas consumption is low, allowing Ukraine to bargain for better terms.