The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.
An attempt to download an agent policy .npl file from a beacon fails with an HTTP 400 BAD REQUEST response unless a value is specified for both machinename and ipaddress query parameters in the URL used for the .npl file.
Logging in the agent’s installation.log file appears as follows when this issue occurs:
[11/2/2022 3:19:48 PM (N, 0)] {29488} Downloading “http://beacon/ManageSoftDL/Policies/Merged/acme.com_domain/Machine/ltp101.npl” to “C:\Users\ADMIN-~1\AppData\Local\Temp\NDL10466.npl” [11/2/2022 3:19:49 PM (G, 0)] {29488} Download failure: Error 0xE0500190: 400 Bad Request [11/2/2022 3:19:49 PM (N, 0)] {29488} Download FAILED for “http://beacon/ManageSoftDL/Policies/Merged/acme.com_domain/Machine/ltp101.npl”
Logging is also generated in the beacon’s BeaconIIS.log (when using IIS) or BeaconEngine.log (when using a self-hosted web server) showing messages like the following:
2022-11-02 15:19:49,013 [ers.PoliciesController|Selfhost-118] [INFO ] Handling policy file request for machinename='', ipaddress='', full URL=http://beacon/ManageSoftDL/Policies/Merged/acme.com_domain/Machine/ltp101.npl 2022-11-02 15:19:49,013 [ers.PoliciesController|Selfhost-118] [ERROR] An exception has occurred while handling policy file request: 'Object reference not set to an instance of an object.' at Flexera.Beacon.HostIndependentWebService.Controllers.PoliciesController.Get(String filename, String machinename, String ipaddress)
This issue affects beacon versions 18.3 (2022 R1.3) through 18.6 (2022 R1.6).
If you are specifying a URL for downloading a policy .npl file for some operation, be sure to explicitly include values for the machinename and ipaddress query parameters in the policy URL.
For example, instead of using a URL like http://beacon/ManageSoftDL/Policies/Merged/acme.com_domain/Machine/ltp101.npl, use a URL like http://beacon/ManageSoftDL/Policies/Merged/acme.com_domain/Machine/ltp101.npl?machinename=ltp101&ipaddress=1.2.3.4.
This issue has been fixed in the following FlexNet Manager Suite releases: 2022 R2 (On Premises), 2022 R2 / Nov 2022 (Cloud)
Affected components: Inventory Beacon
Master issue ID: IOK-995408
Also known as: FNML-76992
Nov 02, 2022 02:32 AM - edited Nov 20, 2023 01:33 PM