Unexpected error occurred in method GetObject usage Distributed Logon Token Cache SharePoint 2013 error


Our team found that in one of our web front end servers we are getting the below error:


11/17/2015 23:19:52.99 w3wp.exe (0x2F50) 0x0CE0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:https://SiteURL:443/site1/default.aspx) 39ba429d-4eda-a03f-5a1f-a4b9c43378be
11/17/2015 23:19:53.02 w3wp.exe (0x2F50) 0x0CE0 SharePoint Foundation DistributedCache agyfw Unexpected Unexpected error occurred in method ‘GetObject’ , usage ‘Distributed Logon Token Cache’ – Exception ‘Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0018>:SubStatus<ES0001>:The request timed out.. Additional Information : The client was trying to communicate with the server : net.tcp://SiteURL:22233 at Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody, RequestBody reqBody) at Microsoft.ApplicationServer.Caching.DataCache.InternalGet(String key, DataCacheItemVersion& version, String region, IMonitoringListener listener) at Microsoft.ApplicationServer.Caching.DataCache.<>c__DisplayClass49.<Get>b__48() at Microsoft.SharePoint.DistributedCaching.SPDistributedCache.GetObject(String key)’. 39ba429d-4eda-a03f-5a1f-a4b9c43378be

11/17/2015 23:19:53.02 w3wp.exe (0x2F50) 0x0CE0 SharePoint Foundation DistributedCache air4c Medium Token Cache: Failed to get token from distributed cache for ‘-56051706-1538882281-457311’.(This is expected during the process warm up or if data cache Initialization is getting done by some other thread). Exception: ‘Microsoft.SharePoint.DistributedCaching.SPDistributedCacheClientRequestTimeOutException: Communications with the cache cluster has experienced a delay past the timeout value,please increase the RequestTimeout of the client. —> Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0018>:SubStatus<ES0001>:The request timed out.. Additional Information : The client was trying to communicate with the server : net.tcp://SiteURL:22233 at Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBod… 39ba429d-4eda-a03f-5a1f-a4b9c43378be
11/17/2015 23:19:53.02* w3wp.exe (0x2F50) 0x0CE0 SharePoint Foundation DistributedCache air4c Medium …y, RequestBody reqBody) at Microsoft.ApplicationServer.Caching.DataCache.InternalGet(String key, DataCacheItemVersion& version, String region, IMonitoringListener listener) at Microsoft.ApplicationServer.Caching.DataCache.<>c__DisplayClass49.<Get>b__48() at Microsoft.SharePoint.DistributedCaching.SPDistributedCache.GetObject(String key) — End of inner exception stack trace — at Microsoft.SharePoint.DistributedCaching.SPDistributedCache.GetObject(String key) at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCache.GetObject(String key) at Microsoft.SharePoint.IdentityModel.SPTokenCache.TryGetCachedToken(String cacheKey)’. 39ba429d-4eda-a03f-5a1f-a4b9c43378be
11/17/2015 23:19:53.02 w3wp.exe (0x2F50) 0x0CE0 SharePoint Foundation DistributedCache air4d Medium Token Cache: Reverting to local cache to get the token for ‘0).w|s-1-5-21-311646005-56051706-1538882281-457311’. 39ba429d-4eda-a03f-5a1f-a4b9c43378be

You may read:
SharePoint 2013 Calculate business day from InfoPath date picker or Get Day from selected date in Date picker in InfoPath 2013

SharePoint Server 2016 Installation Step by Step

Backup Restore SharePoint 2013 site collection using PowerShell

Solutions:
– Apply AppFabric latest CU to all servers in the farm.
– Add backgroundGC key to DistributedCacheService.exe.config file on all cache servers
– Restart AppFabric Windows Service on all cache servers
– Restart Distributed Cache SharePoint service on all cache servers
– Reset IIS (IISRESET) on all servers in the farm



Hope this should solve the issue.

Check out Best Alternative to InfoPath -> Try Now

You May Also like the Following SharePoint Online Tutorials:

About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site SharePointSky.com

View all posts by Bijay Kumar →