To complain persistently; to gripe or sulk and make a fuss (colloquial).
子どもが遊園地でおもちゃを買ってくれとごねている。
The child is whining at the amusement park, demanding a toy.
交渉で相手がごねるので話が進まない。
Negotiations aren't progressing because the other side is making a fuss.
彼は自分の要求が通らないとすぐにごねる癖がある。
He has a habit of complaining immediately when his demands aren't met.
Dated usage meaning 'to die' — largely obsolete and found in older/literary contexts.
古い記録には、ごねるが『死ぬ』の意味で使われている箇所がある。
In old records, 'ごねる' is sometimes used with the meaning 'to die'.