Microsoft IIS Web Server
--
Questions
--
Followers
Top Experts
1 Lync Standard Front End server
1 Lync Edge server
1 Windows 2012 server with IIS acting as a reverse proxy using URL rewrite
1 Office Web Apps server
Currently we have Lync working as it should for Lync standard clients installed on PCs inside and outside of the office. We have a public cert from DigiCert which is a UC multi-domain certificate with SANs for every name that would be used publicly by Lync.
The problem is that from outside of the office no apple devices (iPad or iPhone) can sign into Lync via either the 2010 or 2013 client, though Android devices can without an issue using both the 2010 and 2013 clients.
There are a few known issues we are facing including:
1) For some reason the Edge server is not publishing the public certificate via the sip.domain.com public interface. While the Topology builder says that the public cert is properly configured, the Microsoft Remote Connectivity Analyzer gives the following errors:
Testing remote connectivity for user <a valid SIP URI> to the Microsoft Lync server.
Specified remote connectivity test(s) to Microsoft Lync server failed. See details below for specific failure reasons.
Test Steps
Attempting to resolve the host name sip.consoto.com in DNS.
The host name resolved successfully.
Additional Details
IP addresses returned: <public IP of LyncEdge server for access/sip interface>
Testing TCP port 443 on host sip.consoto.com to ensure it's listening and open.
The port was opened successfully.
Testing the SSL certificate to make sure it's valid.
The SSL certificate failed one or more certificate validation checks.
Test Steps
The Microsoft Connectivity Analyzer is attempting to obtain the SSL certificate from remote server sip.consoto.com on port 443.
The Microsoft Connectivity Analyzer wasn't able to obtain the remote SSL certificate.
Additional Details
The certificate couldn't be validated because SSL negotiation wasn't successful. This could have occurred as a result of a network error or because of a problem with the certificate installation.
2) Microsoft Lync Connectivity Analyzer ends saying that minimum requirements are met, but still gives warnings as follows:
Starting tests for Mobility (MCX) service
Verifying internal Mobility (MCX) service: https://lync.consoto.com/Mcx/McxService.svc
Successfully obtained the WS-Metadata Exchange (MEX) document using GET. The service did not require authorization.
Verifying external Mobility (MCX) service: https://lync.consoto.com/Mcx/McxService.svc
Successfully obtained the WS-Metadata Exchange (MEX) document using GET. The service did not require authorization.
Verifying internal Mobility (MCX) service: https://lync.consoto.com/Mcx/McxService.svc
Failed to obtain the WS-Metadata Exchange (MEX) document using POST for https://lync.consoto.com/Mcx/McxService.svc/mex. The service did not require authorization.
Verifying external Mobility (MCX) service: https://lync.consoto.com/Mcx/McxService.svc
Failed to obtain the WS-Metadata Exchange (MEX) document using POST for https://lync.consoto.com/Mcx/McxService.svc/mex. The service did not require authorization.
Completed tests for Mobility (MCX) service.
None, AutoInternalDNSFail, AutoInternalSecureD, AutoInternalUnsecureD, ManualDNSFail, ManualSecureD, ManualUnsecureD, AuthBrokerInternalLMXCheck
Your deployment meets the minimum requirements for Lync mobile apps.
3) an iPad connection attempt from external fails immediately displaying the message:
"Can't connect to the server. It might be unavailable. Also please check your network connection, sign-in address and server addresses."
Then viewing the connection logs we see lines such as:
2013-08-11 21:10:07.564 Lync[28918:907] INFO APPLICATION /Users/comobuildadmin/icom
2013-08-11 21:10:07.565 Lync[28918:907] WARNING TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.598 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.599 Lync[28918:6613] ERROR TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.601 Lync[28918:6613] ERROR TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.671 Lync[28918:907] ERROR APPLICATION /Users/comobuildadmin/icom
2013-08-11 21:10:07.694 Lync[28918:907] INFO APPLICATION /Users/comobuildadmin/icom
2013-08-11 21:10:07.695 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.696 Lync[28918:907] INFO APPLICATION /Users/comobuildadmin/icom
2013-08-11 21:10:07.697 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.700 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.701 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.702 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.702 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.703 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.704 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.705 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.706 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.707 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.710 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.711 Lync[28918:6613] ERROR TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.712 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.726 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:07.727 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:10:33.096 Lync[28918:907] INFO APPLICATION /Users/comobuildadmin/icom
2013-08-11 21:10:33.098 Lync[28918:907] INFO APPLICATION /Users/comobuildadmin/icom
2013-08-11 21:10:33.100 Lync[28918:907] INFO APPLICATION /Users/comobuildadmin/icom
2013-08-11 21:10:33.101 Lync[28918:907] INFO APPLICATION /Users/comobuildadmin/icom
2013-08-11 21:11:02.835 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:11:02.837 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:11:02.838 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:11:02.839 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:11:02.840 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:11:02.841 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:11:02.842 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:11:02.842 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:11:02.843 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:11:02.844 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
*ÜHܘ
2013-08-11 21:11:02.844 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:11:02.846 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
2013-08-11 21:11:02.846 Lync[28918:6613] INFO TRANSPORT /Users/comobuildadmin/icom
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>502 - Web server received an invalid response while acting as a gateway or proxy server.</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:
h2{font-size:1.7em;margin:
h3{font-size:1.2em;margin:
#header{width:96%;margin:0
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{backgro
-->
</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
<div class="content-container">
<h2>502 - Web server received an invalid response while acting as a gateway or proxy server.</h2>
<h3>There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.</h3>
</fieldset></div>
</div>
</body>
</html>
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
At least it looks like. (I don't use OWA and public certificates)
I can connect to Lync 2013 using Lync client on Android or WM7, but with Lync client on any IOS OS.
I'm wondering if you have came any further with resolving your problem...
Internal CA certificate is installed on edge and proxy server. I have also checked routes on both servers and they look fine to me.
But I could not find any sign of edge and proxy certificates on lync front end server (are they needed also in oposit way?)
At ios client logs the errors begin with:
GET https://lync.externaldomain.com/ucwa/v1/applications
HttpHeader:Server Microsoft-IIS/8.0
HttpHeader:StatusCode 401
HttpHeader:X-MS-Server-Fqd
HttpHeader:X-MS-WebTicketS
HttpHeader:X-MS-WebTicketU
HttpHeader:X-Powered-By ASP.NET, ARR/2.5
...
<title>401 - Unauthorized: Access is denied due to invalid credentials.</title>
...
<div class="content-container">
<h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>
<h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>
</fieldset></div>
...
...
POST https://lync.b-s.si/webticket/webticketservice.svc
HttpHeader:Server Microsoft-IIS/8.0
HttpHeader:StatusCode 502
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>502 - Web server received an invalid response while acting as a gateway or proxy server.</title>
...
<div id="header"><h1>Server Error</h1></div>
<h2>502 - Web server received an invalid response while acting as a gateway or proxy server.</h2>
<h3>There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.</h3>
</fieldset></div>
I plan to go again thru whole configuration (I hope on friday). Have you used some links for edge and proxy configuration?
Maybe it will be the best that I open an new question and give you a link to it if you are so kind to give me some suggestions.
https://www.experts-exchange.com/questions/28262136/Lync-2013-mobile-IOS-devices-not-working.html?anchorAnswerId=39565634#a39565634
Any ideas are welcome.
Thank you!






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
This would be mostly due to the Proxy server (ARR) that you're using! if you have got TMG i'd better recommend using TMG to configure Lync Mobility.
I owe you a feedback about my problem. It was resolved by installing Hotfix for Microsoft Application Request Routing Version 2.5 for IIS7 (KB 2732764) on proxy server.
Thank you again for your support.
Hope I will have the opportunity to return you the favor.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Microsoft IIS Web Server
--
Questions
--
Followers
Top Experts
IIS is Internet Information Services, the web server included with Windows Server operating systems. All current versions are built on a modular architecture; modules can be added or removed individually so that those required for specific functionality are installed. The full installation of IIS includes HTTP, security, content, compression, caching, logging and diagnostics.