I too have a keg with an imperfection around the lip that doesn't like to seal. I typically apply generous keg lube and seal, test and repeat until it passes the star san leak test. Mine has held pressure for weeks at a time, though I've only used it to hold sanitizer so far.
Just ordered a few of those O-rings, I'll report back when I get them.