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.
Related Articles
Known Issue: Agent policy download from beacon fails with HTTP 400 BAD REQUEST response unless machinename and ipaddress a… 12Number of Views Beacons configured to use a proxy with Internet Explorer proxy settings may fail to download policy after upgrading to ver… 5Number of Views Locally configured ExcludeDirectory settings get overwritten by agent policy update even if no exclusions are specified in… 4Number of Views Agent on inventory beacon does not know from where to download policy 4Number of Views Failed to Download Beacon Policy after disabling SSL 3.0 and TLS 1.0 24Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago