"Sorry, there was a problem and we can't open this PDF. If this happens again, try opening the PDF in Microsoft Word." Office WebApp Error

Problem:
When opening a work or pdf document I receive the following error popup "Sorry, there was a problem and we can't open this PDF. If this happens again, try opening the PDF in Microsoft Word."


Initial Hypothesis:
WCA was working and PDF's were opening.  The error is similar to the error received when the networking is not correct (WCA machines can't access the SharePoint WFE's).

Opening the ULS logs on the WCA machines, I can see the following error message

 "WOPI CheckFile: Catch-All Failure [exception:Microsoft.Office.Web.Common.EnvironmentAdapters.UnexpectedErrorException: HttpRequest failed ---> Microsoft.Office.Web.Apps.Common.HttpRequestAsyncException: No Response in WebException ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 10.189.xx.15:443"

Resolution: 
* My load balancer is not passing through the traffic from the WCA servers using https to the WFE's.
* Fixed the load balance so https traffic is forwarded correctly.
* The WCA servers need to speak to the WFE/SharePoint servers either on http or https depending on how the WCA farm is configured (SSL termination, with or without ssl are the 3 options).

Comments

Popular posts from this blog

"There's a configuration problem preventing us from getting your document. If possible, try opening this document in Microsoft Word." Office WebApp Error

"Sorry, Word Web App can't open this ... document because the service is busy." Office WebApp

Unable to create a "Send to Connection"- verification failed -url is a not a valid routing destination