Early attempts to explain the discrepancy proposed that the models of the Sun were wrong, i.e. the temperature and pressure in the interior of the Sun were substantially different from what was believed.
Helioseismology observations made it possible to measure the interior temperatures of the Sun; these agreed with the well established standard solar model.