I’ve just checked one of my sites running v17 and Umbraco Commerce and the licence has been validated successfully today.
I assume you have the licence setup and configured as per the docs here:
Do you know if you have any outgoing network restrictions on your environments that may be blocking licence validation requests? Is there anything in the Umbraco log that may help?
The site has been running with out UmbracoApplicationURL and been working fine, but I guess after new version of umbraco it needs it, so after I added it, the licence part start working again.
Reading that PR, it is security related so a forged host header does not get passed into email notifications.
It’s never a bad thing to set UmbracoApplicaitonUrl yourself anyway, and is in fact the recommended guidance, especially when running in Production runtime mode.