Unable to load office documents over HTTPS

Copper Contributor

Server - Windows Server 2012 R2

Office Online Build Version -16.0.8471.8525

Web Application tomcat version - 9

Web Application language - Javascript and Java 1.8

Microsoft.NET framework installed  on office online server - V4.0.3

 

 

Our Web Application and the office online are located at the same server .

 

We are able to work with office documents via http in the application currently without issues with all the necessary configuration in the office Web Apps farm .

We recently included SSL in the web Application(using Tomcat Server ) And Also configured it on the IIS and have it binded  to the SSL port . The certificate is domain specific and we got it purchased from comodo . And the certificate seems to be configured on the Office Web Apps farm following the official  Microsoft documentation . We did try the https:// Domain/op/generate.aspx test to load the document and that worked with the https and office docs loaded fine .Right now when we try to open any existing office document through the Web Application we are unable to load it in the Iframe and we are an exception saying "Sorry the document cannot be loaded "  . Checking the ULS logs we found this error to appear every time we try to open any existing office Document:

 

 ULS Logs Error : wac-server: WOPI CheckFile: Catch-All Failure [exception:Microsoft.Office.Web.Common.EnvironmentAdapters.FileUnknownException: WOPI 400. Wopi,CheckFile,WACSERVER ---> System.Web.HttpException: BadRequest ---  ---  Microsoft.Office.Web.Apps.Common.WopiDocument.LogAndThrowWireException(HttpRequestAsyncResult result, HttpRequestAsyncException delayedException) в Microsoft.Office.Web.Common.HttpRequestAsync.End() в Microsoft.Office.Web.Apps.Common.WopiDocument.CheckWopiFile()]

0 Replies