First point, is that when you DON’T plug the battery onto the charger, then the charger light will be green, so you have the correct behaviour there. If you measure at the charger output without the battery, do you get 42v - if you do, then the charger is functioning ok.
If it struggles to get...