A new Flexera Community experience is coming on November 25th. Click here for more information.
We have an Inventory Beacon (16.01.24) configured for the Tanium Connector and when we test the connection, it is successful.
However, the Tanium import fails at reader 'Get software installed installer evidences from Tanium'
2021-08-05 22:15:34,788 [INFO ] Failed to execute Reader 'Get software installed installer evidences from Tanium' from file C:\ProgramData\Flexera Software\Compliance\ImportProcedures\Inventory\Reader\tanium\InstallerEvidence.xml, at step line 1
Error: '', hexadecimal value 0x08, is an invalid character.
2021-08-05 22:15:34,788 [INFO ] All retries have been attempted for Reader 'Get software installed installer evidences from Tanium'
2021-08-05 22:15:34,788 [INFO ] Completed with error in 4 minutes, 46 seconds.
2021-08-05 22:15:34,798 [ERROR] System.ArgumentException: '', hexadecimal value 0x08, is an invalid character.
at System.Xml.XmlUtf8RawTextWriter.InvalidXmlChar(Int32 ch, Byte* pDst, Boolean entitize)
at System.Xml.XmlUtf8RawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)
at System.Xml.XmlUtf8RawTextWriter.WriteString(String text)
at System.Xml.XmlWellFormedWriter.WriteString(String text)
at ManageSoft.Compliance.Importer.Serialization.IntermediateWriter.WriteData(XmlWriter xmlWriter)
at ManageSoft.Compliance.Importer.Serialization.IntermediateWriter.WriteData()
at ManageSoft.Compliance.Importer.Logic.XML.SourceToTarget.ExecuteReader(IExecutionContext context, ISourceConnection sourceConn, IDataReader reader)
at ManageSoft.Compliance.Importer.Logic.XML.SourceToTarget.ProcessStep(IExecutionContext context)
at ManageSoft.Compliance.Importer.Logic.XML.Reader.Execute(IExecutionContext context)
at ManageSoft.Compliance.Importer.Logic.ActionExecuter.ReaderExecuter.ExecuteSingleReader(Reader reader, Int32 procedureOrder, Version sourceDatabaseVersion)
at ManageSoft.Compliance.Importer.Logic.ActionExecuter.ReaderExecuter.Execute()
at ManageSoft.Compliance.Importer.Logic.ComplianceImporter.ProcessExecution(ComplianceReader p_ComplianceReader, Tenant p_Tenant, IExecutionContext p_Context)
2021-08-05 22:15:34,803 [DEBUG] TempNewContent Path: C:\ProgramData\Flexera Software\Beacon\rqo2srbm.tmp
2021-08-05 22:15:34,803 [DEBUG] TempOldContent Path: fwlhirhl.tmp
2021-08-05 22:15:34,938 [ERROR] System.InvalidOperationException: There was an error generating the XML document. ---> System.ArgumentException: '', hexadecimal value 0x08, is an invalid character.
at System.Xml.XmlUtf8RawTextWriter.InvalidXmlChar(Int32 ch, Byte* pDst, Boolean entitize)
at System.Xml.XmlUtf8RawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)
at System.Xml.XmlUtf8RawTextWriter.WriteString(String text)
at System.Xml.XmlWellFormedWriter.WriteString(String text)
at System.Xml.Serialization.XmlSerializationWriter.WriteElementString(String localName, String ns, String value, XmlQualifiedName xsiType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterIntermediatePackageManifest.Write27_IntermediatePackageManifest(String n, String ns, IntermediatePackageManifest o, Boolean isNullable, Boolean needType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterIntermediatePackageManifest.Write28_IntermediatePackage(Object o)
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
at ManageSoft.Compliance.Importer.Logic.IntermediatePackageLibrary.WritePackageManifest(String tempOutputPath, RemoteConnection remoteConn, BusinessConnection busConn, SAPConnection sapConn, FNMEAAgentConnection fnmeaConn, ObjectStepExecutionHistory objectSteps, String tenantUID, ImporterExecutionStatus status, String message, Exception error, DateTime created, ReaderManagementState readerManagement, Version objectSchemaVersion, Guid sessionUID)
at ManageSoft.Compliance.Importer.Logic.IntermediatePackageLibrary.ConvertOutputToPackage(SourceConnectionExecutedArgs args)
at ManageSoft.Compliance.Importer.Logic.IntermediatePackageLibrary.complianceImporter_ConnectionExecuted(Object sender, SourceConnectionExecutedArgs args)
at ManageSoft.Compliance.Importer.Logic.ComplianceImporter.OnSourceConnectionExecuted(SourceConnectionExecutedArgs p_EventArgs)
at ManageSoft.Compliance.Importer.Logic.ComplianceImporter.ProcessExecution(ComplianceReader p_ComplianceReader, Tenant p_Tenant, IExecutionContext p_Context)
2021-08-05 22:15:34,943 [INFO ] Time: Thursday, August 5, 2021 10:15:34 PM
2021-08-05 22:15:34,943 [INFO ] Total import time: 12 minutes, 38 seconds
2021-08-05 22:15:34,943 [INFO ] 0 source data warnings
2021-08-05 22:15:34,943 [INFO ] 2 errors, 0 warnings
2021-08-05 22:15:34,948 [DEBUG] TempNewContent Path: C:\ProgramData\Flexera Software\Beacon\x5xmior0.tmp
2021-08-05 22:15:34,948 [DEBUG] TempOldContent Path: syli2u5f.tmp
2021-08-05 22:15:34,953 [DEBUG] Loaded configuration from C:\ProgramData\Flexera Software\Compliance\Logging\ComplianceReader.config
Aug 06, 2021 09:41 AM - last edited on Aug 12, 2021 05:10 AM by ChrisG
This looks like issue IOJ-2130793 marked as resolved in the FlexNet Manager Suite On-premises 2020 R2 release. Are you using an earlier release?
Unfortunately I am not aware of any workaround to this, short of upgrading or reaching out to Flexera Support for advice on a possible hotfix for the specific version of FlexNet Manager Suite that you are running.
Aug 08, 2021 09:26 PM
Hi @ChrisG ,
"This looks like issue IOJ-2130793 marked as resolved in the FlexNet Manager Suite On-premises 2020 R2 release. Are you using an earlier release?"
No, we are currently on 16.01.24 (FlexNet Manager Suite 2020 R2).
"Unfortunately I am not aware of any workaround to this, short of upgrading or reaching out to Flexera Support for advice on a possible hotfix for the specific version of FlexNet Manager Suite that you are running."
I have a ticket with Flexera Support now, but just wanted to see if anyone else in the Community are also seeing the same issue as we are.
Aug 09, 2021 01:40 PM
Hi @davidle ,
We have seen similar issues with some other characters for another customer. Since there were additional characters, we asked the customer to contact Tanium and get the record removed. That helped the customer to unblock their import. If you could contact your Tanium TAM, they should be able to help you remove it.
We have handled 32 characters and we are now looking at a better way to handle this, rather than handling each character.
Thanks,
Satheesh.
Aug 10, 2021 09:05 AM
"We have seen similar issues with some other characters for another customer. Since there were additional characters, we asked the customer to contact Tanium and get the record removed. That helped the customer to unblock their import. If you could contact your Tanium TAM, they should be able to help you remove it."
How do we locate the actual record that is causing the issue?
Aug 10, 2021 01:33 PM
Hi @davidle ,
You could have a look at the intermediate data file to understand the asset id for which the import is failing.
The intermediate data file could be found at "c:\ProgramData\Flexera Software\Beacon\IntermediateData" or "c:\ProgramData\Flexera Software\Beacon\IntermediateData\Uploaded" folder in the beacon machine. Look for the latest zip file in this, and open the zip file. You may find some xml files in this. Please find the xml file related to the installer evidence and navigate to the end of the file. Here you should be able to find the asset id for which the junk character is appearing.
Hope this helps.
Thanks,
Satheesh.
Aug 11, 2021 08:50 AM