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

Hey Community, 

we want to use the Lansweeper Relay for the Agent communication. We can see in the client logs that the client connects to the Relay and sends the package successfully. However the Lansweeper Server is not able to pull the Information from the Relay Server. In the Relay Configuration of the Server everything seems ok. IT has a green checkmark and states "LSAgent access granted".

The Client are not appearing in the Inventory and the Server Error log shows the following:

2024-07-31 23:56:14,658 [235] ERROR could not sync asset scans from Relay
System.InvalidOperationException: The Writer is closed or in error state.
at System.Xml.XmlWellFormedWriter.AdvanceState(Token token)
at System.Xml.XmlWellFormedWriter.WriteEndElement()
at System.Runtime.Diagnostics.EtwDiagnosticTrace.WriteExceptionToTraceString(XmlWriter xml, Exception exception, Int32 remainingLength, Int32 remainingAllowedRecursionDepth)
at System.Runtime.Diagnostics.EtwDiagnosticTrace.ExceptionToTraceString(Exception exception, Int32 maxTraceStringLength)
at System.Runtime.ExceptionTrace.TraceEtwException(Exception exception, EventLevel eventLevel)
at System.ServiceModel.Diagnostics.ExceptionUtility.ThrowHelper(Exception exception, EventLevel eventLevel)
at System.ServiceModel.Diagnostics.ExceptionUtility.ThrowHelperWarning(Exception exception)
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(MethodCall methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(MethodInfo targetMethod, Object[] args)
at generatedProxy_1.GetAssetData(Guid )
at Lansweeper.Service.SA.Echo.WcfEchoConfigurationServiceAgent.GetAssetData(Guid relayKey)
at Lansweeper.Service.BL.ScanFileManager.ProcessScans(Guid relayKey, Boolean aboveAssetLimit, Func`4 saveScan)

 

Does anyone have an idea what the issue can be?

Thanks
Ansgar

2 REPLIES 2
FrankSc
Lansweeper Tech Support
Lansweeper Tech Support

Dear, 
Please check if the requirements are met in the KB article below, to make sure the requirements are met. 
The relay could not be contacted - Lansweeper Community
If issues remain, please contact Lansweeper Support, they should be able to help you further based on the logfiles from your scanning server.

Ansgar
Engaged Sweeper

Thanks Frank. I checked the article. This is not the error we are facing. The relay service is able to connect (see screenshot). It is just not downloading the client information from the relay. I opened a Support Case.

 
 

 

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now