License validation for product ID Umbraco.Commerce?

Have anyone seen this ? and know how to fix it ?
Our client has a valid License for Umbraco.Commerce, but now we get this error on all environments.

License validation returned a null result for product ID `Umbraco.Commerce`.

Its Umbraco version 17.6.2, and Commerce version 17.2.3

Hi @AndersCombine

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?

Justin

Hi Justin

It’s been working for months now, but as this weekend it just stopped working.

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.

Yes, 17.4.0 is the culprit: Application URL: Add `ApplicationUrlDetection` setting to control application URL auto-detection - Pull Request #22307 - umbraco/Umbraco-CMS - GitHub

Hi @AndersCombine

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.

Justin