Notification

Icon
Error

Lsagent service exits with error

Posted: Thursday, May 6, 2021 3:56:29 PM(UTC)
Orion Poplawski

Orion Poplawski

Member Original PosterPosts: 5
0
Like
We're seeing issues with the lsagent exiting on Windows machines with a communication error:
Quote:
2021-04-20 10:19:14,775 [7] INFO CreateReachableEndPoint for cf8eb343-a400-4683-90f8-051af8c7d36d
2021-04-20 10:19:14,836 [7] INFO Url Check with address failed. Endpoint with address 'https://INTERNAL-LANSWEEPER-SERVER:9524/lsagent' was not reachable: The remote name could not be resolved: 'INTERNAL-LANSWEEPER-SERVER'
2021-04-20 10:19:14,836 [7] WARN Connection to url https://INTERNAL-LANSWEEPER-SERVER:9524/lsagent failed
2021-04-20 10:19:14,836 [7] INFO Url Check with address failed. Endpoint with address 'https://INTERNAL-LANSWEEPER-SERVER:9524/lsagent' was not reachable: The remote name could not be resolved: 'INTERNAL-LANSWEEPER-SERVER'
2021-04-20 10:19:14,852 [7] WARN Connection to url https://INTERNAL-LANSWEEPER-SERVER:9524/lsagent failed
2021-04-20 10:19:14,852 [7] INFO Url Check with address failed. Endpoint with address 'http://INTERNAL-LANSWEEPER-SERVER:9524/lsagent' was not reachable: The remote name could not be resolved: 'INTERNAL-LANSWEEPER-SERVER'
2021-04-20 10:19:14,868 [7] WARN Connection to url http://INTERNAL-LANSWEEPER-SERVER:9524/lsagent failed
2021-04-20 10:19:14,868 [7] INFO Url Check with address failed. Endpoint with address 'http://INTERNAL-LANSWEEPER-SERVER:9524/lsagent' was not reachable: The remote name could not be resolved: 'INTERNAL-LANSWEEPER-SERVER'
2021-04-20 10:19:14,883 [7] WARN Connection to url http://INTERNAL-LANSWEEPER-SERVER:9524/lsagent failed
2021-04-20 10:19:14,883 [7] DEBUG Created RelayCommunicationSender to URL https://lsagentrelay.lan...eper.com/EchoService.svc
2021-04-20 10:19:14,899 [7] ERROR A communication error occurred.
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at https://lsagentrelay.lan...eper.com/EchoService.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: The remote name could not be resolved: 'lsagentrelay.lansweeper.com'
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
--- End of inner exception stack trace ---

Server stack trace:
at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
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.^E.^B(IEchoService ^B)
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()

This was likely due to a temporary network issue. But it would be good in lsagent didn't exit because of it.

Active Discussions

Lansweeper Enterprise Options in Menu Bar/Configuration
by  mk@allan   Go to last post Go to first unread
Last post: 6/18/2021 7:38:43 PM(UTC)
Lansweeper No One getting back to me from Lansweeper
by  Kenneth Lindsay  
Go to last post Go to first unread
Last post: 6/18/2021 3:31:06 PM(UTC)
Lansweeper INFO DateTimeService time refresh
by  miharix   Go to last post Go to first unread
Last post: 6/18/2021 10:48:57 AM(UTC)
Lansweeper RPC Unavailable error
by  Greeno  
Go to last post Go to first unread
Last post: 6/17/2021 7:15:07 PM(UTC)
Lansweeper Exclude Search
by  pryan67  
Go to last post Go to first unread
Last post: 6/16/2021 4:01:43 PM(UTC)
Lansweeper Report: All Apple Mac devices with Memory RAM asset
by  gabrielo   Go to last post Go to first unread
Last post: 6/16/2021 3:17:24 PM(UTC)
Lansweeper Does technical support for LS really respond?
by  tosch  
Go to last post Go to first unread
Last post: 6/16/2021 12:48:50 PM(UTC)