We currently have an issue with Office Web Apps server 2013/SharePoint 2013 in a load balanced environment that uses https. Office Web Apps Server is configured as described on the TechNet article (http://technet.microsoft.com/en-us/library/jj219455.aspx).
More info related to our environment:
Our environment has 2 WFE, 2 Applications servers, 2 Office Web Apps servers & a SQL Cluster. The operation system is Windows Server 2012 datacenter edition.
Office Web Apps Server settings:
Image may be NSFW.
Clik here to view.
Problem Description:
During high availability tests we noticed that Office Web Servers does not work very well with PowerPoint files. Before the test we had created some test files in a SharePoint document library (Word, Excel, OneNote and PowerPoint documents).
Test 1: shutdown Office Web Apps Server 1 (master server):
- The second server takes over the entire requests and we were able to view all our documents in the browser. However, we were able to modify all our documents except some PowerPoint files. The Office Web Apps logs showed an error related
to timeout. It seems that the request was still trying to connect to the first server for some PowerPoint files (the server that is offline). We did some further investigation and we found out that some files were cached on Server 1 and some files on server
2? If Server 1 is offline we were not able to modify the related PowerPoint files in the browser. The documents that were created on Server 2 did not have this issue.
- We don’t have this issue with Word, Excel and OneNote files
- If both servers are online everything works fine
Test 2: shutdown Office Web Apps Server 2 (second server):
- Same issues as described in Step 1. However, now we were able to modify PowerPoint documents that were cached on the first server.
Does anyone knows how to solve this issue or could it be a bug? Is the problem related to Caching issues? It seems that the local caching is not synchronized across multiple servers.
Image may be NSFW.
Clik here to view.
Trace log errors:
Exception WAC Server FrontEnd unhandled exception [1] System.TimeoutException: The request channel timed out attempting to send after 00:00:10. 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://MYHIDDENURL:809/ppte/Editing.svc' has exceeded the allotted timeout of 00:00:10. 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.GetRequestStream(TransportContext& context) at System.Net.HttpWebRequest.GetRequestStream() at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.G... 4c1d1492-8fa9-45c2-b491-6f1a5dad9d89
Exception ...etOutputStream() --- End of inner exception stack trace --- at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream() at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout) at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, 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.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at Syste... 4c1d1492-8fa9-45c2-b491-6f1a5dad9d89
Exception ...m.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.Office.Server.Powerpoint.Pipe.Shared.IEditingService.TryAssignBackendToSession(BaseDocument doc, Guid sessionSeed, Guid correlationId) at Microsoft.Office.Server.Powerpoint.Pipe.Web.SessionInfoHelper.TryGetConfirmedSessionInfo(ServiceLoadBalancer balancer, BaseDocument baseDoc, Guid seed, SessionInfo& sessionInfo) at Microsoft.Office.Serve... 4c1d1492-8fa9-45c2-b491-6f1a5dad9d89
Exception ...r.Powerpoint.Pipe.Web.SessionInfoHelper.GetSessionInfo(BaseDocument baseDoc) at Microsoft.Office.Server.Powerpoint.Web.UI.EditWebView.GetSessionInfo(BaseDocument baseDocument) at Microsoft.Office.Server.Powerpoint.Web.UI.EditWebView.AppendDocumentSettings(Dictionary`2 settings, BaseDocument baseDocument) at Microsoft.Office.Server.Powerpoint.Web.UI.PptWebControl.AppendDocumentSettings(Dictionary`2 settings) at Microsoft.Office.Server.Powerpoint.Web.UI.PptWebControl.RegisterApplicationInit() at Microsoft.Office.Web.Common.AApplication.OnPreRender(EventArgs e) at Microsoft.Office.Server.Powerpoint.Web.UI.PptWebControl.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.AddedControl(Control control, Int32 inde... 4c1d1492-8fa9-45c2-b491-6f1a5dad9d89
Exception ...x) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at ASP.powerpointframe_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Page.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) StackTrace: at uls.native.dll: (sig=224a6dd5-dce4-4cf1-ae00-008c123a4894|2|uls.native.pdb, offset=26E6A) at uls.native.dll: (offset=1F8A9) 4c1d1492-8fa9-45c2-b491-6f1a5dad9d89