Just hypothesing here: was the can selected suitable for the selected LED light or only for a gu10 halogen of the same design? the fins on the LED are much bigger against the non-existent cooling fins on the halogen equivalent.
This is a common issue with halogen/LED conversions.