none
Unexpected error occurred in method 'GetObject' , usage 'Distributed Logon Token Cache' RRS feed

  • Question

  • Hello,

    I am dealing with a SharePoint 2013 farm (configuration database version 15.0.5127.1000) and noticing the following error in ULS:

    Can anyone tell me what maybe the cause of this?

    Thank you,

    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://SERVER1.CONTOSO.COM: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)'.


    Rumi

    Monday, September 16, 2019 9:04 PM

All replies

  • Hi Rumi,

    You may need to increase the timeout for your cache on your environment.

    $LogonTokenCache = Get-SPDistributedCacheClientSetting -ContainerType DistributedLogonTokenCache
    $LogonTokenCache.RequestTimeout = 3000 
    Set-SPDistributedCacheClientSetting -ContainerType DistributedLogonTokenCache -DistributedCacheClientSettings $LogonTokenCache

    References:

    https://www.habaneroconsulting.com/stories/insights/2013/sharepoint-2013-distributed-cache-bug

    https://social.technet.microsoft.com/Forums/en-US/0ca38c40-3c91-4e34-8c1c-8c196a5a2cc5/unexpected-issues-with-distributed-cache?forum=sharepointgeneral

    Best Regards,

    Michael Han


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Tuesday, September 17, 2019 6:19 AM
  • Michael,

    Below is what it is currently configured.  Do we need to run the command on one of the servers that is running the DC service?  Also, the version of AppFabric 1.1 for Windows Server is 1.1.2106.32.  And, the Microsoft.ApplicationServer.Caching.Configuration.dll version shows to be 1.0.4639.0.  It appears that this is AppFabric 1.1 CU 1.  Do you think we need to update this version of AppFabric 1.1 to latest CU?  And, do we need to install the update only on the SharePoint servers running the Distributed Cache service?

    Thank you,

     

    PS C:\Windows\system32> Add-PSSnapin Microsoft.SharePoint.Powershell


    PS C:\Windows\system32> Get-SPDistributedCacheClientSetting
    cmdlet Get-SPDistributedCacheClientSetting at command pipeline position 1
    Supply values for the following parameters:
    ContainerType: distributedlogontokencache


    ChannelInitializationTimeout : 60000
    ConnectionBufferSize         : 131072
    MaxBufferPoolSize            : 268435456
    MaxBufferSize                : 8388608
    MaxOutputDelay               : 2
    ReceiveTimeout               : 60000
    ChannelOpenTimeOut           : 20
    RequestTimeout               : 20
    MaxConnectionsToServer       : 4


    Rumi

    Tuesday, September 17, 2019 1:54 PM
  • Hi Rumi,

    It is a known bug in SharePoint (2013 & 2016) Distributed Cache when using AppFabric pre-CU4. These issues can be fixed by applying the latest AppFabric CU and enabling the background garbage collection feature. Read this more:

    https://www.incworx.com/resolving-known-bugs-in-distributed-cache-sharepoint-2013-2016

    I would suggest you install the latest cu AppFabric 1.1. Yes, you are right. The latest CU need to be installed on all the servers  hosting Distributed Cache.

    CU packages for AppFabric 1.1:

    https://blogs.msdn.microsoft.com/distributedservices/2014/02/26/how-to-update-windows-server-appfabric-1-1-with-cumulative-update-packages/

    Best Regards,

    Michael Han


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Wednesday, September 18, 2019 1:29 AM
  • Hi,

    How are things going? Is there any update on your issue?

    Please remember to mark the reply as an answer if it helps you.

    Best Regards,

    Michael Han

    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Tuesday, September 24, 2019 6:12 AM
  • Michael,

    Our UAT environment appears to have the latest AppFabric CUs (pre dates me taking over).  I am working directly on production.  I'm wondering how risky it is to update AppFabric CU and enabling the background garbage collection feature in production?  

    Regards,


    Rumi

    Thursday, October 3, 2019 12:23 AM