What temperature was it fermented at? Did it finish (was it done)? I did something similar and the beer was not finished. The beer finished fermenting in the keg! As I grabbed the keg form storage I saw something on the post. It was caramelized sugars. I pulled the relief valve and WOW that beer was pressurized to the max. I was lucky that valve leaked or the keg might have blew? I normally don't do hydrometer tests because all my beers ferment completely (except this one)?
The beer was put in the dispensing fridge and it tasted murky and yeasty. I let it settle down a few weeks. I drew off the first pint or two to collect the trube from the keg fermentation. The beer cleaned up and was serviceable. So to make a long story short (to late) If the beer still is fermenting be careful and expect residue to collect. If it is done fermenting than time may clean it up? Good luck!