‎11-22-2023 05:41 PM
Been struggling with an issue for quite sometime now. We have reset the cloud sync config multiple times on our on-prem sync server and still have an issue. Also had a support case that had us do much the same and did appear to work for a bit, but issue has resurfaced. After a few days sync just stops. In order to get on prem to sync to cloud we have to stop the Lansweeper service, wait a minute or so and start the service again. Open up the cloud portal website and then just wait and sync starts to catch up once again. Has anyone else experienced this behavior?
Looking at the syncerror log it states that a command fails due to no element found and then ultimately that our "JWT is expired"
2023-11-13 12:22:39,327 [81] INFO LOGASSETJOURNALTRACKER ERROR Error processing regular sync Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.Max(IEnumerable`1 source)
at Lansweeper.Service.LECServiceAgent.BL.Managers.RegularSyncManager.(Object , RegularReportArgs )
at Lansweeper.Service.LECServiceAgent.BL.StatusReporters.RegularSyncStatusReporter.OnCompleted()
at Lansweeper.Service.Syncer.RegularSync.RegularSyncService.StartRegularSync(SyncConfiguration syncConfiguration, UpdateSyncConfiguration updateConfig, IObserver`1 statusObserver, GrpcChannel grpcChannel)
2023-11-13 12:22:39,517 [139] INFO LOGASSETJOURNALTRACKER ERROR Error occurred while processing the data: Sequence contains no elements Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.Max(IEnumerable`1 source)
at Lansweeper.Service.LECServiceAgent.BL.Managers.RegularSyncManager.(Object , RegularReportArgs )
at Lansweeper.Service.LECServiceAgent.BL.StatusReporters.RegularSyncStatusReporter.OnCompleted()
at Lansweeper.Service.Syncer.RegularSync.RegularSyncService.StartRegularSync(SyncConfiguration syncConfiguration, UpdateSyncConfiguration updateConfig, IObserver`1 statusObserver, GrpcChannel grpcChannel)
2023-11-16 08:37:10,913 [176] INFO LOGLECJOBS ERROR LecMessageHandlerJob: an error occurred while trying to receive commands. Status(StatusCode="Unauthenticated", Detail="Jwt is expired")
at Grpc.Net.Client.Internal.HttpContentClientStreamReader`2.MoveNextCore(CancellationToken cancellationToken)
at Lansweeper.Service.LECServiceAgent.BL.Jobs.LecMessageHandlerJob..MoveNext()
--- End of stack trace from previous location ---
at Lansweeper.Service.LECServiceAgent.BL.Jobs.LecMessageHandlerJob.ExecuteJob(JobExecutionResultEventArgs e)
2023-11-16 08:37:21,050 [76] INFO LOGLECJOBS ERROR LecMessageHandlerJob: an error occurred while trying to receive commands. Status(StatusCode="Unauthenticated", Detail="Jwt is expired")
at Grpc.Net.Client.Internal.HttpContentClientStreamReader`2.MoveNextCore(CancellationToken cancellationToken)
at Lansweeper.Service.LECServiceAgent.BL.Jobs.LecMessageHandlerJob..MoveNext()
--- End of stack trace from previous location ---
at Lansweeper.Service.LECServiceAgent.BL.Jobs.LecMessageHandlerJob.ExecuteJob(JobExecutionResultEventArgs e)
‎11-27-2023 10:26 AM
To balance the load to Lansweeper sites, aka Cloud, certain priorities are set. Sites that are visited frequently and being actively used will be higher up the sync queue than sites that are visited only once a month.
Instead of restarting the scanning service, opening your Cloud site should put you higher up in the sync queue.
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now