AppFabric Crashing Affecting NewsFeeds In SharePoint 2013

A client of me deployed the SharePoint 2013 RTM version very recently and was having a problem with newsfeeds not being updated. I went onsite to look at the issue, and in the ULS logs there were a couple different issues, namely that AppFabric was crashing. The exact errors were:

Faulting application name: DistributedCacheService.exe, version: 1.0.4632.0, time stamp: 0x4eafeccf
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x6u73421f
Exception code: 0xe0434352
Fault offset: 0x000000000000cacd
Faulting process id: 0x142c
Faulting application start time: 1d3e743683765n
Faulting application path: C:\Program Files\AppFabric 1.1 for Windows Server\DistributedCacheService.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll

Application: DistributedCacheService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.UriFormatException
at Microsoft.ApplicationServer.Caching.VelocityWindowsService.StartServiceCallback(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

Which actually even robust in it’s error message, doesn’t tell you a shit ton about whats exactly going on. To get the exact error, look under the Feed Cache category and you will see the error No cache hosts are present or running in the farm.

To repair this error, follow these steps:

  1. Open up Central Administration
  2. Select Application Management
  3. Select Manage Services on Server from Service Applications
  4. Locate the Distributed Cache service, select start if stopped.

Boom news feeds should work now.