Lync 2013 users fails to upload presentations externally

Lync 2013 Server integration with Office Web App Server enable users with content sharing features such as Presentations, Whiteboard and Polls.

One of the difficulties of troubleshooting those features within a Lync 2013 environment, is that the Office Web App server is an independent server, which does not managed by Lync.
The two has many integration points which make if very difficult to determine the root case for a problem involved the two servers.

One of the problems I’ve encountered recently, was trying to troubleshoot a problem in which external or federated users were sporadically not able to view any type of content sharing originate by a Lync 2013 user.

The customer environment consist of:

  • Lync 2010 & Lync 2013 in co-existence mode
  • Lync 2013 Enterprise Pool with 3 FE’s
  • Lync 2010 EDGE Pool which serve as the primary access point from the Internet
  • Office Web App server pool published externally using TMG

The following error message was displayed for those external/federated users who were trying to upload or view content in a meeting they were invited to:

“We can’t connect to the server for presenting right now”

image

The problem was only occurring  for users connected from the Internet, while internal users were able to share and view content with no issues.

Thinking it might be the publishing of the Office Web App Server, we’ve tried access the Office Web App Server external pool name for validation. we added the /hosting/discovery prefix to the address which resulted in a successful reply from the Office Web App Server.

image

We then tried to understand what could be the root cause for that, reviewing the Lync event log gave us a lead regarding to the Web Conferencing portion of the Lync 2010 EDGE servers:

contentType=”” responseCode=”0″><diagHeader>54010;reason=”Connection to the Web Conferencing Server in another topology could be established, but the server terminated immediately“;ClientType=Lync;Build=15.0.4569.1503;
ContentMCU=”
sip:[email protected];gruu;opaque=app:conf:Data-conf:id:VGCF62ZL“;ConferenceUri=”sip:[email protected];gruu;
opaque=app:conf:focus:id:VGCF62ZL
“;
LocalFqdn=”MININT-HR3JQ2E.redmond.corp.microsoft.com”;
ServerFQDN=”edgewebconf.domain.com”;
ServerPort=”443″;ConnectionMethod=”DataProxy”; ServerIPAddress=”xxx.xxx.xxx.xxx:443″;
ClientIPAddress=”xxx.xxx.xxx.xxx:61224″;
ConnectionType=”Wired”;SocketCode=”10054 (WSAECONNRESET)”</diagHeader><progressReports/></error></reportError>

That could explained the reason for the sporadically behavior, it seems to be caused by connection issues between the Lync 2010 Web Conferencing Edge and some of the Lync 2013 Front End’s server.

In order to verify that a Lync Front End server and an EDGE server are able to communicate with each other, we ran the following command:

netstat –n | find “8057”

On a regular basis, there should be 4 open connections between an EDGE server and every Front End Server on port 8057.

image

In our environment, we’ve noticed that only 1 out of 3 FE servers had 4 connections opened. the other 2 server had only 1 connection opened.

In addition to that, We’ve reviewed all Front Ends logs, in which we saw the following events:

clip_image002

Knowing that there is a problem connecting between the Lync 2010 EDGE servers towards some of the Lync 2013 Front Ends, we’ve decided to run network traces on the EDGE servers in order to determine if there are any kind of drops or negotiation errors.

After analyzing the traces, we were able to determine that the problem of the dropped content was due to Certificate Exchange problem. The Lync 2010 Server was having Intermediate and Root CA  Certificates which were missing from some the the other Lync 2013 Front End Servers which caused the content part to drop.

Once we’ve compared the certificates on all three servers and copied the missing ones, we were able to see 4 connections on port 8057 between the Lync 2010 EDGE server and the Lync 2013 Front Ends and then external/federated users were able to successfully view and share content using the Office Web App Servers.