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

Package upload failed Flexera.SaaS.Transport.Core.ComplianceApiException: Could not retrieve token

Package upload failed Flexera.SaaS.Transport.Core.ComplianceApiException: Could not retrieve token

Summary

This knowledge base article describes an issue where the Beacon fails to upload 3rd party inventory data using ComplianceUpload. Error: The remote certificate is invalid according to the validation procedure.

Symptoms

This knowledge base article describes an issue where the beacon fails to upload 3rd party inventory data using ComplianceUpload. Error: The remote certificate is invalid according to the validation procedure.

The specific error is:

[ERROR] Package upload failed
Flexera.SaaS.Transport.Core.ComplianceApiException: Could not retrieve token (An error occurred while sending the request.) ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
? End of inner exception stack trace ?
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
? End of inner exception stack trace ?
? End of inner exception stack trace ?
at Flexera.SaaS.Transport.Upload.UploadClient.CreateUploadToken(String fileName)
at Flexera.SaaS.Transport.Upload.UploadClient.UploadSegment(FileSegment segment)
at Flexera.SaaS.Transport.Upload.UploadProcess.TryUpload(UploadClient client, UploadedPackageFile package, Action notifySuccessfulConnection)
at Flexera.SaaS.Transport.Upload.UploadProcess.Retry(String actionName, Func`2 action, Int32 times)
at Flexera.SaaS.Transport.Upload.UploadProcess.ProcessPackage(UploadedPackageFile package)
at Flexera.SaaS.Transport.Upload.UploadProcess.ProcessPackageList(Int32 exitCode, List`1 packages)
2015-05-19 09:13:35,305 [Upload.Program ] [INFO ] Running ComplianceUpload

Cause

There is a known issue (FNMS-24184) in the Inventory beacon where the affected versions are v2014 - 2015 R1

Resolution

The bug is permanently fixed in FlexNet Manager Suite 2015 R2 and later version.

Workaround

CheckCertificateRevocation=False in the following registry location:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ManageSoft Corp\ManageSoft\Common]
Labels (1)
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Dec 12, 2018 10:44 PM
Updated by: