the LFDS console opens to the first screen. The console just spins when I select the Settings tab. This happens with a remote console or from the LFDS server's console.
Question
Question
Replies
Accounts tab displays "Cannot get the user list. (LFDS3)
Was this working previously? Is there anything in the event viewer, under Applications an Service Logs > Laserfiche >Directory Service ?
Yes, this worked previously. I can't tell you when it stopped. I don't usually have to do much in the console.
i do have multiple errors in the Server\Operational trace logs going back a long ways. Event ID #2.
Can you please post these errors? A few of the most recent, or if there are many of the same type, one of each type that occurs.
Laserfiche.LicenseManager.InvalidSessionException: Exception of type 'Laserfiche.LicenseManager.InvalidSessionException' was thrown.
at Laserfiche.LicenseManager.SessionManager.GetSession(String token)
at Laserfiche.LicenseManager.SessionManager.CheckAccess(SessionToken token, ObjectType type, Object id, Nullable`1 containerID, Int32 desiredAccess)
at Laserfiche.LicenseManager.LicenseManagerService.GetMasterLicense(LicenseManagerServiceCallArgs _args)
at Laserfiche.LicenseManager.LicenseManagerService.DispatchFunction(LicenseManagerServiceCall func, LicenseManagerServiceCallArgs args)
Type:
Laserfiche.LicenseManager.InvalidSessionException
Stack Trace:
at Laserfiche.LicenseManager.SessionManager.GetSession(String token)
at Laserfiche.LicenseManager.SessionManager.CheckAccess(SessionToken token, ObjectType type, Object id, Nullable`1 containerID, Int32 desiredAccess)
at Laserfiche.LicenseManager.LicenseManagerService.GetMasterLicense(LicenseManagerServiceCallArgs _args)
at Laserfiche.LicenseManager.LicenseManagerService.DispatchFunction(LicenseManagerServiceCall func, LicenseManagerServiceCallArgs args)
here are the logs
You've got a couple errors here, both of which might be causing your problem:
1) You have a lot of Invalid Session errors. I'm not sure how you might have gotten into this state, but clearing your cookies or trying a different browser should get you out of it. It's a bit drastic, but you could also try resetting IIS if the issue persists after these two steps.
I would also recommend clicking on the user icon in the upper right-hand corner and making sure you are logged in as the user you expect to be.
2) There are also some "Database not found" errors. Usually this error would show up in the UI, but it may be being masked by the invalid session error. It's possible that either a bookmark got messed up, or the database was renamed and you are visiting an old URL. You can try going to the base URL, https://yourmachinename/LFDS/ , which will refresh the database list for you.
I cleared cookies, tried Chrome and restarted IIS. I don't believe we have renamed a database. I will try to track this down. It is unlikely my DB guy would change something like this.
I worked with David on looking into this. The problem is due to a 1 minute timeout in the GetAllUsers method. We are able to return devices and orgs, just not users. Every once in awhile it is able to return the users if they are returned withing 1 minute.
The error recommends increasing the timeout which we can do if instructions are provided. The problem is why would it take so longer to get a user list from a system where all the configurations are defined by only a 6mb database.
What is the code behind GetAllUsers?
---- Full Error
Cannot get the user list.
LMAdminWeb.Infrastructure.Exceptions.LMAdminWebException: Cannot get the user list. ---> System.TimeoutException: The request channel timed out while waiting for a reply after 00:01:00. 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 'http://bcvm-docmgr-02:5048/LicenseManager/service' has exceeded the allotted timeout of 00:01:00. 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.Channels.ClientReliableChannelBinder`1.RequestClientReliableChannelBinder`1.OnRequest(TRequestChannel channel, Message message, TimeSpan timeout, MaskingMode maskingMode)
at System.ServiceModel.Channels.ClientReliableChannelBinder`1.Request(Message message, TimeSpan timeout, MaskingMode maskingMode)
at System.ServiceModel.Security.SecuritySessionClientSettings`1.SecurityRequestSessionChannel.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 Laserfiche.LicenseManager.LMO.Database.GetAllUsers()
at LMAdminWeb.Services.LMObjectsDatabaseManager.GetUserList()
--- End of inner exception stack trace ---
at LMAdminWeb.Services.LMObjectsDatabaseManager.GetUserList()
at LMAdminWeb.Controllers.UserController.<GetUserList>b__18(ILMDatabaseManager database)
at LMAdminWeb.Services.LMObjectsConnectionProvider.<>c__DisplayClassf`1.<TryUseCachedDatabaseConnection>b__e(ILMDatabaseManager database)
at LMAdminWeb.Services.LMObjectsConnectionProvider.TryUseCachedDatabaseConnection(String serverName, String dbName, Action`1 databaseAction, Boolean retryOnFail)
at LMAdminWeb.Services.LMObjectsConnectionProvider.TryUseCachedDatabaseConnection[T](String serverName, String dbName, Func`2 databaseAction, Boolean retryOnFail)
at LMAdminWeb.Controllers.UserController.GetUserList(String server, String dbname)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)
Exception Data:
Severity: InternalError
Type: User
it has to be something wrong with my account. One of the other LFDS admins is able to open the tabs. He is going to look at my settings. this issue follows me to other machines.
The errors in the event log and the fact that it is not occurring for other uses does imply that, though I'm not sure what permissions could be causing the timeout Chad mentioned. You may want to look at the local administrators and LFDS admins groups. If troubleshooting configuration doesn't let to a resolution, you may wish to request a support case, as this forum isn't intended for in-depth troubleshooting.
Dears ,
I'm getting same error , it's a fresh installation.
Directory Server 10.3.0.110.
Any suggestions ?