In FlexNet Manager Suite, Flexera One IT Asset Management (ITAM), and Flexera One IT Visibility, child beacons communicate with parent servers to upload inventory and download policies.
In some environments, a child beacon may fail to establish an HTTP or HTTPS connection to its parent. This can cause issues such as failed inventory uploads, policy download errors, and other communication failures.
Common reasons include:
- Proxy misconfiguration
- Authentication errors
- Missing endpoints (particularly in versions after 2022 R2)
- Network or firewall restrictions
- Certificate validation failures
This article provides PowerShell and curl.exe tests that you can run on a child beacon to simulate communication with the parent. These tests help isolate problems related to authentication, proxy settings, TLS protocols, or endpoint accessibility.
Step 1. Initialize the PowerShell environment
Run the following script to align proxy settings, authentication credentials, and TLS versions with the beacon’s configuration. This prevents false negatives in later tests.
if ($PSVersionTable.PSEdition -ne "Desktop") {
Write-Error "This script must be run in Windows PowerShell" -ErrorAction Stop
}
$beaconInstallPath = Get-ItemPropertyValue `
-Path "HKLM:\SOFTWARE\WOW6432Node\ManageSoft Corp\ManageSoft" `
-Name ETDPInstallDir
Add-Type -Path "$beaconInstallPath\DotNet\bin\Flexera.Beacon.Common.dll"
Add-Type -Path "$beaconInstallPath\DotNet\bin\Flexera.SaaS.Transport.dll"
$bc = New-Object Flexera.Beacon.Common.BeaconConfig
if ($bc::ProxySettingsProxyServerConnectionEnabled) {
$proxy = [Flexera.SaaS.Transport.Core.ProxyHelper]::GetBeaconConfiguredProxy("http")
Write-Output "Web proxy details:" $proxy
[System.Net.WebRequest]::DefaultWebProxy = $proxy
} else {
Write-Output "No proxy in use"
[System.Net.WebRequest]::DefaultWebProxy = $null
}
$password = ConvertTo-SecureString $bc::BeaconServicesPassword -AsPlainText -Force
$cred = New-Object System.Management.Automation.PSCredential ($bc::BeaconServicesUserName, $password)
[Net.ServicePointManager]::SecurityProtocol =
[System.Net.SecurityProtocolType]'Tls,Tls11,Tls12,Tls13'
This returns a structured WebResponseObject with status code, headers, and content. Use this to verify connectivity or diagnose errors. It’s ideal for quick, high-level verification that the parent server is reachable and responsive.
Step 2. Upload test using PowerShell
Checks whether a dummy .ndi file can be uploaded to the parent server. These commands test the process of making a connection to upload a dummy inventory NDI file to the beacon’s parent using the PowerShell Invoke-WebRequest cmdlet.
$ul = $bc::GetUploadLocationDetails()
$url = "$($ul._URL)$($ul._Directory)/Inventories/testing.ndi"
Write-Output "Testing upload using Invoke-WebRequest to $url"
Invoke-WebRequest $url -Credential $cred -Method PUT -Body "test-NDI-content"
Step 3. Upload test using curl.exe
Performs the same test with curl.exe, which may reveal different or more detailed errors. These commands test making a connection to upload a dummy inventory NDI file to the beacon’s parent using the curl.exe tool.
This is similar to testing using the PowerShell Invoke-WebRequest cmdlet, but sometimes testing using different approaches can help to identify issues that may be evident with one approach that are not evident with another approach. Using curl.exe may also be helpful for producing additional diagnostic information that the Invoke-WebRequest may not so easily provide.
$ul = $bc::GetUploadLocationDetails()
$url = "$($ul._URL)$($ul._Directory)/Inventories/testing.ndi"
$curlArgs = @("--verbose", "--request", "PUT", $url, "--data", "test-NDI-content")
if ($bc::BeaconServicesUserName) {
$curlArgs += @("--user", "$($bc::BeaconServicesUserName):$($bc::BeaconServicesPassword)")
}
if ($bc::ProxySettingsProxyServerConnectionEnabled) {
$curlArgs += @("--proxy", $proxy.Address)
if ($proxy.Credentials) {
$curlArgs += @("--proxy-user", "$($proxy.Credentials.UserName):$($proxy.Credentials.Password)")
}
}
Write-Output "curl.exe $curlArgs"
curl.exe $curlArgs
Step 4. Policy download test using PowerShell
Verifies that the beacon can download its policy from the parent by making a connection to download beacon policy details from the beacon’s parent using the PowerShell Invoke-WebRequest cmdlet.
$url = "$($bc::BeaconServicesEndpoint)inventory-beacons/api/policy/?tenantUid=$($bc::TenantUID)"
Invoke-WebRequest $url -Credential $cred
This test can help to confirm that the beacon can successfully download its policy, verifying both authentication and endpoint accessibility.
Step 5. Policy download test using curl.exe
Same policy test, run with curl.exe for additional diagnostic output. These commands test making a connection to download beacon policy details from the beacon’s parent using the curl.exe tool.
$url = "$($bc::BeaconServicesEndpoint)inventory-beacons/api/policy/?tenantUid=$($bc::TenantUID)"
$curlArgs = @("--verbose", $url)
if ($bc::BeaconServicesUserName) {
$curlArgs += @("--user", "$($bc::BeaconServicesUserName):$($bc::BeaconServicesPassword)")
}
if ($bc::ProxySettingsProxyServerConnectionEnabled) {
$curlArgs += @("--proxy", $proxy.Address)
if ($proxy.Credentials) {
$curlArgs += @("--proxy-user", "$($proxy.Credentials.UserName):$($proxy.Credentials.Password)")
}
}
Write-Output "curl.exe $curlArgs"
curl.exe $curlAr
Outcomes
- Successful test → confirms the parent server is reachable and responding.
- Failure → inspect the error details to identify whether the issue is related to proxy, firewall, certificate validation, or authentication.
Notes on curl.exe
- Windows Server 2019 / Windows 10 (1903+):
curl.exeis included by default and uses the Windows certificate store. - Older systems:
- Download curl for Windows.
- Add its path to your PATH environment variable (such as,
C:\curl\bin). - Verify with:
curl.exe --version
- Optional: Configure TLS certificates for standalone
curl.exe:
1. Convert the CA certificate to PEM format.
2. Append it to ca-bundle.crt:
-----BEGIN CERTIFICATE-----
MIID...==
-----END CERTIFICATE-----
3. Save the file.
Further troubleshooting
To assist with diagnosing beacon upload and download issues, use the attached PowerShell script, CloudBeaconTest.ps1. This tool automates key connectivity tests, helping to identify configuration or authentication problems. Run it with administrator privileges and share the output with Flexera Support for further analysis.
Related Articles
Parent beacons fail to upload files that have come from child beacons containing a TenantUID in the filename 4Number of Views Secure your estate with HTTPS and TLS 134Number of Views Child beacon unable to download beacon policy from parent beacon (cloud) 4Number of Views Beacon Configuration - Child to Parent 9Number of Views Business adapter may fail with error importing data when parent-child asset relationships exist: "Violation of PRIMARY KEY… 4Number 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