Some users may experience issues accessing the case portal. For more information, please click here.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Known Issue: Agent policy download from beacon fails with HTTP 400 BAD REQUEST response unless machinename and ipaddress are both specified in the policy URL (IOK-995408)

Known Issue: Agent policy download from beacon fails with HTTP 400 BAD REQUEST response unless machinename and ipaddress are both specified in the policy URL (IOK-995408)

Summary

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.

Details

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).

Workaround

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.

Fix status

This issue has been fixed in the following FlexNet Manager Suite releases: 2022 R2 (On Premises), 2022 R2 / Nov 2022 (Cloud)

Other information

Affected components: Inventory Beacon

Master issue ID: IOK-995408

Also known as: FNML-76992

Labels (1)
Was this article helpful? Yes No

Tip: If you have been impacted by this issue, please click the KUDOS button above. This helps to track the relative significance and importance of issues. Clicking on an option against "Was this article helpful?" also helps assess and improve the usefulness of content.

No ratings
Version history
Last update:
‎Dec 12, 2022 01:29 PM
Updated by: