none
单独部署office web apps server,在浏览器中无法打开URL文件 RRS feed

  • 问题

  • 在环境中单独部署了一台office web apps server,系统为server 2012,office web apps server 为2013,UNC路径的office文件可以在浏览器打开,但是url路径的文件就不行,防火墙都是关闭的,owa配置信息如下:

    在浏览器浏览URL路径office文件报错,确认直接访问URL路径文件可以正常下载:

    查看ULS日志发现以下错误信息:


    10/17/2016 09:54:05.15 w3wp.exe (0x4570)                       0x610C Office Web Apps               WAC Hosting Interaction       adhrk Unexpected HttpRequestAsync, (RedirectFollower) no response [WebExceptionStatus:ConnectFailure, url:http://cnsh023961.paicdom.local/test/test.docx, exception:System.Net.WebException: 无法连接到远程服务器 ---> System.Net.Sockets.SocketException: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。 10.37.83.74:80     在 System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)     在 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)     --- 内部异常堆栈跟踪的结尾 ---     在 System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)     在 Microsoft.Office.Web.Apps.Common.HttpRequestAsync.GetResponseCallback(IAsyncResult asyncResult)] a9b83009-c301-46b2-8765-626be1875edd
    10/17/2016 09:54:05.15 w3wp.exe (0x4570)                       0x610C Office Web Apps               WAC Hosting Interaction       adhrr Medium   HttpRequestAsync (RedirectFollower) Setting Completion [Time in ms: 21022, Bytes Read: 0] a9b83009-c301-46b2-8765-626be1875edd
    10/17/2016 09:54:05.15 w3wp.exe (0x4570)                       0x610C Office Web Apps               WAC Hosting Interaction       adhro Medium   HttpRequestAsync (RedirectFollower) End Called a9b83009-c301-46b2-8765-626be1875edd
    10/17/2016 09:54:05.15 w3wp.exe (0x4570)                       0x610C Office Web Apps               Open From Url                 i4tu Monitorable RedirectFollower: HttpRequestAsyncException for [http://cnsh023961.paicdom.local/test/test.docx] [No Response in WebException] a9b83009-c301-46b2-8765-626be1875edd
    10/17/2016 09:54:05.15 w3wp.exe (0x4570)                       0x610C Office Web Apps               Office Viewing Architecture   al1c3 Medium   AsyncResult::SetCompleted - Completed with unthrown exception Microsoft.Office.Web.Apps.Common.HttpRequestAsyncException: No Response in WebException ---> System.Net.WebException: 无法连接到远程服务器 ---> System.Net.Sockets.SocketException: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。 10.37.83.74:80     在 System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)     在 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)     --- 内部异常堆栈跟踪的结尾 ---     在 System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)     在 Microsoft.Office.Web.Apps.Common.HttpRequestAsync.GetResponseCallback(IAsyncResult asyncResult)     --- 内部异常堆栈跟踪的结尾 ---     在 Microsoft.O... a9b83009-c301-46b2-8765-626be1875edd
    10/17/2016 09:54:05.15* w3wp.exe (0x4570)                       0x610C Office Web Apps               Office Viewing Architecture   al1c3 Medium   ...ffice.Web.Apps.Common.HttpRequestAsync.End()     在 Microsoft.Office.Web.FileFetch.HttpRedirectFollower.HttpRequestCallback(IAsyncResult asyncResult) a9b83009-c301-46b2-8765-626be1875edd
    10/17/2016 09:54:05.15 w3wp.exe (0x4570)                       0x610C Office Web Apps               Open From Url                 ah8vf Monitorable AFileFetcher: Redirect follower failure: No Response in WebException a9b83009-c301-46b2-8765-626be1875edd
    10/17/2016 09:54:05.15 w3wp.exe (0x4570)                       0x610C Office Web Apps               WAC Hosting Interaction       ajdv9 Medium   HttpRequestAsync (RedirectFollower) SetCompletion Track start | setting trackers | WebRequest.Create() | Create() returned | _req.ContentLength 0 | setting user agent | setting keep alive | setting timeout callback | Start calling StartResponseProcessing | StartResponseProcessing._req.BeginGetResponse() | BeginGetResponse() returned | StartResponseProcessing RETURNS | Start RETURNS | GetResponseCallback isSync:False | _req.EndGetResponse() | GetResponseCallback WebException | RecordWebException | RecordWebException response == null | SetCompletion False | a9b83009-c301-46b2-8765-626be1875edd
    10/17/2016 09:54:05.15 w3wp.exe (0x4570)                       0x2298 Office Web Apps               Open From Url                 aipv8 Medium   Open From Url request at [http://szb-w0038039.paicdom.local/op/view.aspx?src=http%3A%2F%2Fcnsh023961.paicdom.local%2Ftest%2Ftest.docx]. FetchFileResult [UnexpectedError] Initial URL [] Final URL [] File type [0] Referrer [http://szb-w0038039.paicdom.local/op/generate.aspx] a9b83009-c301-46b2-8765-626be1875edd

    2016年10月18日 9:53

全部回复

  • 您好:

    》》HttpRequestAsync, (RedirectFollower) no response [WebExceptionStatus:ConnectFailure, url:http://cnsh023961.paicdom.local/test/test.docx, exception:System.Net.WebException: 无法连接到远程服务器 ---> System.Net.Sockets.SocketException: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败

    1.请尝试使用nslookup来检测是否能正确的解析cnsh023961.paicdom.local到相应的ip地址

    2.请尝试使用IP地址,是否能正常访问


    Best Regards,
    Cartman
    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2016年10月19日 1:26
  • nslookup能正确解析相应的IP,通过IP直接访问也不行。
    2016年10月19日 2:26
  • 您好,

    抱歉前段时间休假,回复晚了。

    如果问题还没有解决的话,您可以尝试网络抓包,检查一下在数据包在哪里中断,以下是Microsoft network monitor的下载链接:

    https://www.microsoft.com/en-us/download/details.aspx?id=4865

    或者可以发到office论坛以寻求进一步帮助:

    https://social.msdn.microsoft.com/Forums/office/en-us/home?category=officedev%2Coldevelopment%2Csharepoint2010%2Csharepoint%2Cprojectserver2010%2Cprojectprofessional2010%2Cuc


    Best Regards,
    Cartman
    Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    2016年11月8日 6:48
  • 谢谢您的帮助,问题已将解决了
    2016年11月18日 1:13
  • 谢谢您的帮助,问题已将解决了
    请问是怎样解决的,我目前也遇到这样的问题,能下载文件,就是不能在线预览,求答案
    2017年9月21日 9:19