Notification

Icon
Error

Lansweeper assets not being Scanned

Posted: Friday, June 5, 2020 6:42:22 PM(UTC)
Jordan

Jordan

Member Original PosterPosts: 1
0
Like
I cannot figure out why some of our assets are not being scanned. They have been initially scanned before. Here is the lsagentlog.txt :

2020-06-05 14:28:23,805 [1] INFO Starting Lansweeper Agent Service
2020-06-05 14:28:23,869 [7] INFO === Service started ===
2020-06-05 14:28:28,050 [8] DEBUG Detected OS: Windows
2020-06-05 14:28:28,053 [8] DEBUG Client Version: 7.2.110.5
2020-06-05 14:28:28,054 [8] DEBUG Cleaning up older versions...
2020-06-05 14:28:28,061 [8] DEBUG Checking OS
2020-06-05 14:28:28,062 [8] DEBUG 64bit detected: checking registry (64bit)
2020-06-05 14:28:28,067 [8] DEBUG Reading ini file...
2020-06-05 14:28:28,337 [8] INFO CreateReachableEndPoint for 26cbfd18-0fdb-462a-909b-51eca3e2696f
2020-06-05 14:28:28,809 [8] INFO Url Check with address failed. Endpoint with address 'https://golf.bowen.lcl:9524/lsagent' was not reachable: The remote name could not be resolved: 'golf.bowen.lcl'
2020-06-05 14:28:28,809 [8] WARN Connection to url https://golf.bowen.lcl:9524/lsagent failed
2020-06-05 14:28:28,809 [8] INFO Url Check with address failed. Endpoint with address 'http://golf.bowen.lcl:9524/lsagent' was not reachable: The remote name could not be resolved: 'golf.bowen.lcl'
2020-06-05 14:28:28,825 [8] WARN Connection to url http://golf.bowen.lcl:9524/lsagent failed
2020-06-05 14:28:28,826 [8] DEBUG Created RelayCommunicationSender to URL https://relay.lansweeper.com/EchoService.svc
2020-06-05 14:28:28,831 [8] DEBUG Attach ServerCertificateValidationCallback
2020-06-05 14:28:28,847 [8] DEBUG CreateFactoryInstance for endpoint https://relay.lansweeper.com/EchoService.svc, EchoService
2020-06-05 14:28:29,222 [8] DEBUG ServicePointManager.ServerCertificateValidationCallback
2020-06-05 14:29:28,969 [8] ERROR An unexpected exception was caused
System.TimeoutException: The request channel timed out while waiting for a reply after 00:00:59.8433873. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'https://relay.lansweeper.com/EchoService.svc' has exceeded the allotted timeout of 00:00:59.9950000. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
--- End of inner exception stack trace ---

Server stack trace:
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Lansweeper.Echo.Server.IService.IEchoService.GetAssetStatus(Guid agentKey, Guid assetId)
at Lansweeper.Echo.Client.SA.AssetServiceAgent..(IEchoService )
at Lansweeper.Echo.Client.SA.Wcf.WcfServiceInvoker.InvokeService[T,R](Func`2 invokeHandler)
at Lansweeper.Echo.Client.SA.AssetServiceAgent.GetAssetStatus(Guid agentKey, Guid assetId)
at Lansweeper.Echo.Client.SA.RelayCommunicationSender.GetAssetStatus()
at Lansweeper.Echo.Client.BL.ScanningManager.ExecuteScan(IAppSettingsClient appSettings, EchoIniInfo iniSettings, IIniFileManager iniFileManager)
at Lansweeper.Echo.Client.WindowsService.ServiceStart.StartCore()
Caleb
#1Caleb Member Posts: 15  
posted: 6/17/2020 8:48:01 PM(UTC)
Jordan,

I don't know if your problem is the same as ours, but when I contacted support they stated that there has been "a large increase in the volume of assets passing through the LsAgent relay, which has led to some intermittent connection issues."

Support also provided the following information.

The Lansweeper service will connect to the relay in the following intervals:

  • Every 5 minutes to synchronize configuration (asset groups, schedules, etc.)
  • Every 60 minutes to retrieve scanned assets. All assets that are awaiting retrieval on the relay are picked up during each interval.
These connections have a timeout of 5 minutes.

I use the following report to show when my assets were last scanned using LsAgent.

Code:
Select Top 1000000 tblAssets.AssetID,
  tblAssets.AssetName,
  tblAssets.Domain,
  tblAssets.Username,
  tblAssets.Userdomain,
  Coalesce(tsysOS.Image, tsysAssetTypes.AssetTypeIcon10) As icon,
  tblAssets.IPAddress,
  tsysIPLocations.IPLocation,
  tblAssetCustom.Manufacturer,
  tblAssetCustom.Model,
  tsysOS.OSname As OS,
  tblAssets.SP,
  tblAssets.LsAgentVersion,
  tblAssets.LastLsAgent,
  tblAssets.Lastseen,
  tblAssets.Lasttried
From tblAssets
  Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
  Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
  Inner Join tsysIPLocations On tsysIPLocations.LocationID =
    tblAssets.LocationID
  Inner Join tblLsAgentAsset On tblAssets.AssetID = tblLsAgentAsset.AssetID
  Inner Join tblState On tblState.State = tblAssetCustom.State
  Left Join tsysOS On tsysOS.OScode = tblAssets.OScode
Where tblAssets.LsAgentVersion Is Not Null And tblState.Statename = 'Active'
Order By tblAssets.Domain,
  tblAssets.AssetName

Active Discussions

Lansweeper Lost Configuration tab (Admin rights)
by  kspap   Go to last post Go to first unread
Last post: Today at 10:30:12 AM(UTC)
Lansweeper Deployment with different user rights
by  Jupiter_IT  
Go to last post Go to first unread
Last post: Today at 9:39:20 AM(UTC)
Lansweeper cisco fuji device not linking with connected devices
by  char   Go to last post Go to first unread
Last post: Yesterday at 9:12:07 AM(UTC)
Lansweeper Microsoft CVE-2020-1425
by  Richard_B  
Go to last post Go to first unread
Last post: 7/3/2020 4:29:41 PM(UTC)
Lansweeper Wake on Lan in VLANs
by  FrankSc   Go to last post Go to first unread
Last post: 7/3/2020 1:56:46 PM(UTC)
Lansweeper Ticket Closed = email to all helpdesk desk agents
by  Laurent Maene  
Go to last post Go to first unread
Last post: 7/3/2020 1:23:49 PM(UTC)
Lansweeper Helpdek Call Re-Opened
by  pryan67   Go to last post Go to first unread
Last post: 7/3/2020 1:12:17 PM(UTC)
Lansweeper Office 365 32bit vs 64bit?
by  brodiemac-too  
Go to last post Go to first unread
Last post: 7/2/2020 10:35:19 PM(UTC)