Recessed Can Light Not Working
It sounds like the the center contact has loosened up in the fixture, with the power off pry the contact up a little and that may solve the problem. There are usually temp sensors in can lights but since changing the bulb made it work for a while I would check the center contact on the fixture. LED's usually will not produce enough heat to trip the thermal sensor. It could be a loose connection in the wiring, but again, since changing the bulb made it work, check the center contact.