Lync 2013 external to internal IM is slow or messages do not arrive

Hi,
I'm building a Lync 2013 setup on Windows Server 2012. Internal Lync 2013 standard server with Lync 2013 edge server in a DMZ. No federation.
Internally al users are able to chat, audio/video and conferance.
My problem is that external users are able to sign in and start a chat with an internal user but it looks like communication is only working in one way.
Example:
User 1 is external;
User 2 is internal;
User 1 starts IM with user 2 and says "hi"
User 2 receives the IM and accepts and is seeing the "Hi" messages from user 1.
User 2 reply's with "Hi" back and that messages does not arrive at user 2. Some time's not at all, some times after a minute or 2.
When user 1 is receiving the reply user 2 still see's the rotating dot's that the message is beeing send. and after a while user 2 receives:  "This message may not have been sent to User1
because there was no response from the server."
The situation seems to occures only from internally to externally and also with both users externally. I cannot see any error's in the event logs of the Internal or Edge server. De debugging tools is showing me error's like:
Text: Message or one of its headers caused SIP transaction processing error
Result-Code: 0xc3e93f5b SIPPROXY_E_TRANSACTION_TIMEOUT
Text: Message was discarded by the application
Result-Code: 0xc3e93ec6 SIP_E_AUTH_CANNOT_CHALLENGE
Audio/video requests are also arriving at the other user but are unable to establish a connection.
I can't really figure out what is going wrong. Certificates are correct, i think firewall rules are in place otherwise i have no communication at all i'm guessing. Routes also seem ok.
Some help would be great
Regards
Pascal

Hi,
The internal user Lynctest is sending a message to pslijkerman who is connected externally.
User pslijkerman receives the messages but the lynctest user keeps seeing rotating dots (processing message or something) after 1 minute or so the following messages is displayed in the Lync Im screen for user lynctest.
======
This message may not have been sent to Pascal Slijkerman because there was no response from the server.
======
This is some logging from the internal lync server.
===========
TL_INFO(TF_PROTOCOL) [0]226C.2528::04/09/2013-07:53:17.056.0013034f (SIPStack,SIPAdminLog::ProtocolRecord::Flush:2420.idx(196))[2737352855] $$begin_record
Trace-Correlation-Id: 2737352855
Instance-Id: 1304
Direction: incoming
Peer: srv-domain34.domain.nl:49510
Message-Type: request
BYE sip:[email protected];opaque=user:epid:L30jBQ2CP1G71x2KsIF2cAAA;gruu SIP/2.0
Start-Line: BYE sip:[email protected];opaque=user:epid:L30jBQ2CP1G71x2KsIF2cAAA;gruu SIP/2.0
From: "" <sip:[email protected]>;epid=36889192ba;tag=c84477430c
To: "lynctest"<sip:[email protected]>;tag=ffbc4dc4e5;epid=b58bd39e10
Call-ID:  f295aa80628b4c7e8e0896ed216ec5b2
CSeq: 1 BYE
Via:  SIP/2.0/TLS 172.xx.xx.1:49510;branch=z9hG4bK49BC5E54.654FC7DF7B8FBC80;branched=FALSE
Via:  SIP/2.0/TLS 192.xx.xx.164:49524;received=84.xx.xx.204;ms-received-port=49524;ms-received-cid=E00
Route:  <sip:SRV-domain34.domain.nl:5061;transport=tls;opaque=state:T:F;lr>;tag=BDBD058532075001772DF63E1A794C59
Max-Forwards:  69
Content-Length:  0
Ms-client-diagnostics:  52112;reason="Callee did not receive an ACK for the 200 OK"
$$end_record
TL_INFO(TF_DIAG) [0]226C.2528::04/09/2013-07:53:17.087.00130d06 (SIPStack,SIPAdminLog::WriteDiagnosticEvent:1207.idx(778))[2737352855] $$begin_record
Severity: information
Text: Routed a request that came from a server trusted for routing
SIP-Start-Line: BYE sip:10.xx.xx.30:52211;transport=tls;ms-opaque=07531f0291;ms-received-cid=11400;grid SIP/2.0
SIP-Call-ID: f295aa80628b4c7e8e0896ed216ec5b2
SIP-CSeq: 1 BYE
Peer: 10.xx.xx.30:52211
Data: destination="[email protected]"
$$end_record
TL_INFO(TF_PROTOCOL) [0]226C.2528::04/09/2013-07:53:17.087.00130d62 (SIPStack,SIPAdminLog::ProtocolRecord::Flush:2420.idx(196))[2737352855] $$begin_record
Trace-Correlation-Id: 2737352855
Instance-Id: 1304
Direction: outgoing
Peer: 10.xx.xx.30:52211
Message-Type: request
BYE sip:10.xx.xx.30:52211;transport=tls;ms-opaque=07531f0291;ms-received-cid=11400;grid SIP/2.0
Start-Line: BYE sip:10.xx.xx.30:52211;transport=tls;ms-opaque=07531f0291;ms-received-cid=11400;grid SIP/2.0
From: "" <sip:[email protected]>;epid=36889192ba;tag=c84477430c
To: "lynctest"<sip:[email protected]>;tag=ffbc4dc4e5;epid=b58bd39e10
Call-ID: f295aa80628b4c7e8e0896ed216ec5b2
CSeq: 1 BYE
Via: SIP/2.0/TLS 10.xx.xx.37:5061;branch=z9hG4bK445B1BFE.41682B6C1B09AC7D;branched=FALSE;ms-internal-info="bajkITWtf7W6iXpPN4ntXDe2Uuk9SpjNhAw17jrz6DmT9sK2hB10T2EQAA"
Via: SIP/2.0/TLS 172.xx.xx.1:49510;branch=z9hG4bK49BC5E54.654FC7DF7B8FBC80;branched=FALSE;ms-received-port=49510;ms-received-cid=13800
Via: SIP/2.0/TLS 192.xx.xx.164:49524;received=84.xx.xx.204;ms-received-port=49524;ms-received-cid=E00
Max-Forwards: 68
Content-Length: 0
Ms-client-diagnostics: 52112;reason="Callee did not receive an ACK for the 200 OK"
$$end_record
TL_INFO(TF_PROTOCOL) [0]226C.2528::04/09/2013-07:53:17.087.00130f28 (SIPStack,SIPAdminLog::ProtocolRecord::Flush:2420.idx(196))[2737352855] $$begin_record
Trace-Correlation-Id: 2737352855
Instance-Id: 1306
Direction: incoming
Peer: 10.xx.xx.30:52211
Message-Type: response
SIP/2.0 481 Call Leg/Transaction Does Not Exist
Start-Line: SIP/2.0 481 Call Leg/Transaction Does Not Exist
From: "" <sip:[email protected]>;epid=36889192ba;tag=c84477430c
To: "lynctest"<sip:[email protected]>;tag=ffbc4dc4e5;epid=b58bd39e10
Call-ID:  f295aa80628b4c7e8e0896ed216ec5b2
CSeq: 1 BYE
Via:  SIP/2.0/TLS 10.xx.xx.37:5061;branch=z9hG4bK445B1BFE.41682B6C1B09AC7D;branched=FALSE;ms-internal-info="bajkITWtf7W6iXpPN4ntXDe2Uuk9SpjNhAw17jrz6DmT9sK2hB10T2EQAA"
Via:  SIP/2.0/TLS 172.xx.xx.1:49510;branch=z9hG4bK49BC5E54.654FC7DF7B8FBC80;branched=FALSE;ms-received-port=49510;ms-received-cid=13800
Via:  SIP/2.0/TLS 192.xx.xx.164:49524;received=84.xx.xx.204;ms-received-port=49524;ms-received-cid=E00
Content-Length:  0
Ms-client-diagnostics:  52085;reason="Dialog does not exist"
$$end_record
TL_INFO(TF_DIAG) [0]226C.2528::04/09/2013-07:53:17.087.0013142e (SIPStack,SIPAdminLog::WriteDiagnosticEvent:1207.idx(778))[2737352855] $$begin_record
Severity: information
Text: Response successfully routed
SIP-Start-Line: SIP/2.0 481 Call Leg/Transaction Does Not Exist
SIP-Call-ID: f295aa80628b4c7e8e0896ed216ec5b2
SIP-CSeq: 1 BYE
Peer: srv-domain34.domain.nl:49510
$$end_record
TL_INFO(TF_PROTOCOL) [0]226C.2528::04/09/2013-07:53:17.087.00131486 (SIPStack,SIPAdminLog::ProtocolRecord::Flush:2420.idx(196))[2737352855] $$begin_record
Trace-Correlation-Id: 2737352855
Instance-Id: 1306
Direction: outgoing
Peer: srv-domain34.domain.nl:49510
Message-Type: response
SIP/2.0 481 Call Leg/Transaction Does Not Exist
Start-Line: SIP/2.0 481 Call Leg/Transaction Does Not Exist
From: "" <sip:[email protected]>;epid=36889192ba;tag=c84477430c
To: "lynctest"<sip:[email protected]>;tag=ffbc4dc4e5;epid=b58bd39e10
Call-ID: f295aa80628b4c7e8e0896ed216ec5b2
CSeq: 1 BYE
Via: SIP/2.0/TLS 172.xx.xx.1:49510;branch=z9hG4bK49BC5E54.654FC7DF7B8FBC80;branched=FALSE;ms-received-port=49510;ms-received-cid=13800
Via: SIP/2.0/TLS 192.xx.xx.164:49524;received=84.xx.xx.204;ms-received-port=49524;ms-received-cid=E00
Content-Length: 0
Ms-client-diagnostics: 52085;reason="Dialog does not exist"
$$end_record
============
Thanks
Regards
Pascal

Similar Messages

  • Trying to save files on "PC" side of Mac, using a FreeAgent external harddrive.  I get the error message E:/not accessible or something similar.  Can I not use an external harddrive, if not, what is the best way to back up PC side of a Mac

    Trying to save files on "PC" side of Mac, using a FreeAgent external harddrive.  I get the error message E:/not accessible  access denied.  Can I not use an external harddrive, if not, what is the best way to back up PC side of a Mac

    Apple has really crappy NTFS read-only that does not always work. And it is probably a licensing issue.
    Paragon Software is constantly being updated and supported with their NTFS for Mac OS X - they also have an HFS+ driver for Windows that works - Apple's HFS+ read-only driver for Boot Camp / Windows does not.
    I keep seeing problems and lack of support for MacFUSE, that could change.
    http://www.bing.com/search?q=ntfs+for+mac

  • Lync 2013 External Mobility Not Working

    Hello,
    The issue I seem to be having is in regards to the external mobility access. 
    So far everything else in our environment seems to be functioning properly. 
    The Lync desktop client works both internally as well as externally. 
    The Lync internal mobility also works.  The only issue seems to be with the external mobility part.
    I tried going to the external autodiscover address for our system, https://lyncdiscover.mydomain.com but it doesn’t return anything either. 
    I think the issue lies somewhere with DNS or my reverse proxy, however I’m having a hard time being able to just start changing settings seeing as how I don’t want to break everything that is currently working for our users.
    I’ve been through a lot of the post here but I still can’t seem to find the settings to fix the issue I’m having.
    Here is a breakdown of my settings I feel are in question:
    1 – Lync 2013 FE Server (LYNC01)
    1 – Lync Edge Server (EDGE01)
    1 – Reverse Proxy Server (RPROXY01)
    Public DNS:
    A Records
    SIP.mydomain.com                          
    205.XXX.XXX.91 (Access Service on EDGE01)
    AccessEdge.mydomain.com              
    205.XXX.XXX.91 (Access Service on EDGE01)
    WebConfEdge.mydomain.com            205.XXX.XXX.92 (WebConf Service on EDGE01)
    AVEdge.mydomain.com                    
    205.XXX.XXX.93 (A/VEdge Service on EDGE01)
    meet.mydomain.com                        
    205.XXX.XXX.94 (Reverse Proxy Server)
    dialin.mydomain.com                        
    205.XXX.XXX.94 (Reverse Proxy Server)
    lync.mydomain.com                          
    205.XXX.XXX.94 (Reverse Proxy Server)
    lyncdiscover.mydomain.com               205.XXX.XXX.94 (Reverse Proxy
    Server)
    SRV
    _sip._tls.mydomain.com:443                                     
    AccessEdge.mydomain.com
    _sipfederationtls._tcp.mydomain.com:5061             
    AccessEdge.mydomain.com
    _xmpp-server._tcp.mydomain.com                          
    AccessEdge.mydomain.com
    Private DNS:
    A Records
    LYNC01                                            
    172.XXX.XXX.65 (LYNC01 FE Server)
    Admin                                              
    172.XXX.XXX.65 (LYNC01 FE Server)
    Dialin                                               
    172.XXX.XXX.65 (LYNC01 FE Server)
    LyncDiscoverInternal                         
    172.XXX.XXX.65 (LYNC01 FE Server)
    Meet                                                
    172.XXX.XXX.65 (LYNC01 FE Server)
    Sip                                                  
    172.XXX.XXX.65 (LYNC01 FE Server)
    EDGE01                                            
    172.XXX.XXX.66 (EDGE01 Server)
    RPROXY01                                        
    172.XXX.XXX.70 (Reverse Proxy Server)
    Lync                                                 
    205.XXX.XXX.94 (Reverse Proxy Server)
    LyncDiscover  
    (CNAME)                    
    lync.gmsd.k12.pa.us
    SRV
    _xmpp-server._tcp.mydomain.com                          
    Sip.mydomain.com
    _sipinternaltls._tcp.mydomain.com:5061                 
    LYNC01.mydomain.com
    Lync Server Services Addresses
    Lync FE Server:                      \\
    LYNC01.mydomain.com (172.XXX.XXX.65)
    File Store:                              \\
    LYNC01.mydomain.com\Share
    Office Web Apps Server:
             \\lyncowa.mydomain.com
    External Web Services:
               \\lync.mydomain.com
    Edge Server Services Addresses
    Edge Server:                  
    \\ EDGE01.mydomain.com (172.XXX.XXX.66)
    Access Edge Service:       
    \\AccessEdge.mydomain.com (172.XXX.XXX.67, 205.XXX.XXX.91)
    Web Conference Service:  \\WebConfEdge.mydomain.com (172.XXX.XXX.68, 205.XXX.XXX.92)
    A/V Edge Service:            \\WebConfEdge.mydomain.com
    (172.XXX.XXX.69, 205.XXX.XXX.93)
    Reverse Proxy Server Addresses
    Reverse Proxy Server:            
    RPROXY01.mydomain.com (172.XXX.XXX.70, 205.XXX.XXX.94)
    Server Farms:
    Dialin.mydomain.com:
    Dialin.mydomain.com (LYNC01)
    Meet.mydomain.com:
    Meet.mydomain.com (LYNC01)
    LyncDiscover.mydomain.com:
               LYNC01.mydomain.com (LYNC01)
    Lync.mydomain.com:                       
    LYNC01.mydomain.com (LYNC01)
    Edge External Cert
    AccessEdge.mydomain.com
    Sip.mydomain.com
    WebConfEdge.mydomain.com
    Reverse Proxy Cert
    lync.mydomain.com
    meet.mydomain.com
    dialin.mydomain.com
    lyncdiscover.mydomain.com
    lyncowa.mydomain.com
    With everything else working as it should, this external mobility part is just not really making sense to me.  I have also verified that the correct ports are being using on the reverse proxy as well for the server farms,
    8080 and 4443.  Any help would be greatly appreciated.  Thank you.

    I'm also attaching the log file from running Lync Connectivity Analyzer if it helps.
    [6/10/2014 7:30:18 AM] [DEBUG] Logging test parameters:
    [6/10/2014 7:30:18 AM] [DEBUG] SIP Uri: [email protected]
    [6/10/2014 7:30:18 AM] [DEBUG] User Name:
    [6/10/2014 7:30:18 AM] [DEBUG] Discovery Type: Automatic Discovery
    [6/10/2014 7:30:18 AM] [DEBUG] Network access: NetworkAccessExternal
    [6/10/2014 7:30:18 AM] [DEBUG] Selected client: ApplicationLyncMobile2010
    [6/10/2014 7:30:18 AM] [SUBHEADING] Starting Lync server autodiscovery
    [6/10/2014 7:30:18 AM] [INFO] Please wait; this test may take several minutes to complete...
    [6/10/2014 7:30:18 AM] [SUBHEADING] Starting automatic discovery for secure (HTTPS) internal channel
    [6/10/2014 7:30:18 AM] [DEBUG] Sending HTTP request to https://lyncdiscoverinternal.mydomain.com/[email protected]
    [6/10/2014 7:30:18 AM] [DEBUG] Cookie  found in autodiscover response: StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
      Pragma: no-cache
      X-MS-Server-Fqdn: LYNC01.mydomain.com
      X-Content-Type-Options: nosniff
      Cache-Control: no-cache
      Date: Tue, 10 Jun 2014 11:30:18 GMT
      Server: Microsoft-IIS/7.5
      X-AspNet-Version: 4.0.30319
      X-Powered-By: ASP.NET
      Content-Length: 670
      Content-Type: application/vnd.microsoft.rtc.autodiscover+xml; v=1
      Expires: -1
    [6/10/2014 7:30:18 AM] [DEBUG] Parsing the response for URL https://lyncdiscoverinternal.mydomain.com/[email protected].  Full response: <?xml version="1.0" encoding="utf-8"?><AutodiscoverResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" AccessLocation="Internal"><Root><Link token="Domain" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/domain" /><Link token="User" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/user"
    /><Link token="OAuth" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/oauth/user" /><Link token="Self" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root" /></Root></AutodiscoverResponse>
    [6/10/2014 7:30:18 AM] [DEBUG] Autodiscover URL https://lyncdiscoverinternal.mydomain.com/[email protected] redirected to https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/user
    [6/10/2014 7:30:18 AM] [DEBUG] Sending HTTP request to https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/[email protected]
    [6/10/2014 7:30:18 AM] [DEBUG] Cookie  found in autodiscover response: StatusCode: 401, ReasonPhrase: 'Unauthorized', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
      X-MS-WebTicketURL: https://lync01.mydomain.com/WebTicket/WebTicketService.svc
      X-MS-WebTicketSupported: cwt,saml
      X-MS-Server-Fqdn: LYNC01.mydomain.com
      X-Content-Type-Options: nosniff
      Date: Tue, 10 Jun 2014 11:30:18 GMT
      Server: Microsoft-IIS/7.5
      X-Powered-By: ASP.NET
      Content-Length: 1293
      Content-Type: text/html
    [6/10/2014 7:30:18 AM] [DEBUG] Authorization required for https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/[email protected]
    [6/10/2014 7:30:18 AM] [DEBUG] Obtaining WebTicket from https://lync01.mydomain.com/WebTicket/WebTicketService.svc
    [6/10/2014 7:30:18 AM] [DEBUG] On-premises WebTicket server: https://lync01.mydomain.com/WebTicket/WebTicketService.svc/Auth
    [6/10/2014 7:30:18 AM] [DEBUG] AcquireTicketAsync succeeded for https://lync01.mydomain.com/WebTicket/WebTicketService.svc/Auth
    [6/10/2014 7:30:18 AM] [DEBUG] WebTicket: <saml:Assertion MajorVersion="1" MinorVersion="1" AssertionID="SamlSecurityToken-4e51bf2a-2849-4779-a595-a5040c22ff1b" Issuer="https://lync01.mydomain.com/63b16135-930c-5e0b-998c-7ed6bc68b6f8" IssueInstant="2014-06-10T11:30:18.173Z"
    xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"><saml:Conditions NotBefore="2014-06-10T11:30:18.173Z" NotOnOrAfter="2014-06-10T19:23:01.173Z"><saml:AudienceRestrictionCondition><saml:Audience>https://lync01.mydomain.com/</saml:Audience></saml:AudienceRestrictionCondition></saml:Conditions><saml:AuthenticationStatement
    AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:unspecified" AuthenticationInstant="2014-06-10T11:30:18.173Z"><saml:Subject><saml:NameIdentifier Format="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/uri">sip:[email protected]</saml:NameIdentifier><saml:SubjectConfirmation><saml:ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:holder-of-key</saml:ConfirmationMethod><KeyInfo
    xmlns="http://www.w3.org/2000/09/xmldsig#"><e:EncryptedKey xmlns:e="http://www.w3.org/2001/04/xmlenc#"><e:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes256"></e:EncryptionMethod><KeyInfo><KeyName>63b16135-930c-5e0b-998c-7ed6bc68b6f8:8d152b04ce7ddbf</KeyName></KeyInfo><e:CipherData><e:CipherValue>7M3R6naVg1ifGvuQKTMS+4EjHlJrdZeQqsqobNZUhMxHE9y7klUmXw==</e:CipherValue></e:CipherData></e:EncryptedKey></KeyInfo></saml:SubjectConfirmation></saml:Subject></saml:AuthenticationStatement><Signature
    xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod><Reference
    URI="#SamlSecurityToken-4e51bf2a-2849-4779-a595-a5040c22ff1b"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></Transform><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></Transform></Transforms><DigestMethod
    Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>otvulmCO6kY0HQdwfqQXUZT/pdmKSdVZJTU0f/MS0N8=</DigestValue></Reference></SignedInfo><SignatureValue>WUGQOtUzu6RtuSKdHHCQZWxiOFVf8HT181U6tS8IVifyyAzA046lm0SBKbFpLzwMEAXsf3ZmkHQkzK/AfS6WJ92WkAz3LLEsqSqGBGQoxe5WPXMlfA9J4+1lnT6Zsfq7fb9aLqZch2oSga3yj0CeQgsbcmppQhQO86zJ468YskVyAk4Y/oIOyThKg/+Ce8V4tFw575+zYatuSzKvUtgHq+DKJRO7T2M8r0aoCx65ZgfCxJpA+bqalDz3BesqOzMKfWTn33fwArVh8JMF1ohNkliwOegTeEEq4aH2Sg04N7ZfLrhoFlWeXuZWn1AzWppyl+FBfwlbLOVbQgP6/3NdMQ==</SignatureValue><KeyInfo><o:SecurityTokenReference
    xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><o:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#ThumbprintSHA1">/YVCIdf+YFyKopRflv61uWov2vs=</o:KeyIdentifier></o:SecurityTokenReference></KeyInfo></Signature></saml:Assertion>
    [6/10/2014 7:30:18 AM] [DEBUG] Sending HTTP request to https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/[email protected]
    [6/10/2014 7:30:18 AM] [DEBUG] Cookie  found in autodiscover response: StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
      Pragma: no-cache
      X-MS-Server-Fqdn: LYNC01.mydomain.com
      X-Content-Type-Options: nosniff
      Cache-Control: no-cache
      Date: Tue, 10 Jun 2014 11:30:18 GMT
      Server: Microsoft-IIS/7.5
      X-AspNet-Version: 4.0.30319
      X-Powered-By: ASP.NET
      Content-Length: 1646
      Content-Type: application/vnd.microsoft.rtc.autodiscover+xml; v=1
      Expires: -1
    [6/10/2014 7:30:18 AM] [DEBUG] Parsing the response for URL https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/[email protected].  Full response: <?xml version="1.0" encoding="utf-8"?><AutodiscoverResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" AccessLocation="Internal"><User><SipServerInternalAccess fqdn="LYNC01.mydomain.com" port="5061" /><SipClientInternalAccess fqdn="LYNC01.mydomain.com" port="5061" /><SipServerExternalAccess
    fqdn="AccessEdge.mydomain.com" port="5061" /><SipClientExternalAccess fqdn="AccessEdge.mydomain.com" port="443" /><Link token="Internal/Autodiscover" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root" /><Link token="Internal/AuthBroker"
    href="https://lync01.mydomain.com/Reach/sip.svc" /><Link token="Internal/WebScheduler" href="https://lync01.mydomain.com/Scheduler" /><Link token="External/Autodiscover" href="https://lync.mydomain.com/Autodiscover/AutodiscoverService.svc/root"
    /><Link token="External/AuthBroker" href="https://lync.mydomain.com/Reach/sip.svc" /><Link token="External/WebScheduler" href="https://lync.mydomain.com/Scheduler" /><Link token="Internal/Mcx" href="https://lync01.mydomain.com/Mcx/McxService.svc"
    /><Link token="External/Mcx" href="https://lync01.mydomain.com/Mcx/McxService.svc" /><Link token="Ucwa" href="https://lync.mydomain.com/ucwa/v0/applications" /><Link token="Internal/Ucwa" href="https://lync01.mydomain.com/ucwa/v0/applications"
    /><Link token="External/Ucwa" href="https://lync.mydomain.com/ucwa/v0/applications" /><Link token="Self" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/user" /></User></AutodiscoverResponse>
    [6/10/2014 7:30:18 AM] [INFO] Server discovery has completed for https://lyncdiscoverinternal.mydomain.com/.
    [6/10/2014 7:30:18 AM] [DEBUG] Autodiscover full response for URL https://lyncdiscoverinternal.mydomain.com/ is <?xml version="1.0" encoding="utf-8"?><AutodiscoverResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    AccessLocation="Internal"><User><SipServerInternalAccess fqdn="LYNC01.mydomain.com" port="5061" /><SipClientInternalAccess fqdn="LYNC01.mydomain.com" port="5061" /><SipServerExternalAccess fqdn="AccessEdge.mydomain.com" port="5061"
    /><SipClientExternalAccess fqdn="AccessEdge.mydomain.com" port="443" /><Link token="Internal/Autodiscover" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root" /><Link token="Internal/AuthBroker" href="https://lync01.mydomain.com/Reach/sip.svc"
    /><Link token="Internal/WebScheduler" href="https://lync01.mydomain.com/Scheduler" /><Link token="External/Autodiscover" href="https://lync.mydomain.com/Autodiscover/AutodiscoverService.svc/root" /><Link token="External/AuthBroker" href="https://lync.mydomain.com/Reach/sip.svc"
    /><Link token="External/WebScheduler" href="https://lync.mydomain.com/Scheduler" /><Link token="Internal/Mcx" href="https://lync01.mydomain.com/Mcx/McxService.svc" /><Link token="External/Mcx" href="https://lync01.mydomain.com/Mcx/McxService.svc"
    /><Link token="Ucwa" href="https://lync.mydomain.com/ucwa/v0/applications" /><Link token="Internal/Ucwa" href="https://lync01.mydomain.com/ucwa/v0/applications" /><Link token="External/Ucwa" href="https://lync.mydomain.com/ucwa/v0/applications"
    /><Link token="Self" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/user" /></User></AutodiscoverResponse>
    [6/10/2014 7:30:18 AM] [DEBUG] SendRequest failed for https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/[email protected]
    [6/10/2014 7:30:18 AM] [INFO] Automatic discovery results for https://lyncdiscoverinternal.mydomain.com/
    [6/10/2014 7:30:18 AM] [INFO] Access Location                          : Internal
    [6/10/2014 7:30:18 AM] [INFO] SIP Server Internal Access               : LYNC01.mydomain.com
    [6/10/2014 7:30:18 AM] [INFO] SIP Server External Access               : AccessEdge.mydomain.com
    [6/10/2014 7:30:18 AM] [INFO] SIP Client Internal Access               : LYNC01.mydomain.com
    [6/10/2014 7:30:18 AM] [INFO] SIP Client External Access               : AccessEdge.mydomain.com
    [6/10/2014 7:30:18 AM] [INFO] Internal Auth broker service             : https://lync01.mydomain.com/Reach/sip.svc
    [6/10/2014 7:30:18 AM] [INFO] External Auth broker service             : https://lync.mydomain.com/Reach/sip.svc
    [6/10/2014 7:30:18 AM] [INFO] Internal Auto discover service           : https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root
    [6/10/2014 7:30:18 AM] [INFO] External Auto discover service           : https://lync.mydomain.com/Autodiscover/AutodiscoverService.svc/root
    [6/10/2014 7:30:18 AM] [INFO] Internal MCX service                     : https://lync01.mydomain.com/Mcx/McxService.svc
    [6/10/2014 7:30:18 AM] [INFO] External MCX service                     : https://lync01.mydomain.com/Mcx/McxService.svc
    [6/10/2014 7:30:18 AM] [INFO] Internal UCWA service                    : https://lync01.mydomain.com/ucwa/v0/applications
    [6/10/2014 7:30:18 AM] [INFO] External UCWA service                    : https://lync.mydomain.com/ucwa/v0/applications
    [6/10/2014 7:30:18 AM] [INFO] Internal Webscheduler service            : https://lync01.mydomain.com/Scheduler
    [6/10/2014 7:30:18 AM] [INFO] External Webscheduler service            : https://lync.mydomain.com/Scheduler
    [6/10/2014 7:30:18 AM] [INFO] Total server discovery time: 0.1 seconds
    [6/10/2014 7:30:18 AM] [SUMMARY_SUCCESS] Server discovery succeeded for secure (HTTPS) internal channel against URL https://lyncdiscoverinternal.mydomain.com/
    [6/10/2014 7:30:18 AM] [SUBHEADING] Starting automatic discovery for unsecure (HTTP) internal channel
    [6/10/2014 7:30:18 AM] [DEBUG] Sending HTTP request to http://lyncdiscoverinternal.mydomain.com/[email protected]
    [6/10/2014 7:30:18 AM] [DEBUG] Cookie  found in autodiscover response: StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
      Pragma: no-cache
      X-MS-Server-Fqdn: LYNC01.mydomain.com
      X-Content-Type-Options: nosniff
      Cache-Control: no-cache
      Date: Tue, 10 Jun 2014 11:30:18 GMT
      Server: Microsoft-IIS/7.5
      X-AspNet-Version: 4.0.30319
      X-Powered-By: ASP.NET
      Content-Length: 670
      Content-Type: application/vnd.microsoft.rtc.autodiscover+xml; v=1
      Expires: -1
    [6/10/2014 7:30:18 AM] [DEBUG] Parsing the response for URL http://lyncdiscoverinternal.mydomain.com/[email protected].  Full response: <?xml version="1.0" encoding="utf-8"?><AutodiscoverResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" AccessLocation="Internal"><Root><Link token="Domain" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/domain" /><Link token="User" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/user"
    /><Link token="OAuth" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/oauth/user" /><Link token="Self" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root" /></Root></AutodiscoverResponse>
    [6/10/2014 7:30:18 AM] [DEBUG] Autodiscover URL http://lyncdiscoverinternal.mydomain.com/[email protected] redirected to https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/user
    [6/10/2014 7:30:18 AM] [DEBUG] Sending HTTP request to https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/[email protected]
    [6/10/2014 7:30:18 AM] [DEBUG] Cookie  found in autodiscover response: StatusCode: 401, ReasonPhrase: 'Unauthorized', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
      X-MS-WebTicketURL: https://lync01.mydomain.com/WebTicket/WebTicketService.svc
      X-MS-WebTicketSupported: cwt,saml
      X-MS-Server-Fqdn: LYNC01.mydomain.com
      X-Content-Type-Options: nosniff
      Date: Tue, 10 Jun 2014 11:30:18 GMT
      Server: Microsoft-IIS/7.5
      X-Powered-By: ASP.NET
      Content-Length: 1293
      Content-Type: text/html
    [6/10/2014 7:30:18 AM] [DEBUG] Authorization required for https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/[email protected]
    [6/10/2014 7:30:18 AM] [DEBUG] Obtaining WebTicket from https://lync01.mydomain.com/WebTicket/WebTicketService.svc
    [6/10/2014 7:30:18 AM] [DEBUG] On-premises WebTicket server: https://lync01.mydomain.com/WebTicket/WebTicketService.svc/Auth
    [6/10/2014 7:30:18 AM] [DEBUG] AcquireTicketAsync succeeded for https://lync01.mydomain.com/WebTicket/WebTicketService.svc/Auth
    [6/10/2014 7:30:18 AM] [DEBUG] WebTicket: <saml:Assertion MajorVersion="1" MinorVersion="1" AssertionID="SamlSecurityToken-1b6331e1-4be5-4749-869a-21feb4b7198a" Issuer="https://lync01.mydomain.com/63b16135-930c-5e0b-998c-7ed6bc68b6f8" IssueInstant="2014-06-10T11:30:18.238Z"
    xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"><saml:Conditions NotBefore="2014-06-10T11:30:18.238Z" NotOnOrAfter="2014-06-10T19:20:24.238Z"><saml:AudienceRestrictionCondition><saml:Audience>https://lync01.mydomain.com/</saml:Audience></saml:AudienceRestrictionCondition></saml:Conditions><saml:AuthenticationStatement
    AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:unspecified" AuthenticationInstant="2014-06-10T11:30:18.238Z"><saml:Subject><saml:NameIdentifier Format="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/uri">sip:[email protected]</saml:NameIdentifier><saml:SubjectConfirmation><saml:ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:holder-of-key</saml:ConfirmationMethod><KeyInfo
    xmlns="http://www.w3.org/2000/09/xmldsig#"><e:EncryptedKey xmlns:e="http://www.w3.org/2001/04/xmlenc#"><e:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes256"></e:EncryptionMethod><KeyInfo><KeyName>63b16135-930c-5e0b-998c-7ed6bc68b6f8:8d152b04ce7ddbf</KeyName></KeyInfo><e:CipherData><e:CipherValue>NrQOUA0JAXMmR/4ACrZ8LyVN79jUZbR6Fz+sGlbAdWXgQF/u24DLlw==</e:CipherValue></e:CipherData></e:EncryptedKey></KeyInfo></saml:SubjectConfirmation></saml:Subject></saml:AuthenticationStatement><Signature
    xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod><Reference
    URI="#SamlSecurityToken-1b6331e1-4be5-4749-869a-21feb4b7198a"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></Transform><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></Transform></Transforms><DigestMethod
    Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"></DigestMethod><DigestValue>WnZZN/Vbfrget92urYd1+HmyXX/vYQ6CjHN4lLEXxK0=</DigestValue></Reference></SignedInfo><SignatureValue>BiFjeIuG7TW/DqIdklMNdaqRJLgbenphBcb51HGGH4WCdThgj2Oizkvfa6NRAwsE74qmyVLcfJIO2TK+if1yelHzUEde8ZvLwcruIFYWecK3OXDSDiGpYa3WdPwNUZrSRySSiCyb+fyYgz8BvZq3JjQRulOXnFhz4X3wXzoS6xMovmmVsOrdVTMjvT7l7ydEo1ucnEl5zjEnKih7WjCoElYENwEeG2HGf4Xqi43piaWXa9k7GY9k1idyrfJ7too+u7O7fhnhJ9OR0GR1KydbAPdSi5hmpZcziLn6xKCVW64w2bGCsT4N2vr+f5AhknSmjDa+9Wnyiar2uuLk+7eLmQ==</SignatureValue><KeyInfo><o:SecurityTokenReference
    xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><o:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/oasis-wss-soap-message-security-1.1#ThumbprintSHA1">/YVCIdf+YFyKopRflv61uWov2vs=</o:KeyIdentifier></o:SecurityTokenReference></KeyInfo></Signature></saml:Assertion>
    [6/10/2014 7:30:18 AM] [DEBUG] Sending HTTP request to https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/[email protected]
    [6/10/2014 7:30:18 AM] [DEBUG] Cookie  found in autodiscover response: StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
      Pragma: no-cache
      X-MS-Server-Fqdn: LYNC01.mydomain.com
      X-Content-Type-Options: nosniff
      Cache-Control: no-cache
      Date: Tue, 10 Jun 2014 11:30:18 GMT
      Server: Microsoft-IIS/7.5
      X-AspNet-Version: 4.0.30319
      X-Powered-By: ASP.NET
      Content-Length: 1646
      Content-Type: application/vnd.microsoft.rtc.autodiscover+xml; v=1
      Expires: -1
    [6/10/2014 7:30:18 AM] [DEBUG] Parsing the response for URL https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/[email protected].  Full response: <?xml version="1.0" encoding="utf-8"?><AutodiscoverResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" AccessLocation="Internal"><User><SipServerInternalAccess fqdn="LYNC01.mydomain.com" port="5061" /><SipClientInternalAccess fqdn="LYNC01.mydomain.com" port="5061" /><SipServerExternalAccess
    fqdn="AccessEdge.mydomain.com" port="5061" /><SipClientExternalAccess fqdn="AccessEdge.mydomain.com" port="443" /><Link token="Internal/Autodiscover" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root" /><Link token="Internal/AuthBroker"
    href="https://lync01.mydomain.com/Reach/sip.svc" /><Link token="Internal/WebScheduler" href="https://lync01.mydomain.com/Scheduler" /><Link token="External/Autodiscover" href="https://lync.mydomain.com/Autodiscover/AutodiscoverService.svc/root"
    /><Link token="External/AuthBroker" href="https://lync.mydomain.com/Reach/sip.svc" /><Link token="External/WebScheduler" href="https://lync.mydomain.com/Scheduler" /><Link token="Internal/Mcx" href="https://lync01.mydomain.com/Mcx/McxService.svc"
    /><Link token="External/Mcx" href="https://lync01.mydomain.com/Mcx/McxService.svc" /><Link token="Ucwa" href="https://lync.mydomain.com/ucwa/v0/applications" /><Link token="Internal/Ucwa" href="https://lync01.mydomain.com/ucwa/v0/applications"
    /><Link token="External/Ucwa" href="https://lync.mydomain.com/ucwa/v0/applications" /><Link token="Self" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/user" /></User></AutodiscoverResponse>
    [6/10/2014 7:30:18 AM] [INFO] Server discovery has completed for http://lyncdiscoverinternal.mydomain.com/.
    [6/10/2014 7:30:18 AM] [DEBUG] Autodiscover full response for URL http://lyncdiscoverinternal.mydomain.com/ is <?xml version="1.0" encoding="utf-8"?><AutodiscoverResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    AccessLocation="Internal"><User><SipServerInternalAccess fqdn="LYNC01.mydomain.com" port="5061" /><SipClientInternalAccess fqdn="LYNC01.mydomain.com" port="5061" /><SipServerExternalAccess fqdn="AccessEdge.mydomain.com" port="5061"
    /><SipClientExternalAccess fqdn="AccessEdge.mydomain.com" port="443" /><Link token="Internal/Autodiscover" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root" /><Link token="Internal/AuthBroker" href="https://lync01.mydomain.com/Reach/sip.svc"
    /><Link token="Internal/WebScheduler" href="https://lync01.mydomain.com/Scheduler" /><Link token="External/Autodiscover" href="https://lync.mydomain.com/Autodiscover/AutodiscoverService.svc/root" /><Link token="External/AuthBroker" href="https://lync.mydomain.com/Reach/sip.svc"
    /><Link token="External/WebScheduler" href="https://lync.mydomain.com/Scheduler" /><Link token="Internal/Mcx" href="https://lync01.mydomain.com/Mcx/McxService.svc" /><Link token="External/Mcx" href="https://lync01.mydomain.com/Mcx/McxService.svc"
    /><Link token="Ucwa" href="https://lync.mydomain.com/ucwa/v0/applications" /><Link token="Internal/Ucwa" href="https://lync01.mydomain.com/ucwa/v0/applications" /><Link token="External/Ucwa" href="https://lync.mydomain.com/ucwa/v0/applications"
    /><Link token="Self" href="https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/user" /></User></AutodiscoverResponse>
    [6/10/2014 7:30:18 AM] [DEBUG] SendRequest failed for https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root/[email protected]
    [6/10/2014 7:30:18 AM] [INFO] Automatic discovery results for http://lyncdiscoverinternal.mydomain.com/
    [6/10/2014 7:30:18 AM] [INFO] Access Location                          : Internal
    [6/10/2014 7:30:18 AM] [INFO] SIP Server Internal Access               : LYNC01.mydomain.com
    [6/10/2014 7:30:18 AM] [INFO] SIP Server External Access               : AccessEdge.mydomain.com
    [6/10/2014 7:30:18 AM] [INFO] SIP Client Internal Access               : LYNC01.mydomain.com
    [6/10/2014 7:30:18 AM] [INFO] SIP Client External Access               : AccessEdge.mydomain.com
    [6/10/2014 7:30:18 AM] [INFO] Internal Auth broker service             : https://lync01.mydomain.com/Reach/sip.svc
    [6/10/2014 7:30:18 AM] [INFO] External Auth broker service             : https://lync.mydomain.com/Reach/sip.svc
    [6/10/2014 7:30:18 AM] [INFO] Internal Auto discover service           : https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root
    [6/10/2014 7:30:18 AM] [INFO] External Auto discover service           : https://lync.mydomain.com/Autodiscover/AutodiscoverService.svc/root
    [6/10/2014 7:30:18 AM] [INFO] Internal MCX service                     : https://lync01.mydomain.com/Mcx/McxService.svc
    [6/10/2014 7:30:18 AM] [INFO] External MCX service                     : https://lync01.mydomain.com/Mcx/McxService.svc
    [6/10/2014 7:30:18 AM] [INFO] Internal UCWA service                    : https://lync01.mydomain.com/ucwa/v0/applications
    [6/10/2014 7:30:18 AM] [INFO] External UCWA service                    : https://lync.mydomain.com/ucwa/v0/applications
    [6/10/2014 7:30:18 AM] [INFO] Internal Webscheduler service            : https://lync01.mydomain.com/Scheduler
    [6/10/2014 7:30:18 AM] [INFO] External Webscheduler service            : https://lync.mydomain.com/Scheduler
    [6/10/2014 7:30:18 AM] [INFO] Total server discovery time: 0.1 seconds
    [6/10/2014 7:30:18 AM] [SUMMARY_SUCCESS] Server discovery succeeded for unsecure (HTTP) internal channel against URL http://lyncdiscoverinternal.mydomain.com/
    [6/10/2014 7:30:18 AM] [SUBHEADING] Starting automatic discovery for secure (HTTPS) external channel
    [6/10/2014 7:30:18 AM] [DEBUG] Sending HTTP request to https://lyncdiscover.mydomain.com/[email protected]
    [6/10/2014 7:30:39 AM] [DEBUG] Exception encountered while sending an HTTP request to https://lyncdiscover.mydomain.com/[email protected]: An error occurred while sending the request.. Complete Exception: \r\nSystem.Net.Http.HttpRequestException:
    An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period
    of time, or established connection failed because connected host has failed to respond 205.XXX.XXX.94:443
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
       --- End of inner exception stack trace ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendHttpRequest>d__9.MoveNext()
    [6/10/2014 7:30:39 AM] [ERROR] An error occurred while sending the request.
    Unable to connect to the remote server
    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 205.XXX.XXX.94:443
    [6/10/2014 7:30:39 AM] [INFO] For troubleshooting, try using a browser to open the server discovery URL https://lyncdiscover.mydomain.com/[email protected]
    [6/10/2014 7:30:39 AM] [DEBUG] System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed
    because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 205.XXX.XXX.94:443
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
       --- End of inner exception stack trace ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendHttpRequest>d__9.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendRequest>d__d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<TryNextUrl>d__3.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<StartDiscoveryJourney>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at LyncConnectivityAnalyzerCore.Utilities.<RetrieveUserLocation>d__3e.MoveNext()
    [6/10/2014 7:30:39 AM] [SUMMARY_ERROR] Server discovery failed for secured external channel against https://lyncdiscover.mydomain.com/
    [6/10/2014 7:30:39 AM] [SUBHEADING] Starting automatic discovery for unsecure (HTTP) external channel
    [6/10/2014 7:30:39 AM] [DEBUG] Sending HTTP request to http://lyncdiscover.mydomain.com/[email protected]
    [6/10/2014 7:31:00 AM] [DEBUG] Exception encountered while sending an HTTP request to http://lyncdiscover.mydomain.com/[email protected]: An error occurred while sending the request.. Complete Exception: \r\nSystem.Net.Http.HttpRequestException:
    An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period
    of time, or established connection failed because connected host has failed to respond 205.XXX.XXX.94:80
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
       --- End of inner exception stack trace ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendHttpRequest>d__9.MoveNext()
    [6/10/2014 7:31:00 AM] [ERROR] An error occurred while sending the request.
    Unable to connect to the remote server
    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 205.XXX.XXX.94:80
    [6/10/2014 7:31:00 AM] [INFO] For troubleshooting, try using a browser to open the server discovery URL http://lyncdiscover.mydomain.com/[email protected]
    [6/10/2014 7:31:00 AM] [DEBUG] System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed
    because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 205.XXX.XXX.94:80
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
       --- End of inner exception stack trace ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendHttpRequest>d__9.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendRequest>d__d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<TryNextUrl>d__3.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<StartDiscoveryJourney>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at LyncConnectivityAnalyzerCore.Utilities.<RetrieveUserLocation>d__3e.MoveNext()
    [6/10/2014 7:31:00 AM] [SUMMARY_ERROR] Server discovery failed for unsecured external channel against http://lyncdiscover.mydomain.com/
    [6/10/2014 7:31:00 AM] [DEBUG] None, AutoExternalSecureD, AutoExternalUnsecureD, ManualDNSFail, ManualSecureD, ManualUnsecureD, AuthBrokerInternalLMXCheckGET, AuthBrokerInternalLMXCheckPOST, AuthBrokerExternalLMXCheckGET, AuthBrokerExternalLMXCheckPOST, MobilityMCXInternalLMXCheckGET,
    MobilityMCXInternalLMXCheckPOST, MobilityMCXExternalLMXCheckGET, MobilityMCXExternalLMXCheckPOST, LMXSIPServerInternalDNS, LMXSIPServerExternalDNS, MobilityUCWAInternalCheckPOST, MobilityUCWAExternalCheckPOST
    [6/10/2014 7:31:00 AM] [SUMMARY]
    [6/10/2014 7:31:00 AM] [SUMMARY_ERROR] Automatic discovery meant for external network access failed. Please verify the server requirements at http://go.microsoft.com/fwlink/?LinkId=278998 .
    [6/10/2014 7:31:00 AM] [SUMMARY] Automatic discovery meant for internal network access succeeded from an external network which could be a potential security concern.
    [6/10/2014 7:31:00 AM] [MAINHEADING] Starting the requirement tests for Lync Mobile 2010 App
    [6/10/2014 7:31:00 AM] [INFO] Please wait; this test may take several minutes to complete...
    [6/10/2014 7:31:00 AM] [INFO] Testing the app requirements using the following discovery response:
    [6/10/2014 7:31:00 AM] [INFO] Access Location                          : Internal
    [6/10/2014 7:31:00 AM] [INFO] SIP Server Internal Access               : LYNC01.mydomain.com
    [6/10/2014 7:31:00 AM] [INFO] SIP Server External Access               : AccessEdge.mydomain.com
    [6/10/2014 7:31:00 AM] [INFO] SIP Client Internal Access               : LYNC01.mydomain.com
    [6/10/2014 7:31:00 AM] [INFO] SIP Client External Access               : AccessEdge.mydomain.com
    [6/10/2014 7:31:00 AM] [INFO] Internal Auth broker service             : https://lync01.mydomain.com/Reach/sip.svc
    [6/10/2014 7:31:00 AM] [INFO] External Auth broker service             : https://lync.mydomain.com/Reach/sip.svc
    [6/10/2014 7:31:00 AM] [INFO] Internal Auto discover service           : https://lync01.mydomain.com/Autodiscover/AutodiscoverService.svc/root
    [6/10/2014 7:31:00 AM] [INFO] External Auto discover service           : https://lync.mydomain.com/Autodiscover/AutodiscoverService.svc/root
    [6/10/2014 7:31:00 AM] [INFO] Internal MCX service                     : https://lync01.mydomain.com/Mcx/McxService.svc
    [6/10/2014 7:31:00 AM] [INFO] External MCX service                     : https://lync01.mydomain.com/Mcx/McxService.svc
    [6/10/2014 7:31:00 AM] [INFO] Internal UCWA service                    : https://lync01.mydomain.com/ucwa/v0/applications
    [6/10/2014 7:31:00 AM] [INFO] External UCWA service                    : https://lync.mydomain.com/ucwa/v0/applications
    [6/10/2014 7:31:00 AM] [INFO] Internal Webscheduler service            : https://lync01.mydomain.com/Scheduler
    [6/10/2014 7:31:00 AM] [INFO] External Webscheduler service            : https://lync.mydomain.com/Scheduler
    [6/10/2014 7:31:00 AM] [SUBHEADING] Starting tests for Mobility (MCX) service
    [6/10/2014 7:31:00 AM] [INFO] Verifying internal Mobility (MCX) service: https://lync01.mydomain.com/Mcx/McxService.svc
    [6/10/2014 7:31:00 AM] [INFO] Successfully obtained the WS-Metadata Exchange (MEX) document using GET. The service did not require authorization.
    [6/10/2014 7:31:00 AM] [INFO] Verifying external Mobility (MCX) service: https://lync01.mydomain.com/Mcx/McxService.svc
    [6/10/2014 7:31:00 AM] [INFO] Successfully obtained the WS-Metadata Exchange (MEX) document using GET. The service did not require authorization.
    [6/10/2014 7:31:00 AM] [INFO] Verifying internal Mobility (MCX) service: https://lync01.mydomain.com/Mcx/McxService.svc
    [6/10/2014 7:31:00 AM] [WARNING] Failed to obtain the WS-Metadata Exchange (MEX) document using POST for https://lync01.mydomain.com/Mcx/McxService.svc/mex. The service did not require authorization.
    [6/10/2014 7:31:00 AM] [INFO] Verifying external Mobility (MCX) service: https://lync01.mydomain.com/Mcx/McxService.svc
    [6/10/2014 7:31:00 AM] [WARNING] Failed to obtain the WS-Metadata Exchange (MEX) document using POST for https://lync01.mydomain.com/Mcx/McxService.svc/mex. The service did not require authorization.
    [6/10/2014 7:31:00 AM] [SUMMARY] Completed tests for Mobility (MCX) service
    [6/10/2014 7:31:00 AM] [DEBUG] None, AutoExternalSecureD, AutoExternalUnsecureD, ManualDNSFail, ManualSecureD, ManualUnsecureD, AuthBrokerInternalLMXCheckGET, AuthBrokerInternalLMXCheckPOST, AuthBrokerExternalLMXCheckGET, AuthBrokerExternalLMXCheckPOST, MobilityMCXInternalLMXCheckPOST,
    MobilityMCXExternalLMXCheckPOST, LMXSIPServerInternalDNS, LMXSIPServerExternalDNS, MobilityUCWAInternalCheckPOST, MobilityUCWAExternalCheckPOST
    [6/10/2014 7:31:00 AM] [SUMMARY]
    [6/10/2014 7:31:00 AM] [SUMMARY_SUCCESS]
    Your deployment meets the minimum requirements for Lync Mobile 2010 App.

  • Lync 2013 Mobility over internal Wifi

    I'm at a loss.  All functionionality works on my lync installation.  i'm running an enterprise pool with two hosts internally, a single consolidated edge server, and a reverse proxy.  I have read countless posts, and recommendations how how
    to setup lyncdiscoverinternal and it still fails.  here is my best attempt at making sense of this.  I hope someone can tell me where i'm going wrong.
    From outside i'm using public Ip addresses NATed to my reverse proxy for lyncdiscover.mydomain.com.
    internally i'm using a CNAME record to direct lyncdiscoverinternal.mydomain.com to webext.mydomain.com, then I have a seperate A record pointing webext.mydomain.com to the External private IP address of my reverse proxy server.  So this in no way uses
    public addressing.  my understanding is that since i'm using a Cisco ASA I can't hairpin the connection so i'm stuck directing it to the reverse proxy.  can anyone tell me what is wrong?
    the mobile client give a generic message about not being able to contact the servers.  the lync connectivity analyzer returns the following.l...
    Exception encountered while sending an HTTP request to https://lyncdiscoverinternal.mydomain.com/[email protected]: An error occurred while sending the request.. Complete Exception: \r\nSystem.Net.Http.HttpRequestException: An error occurred while
    sending the request. ---> 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 192.168.203.75:443
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
       --- End of inner exception stack trace ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.LyncServer.WebServices.AutoDiscoverManager.<SendHttpRequest>d__9.MoveNext()
    hopefully someone can make sense of this for me.
    Thanks,

    Yeah, hairpinning won't generally work with an ASA without a modification.  Lyncdiscoverinternal shouldn't point to webext, lyncdiscover should.  It looks like you're just getting a simple connection refused.  Once you've got your record pointed,
    make sure you can access it internally by using a web browser to navigate to
    https://lyncdiscover.domain.com and see if it prompts you to download a .json file with your external web FQDNs referenced inside.  You may need to point that record at the inside interface of your reverse
    proxy server, but once it's working, point your external web services at the same IP internally and your mobile clients should be happier.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • Lync 2013 with Windows 8.1 very slow

    I upgrade to Win 8.1 this week and now I cannot use Lync 2013. I can log in but then Lync doesn't wotk.

    Also, check out this thread:
    http://social.technet.microsoft.com/Forums/windows/en-US/126c0a0e-0014-4ad9-b81b-ea0765ebef09/lync-2013-with-windows-81-unusably-slow?forum=w8itproappcompat
    Looks like resetting the headset/speakers to default settings has helped as well.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • Lync 2013 On Premises integration with Exchange Online Unified Messaging

    I am working on deploying Lync 2013 Server on premises and integrating it with Exchange Online. We do not use Exchange on premises.
    My question is how to integrate with Unified Messaging specifically. Other functions like Calendar, call logs seem to be working fine.
    There are many guides online on how to do this, and I have read many and attempted to follow with no luck. All seem to assume that UM has already been deployed on prem which I don't have. Is this possible to integrate Lync with Exchange Online without having
    and Exchange deployment on premises first.
    Another source of confusion is the Office Voice Access number and how Lync clients dial voicemail. Where does this go if somebody dials internally (from Lync) and externally (from PSTN)? Exchange online or Lync on prem? And if Lync, then my guess would be
    Lync forwards on to Exchange Online UM somehow. Do I have to purchase a number from somewhere because of it being on 365 or can I use a spare DID?
    From my tests so far, when I call voicemail as any user, it seems to dial that same user and then the call fails.
    Hopefully someone can shed some light on this for me.

    You can integrate Exchange UM with Lync Server 2013.
    Please check the deployment process at http://technet.microsoft.com/en-us/library/gg398968.aspx
    Lisa Zheng
    TechNet Community Support

  • Migrating to Lync 2013 from OCS 2007 R2 ... to unprep or not to unprep

    I've been reading on TechNet that I should unprep the domain and forest after decommissioning / uninstalling all OCS 2007 R2 server roles:
    http://technet.microsoft.com/en-us/library/dd572243(v=office.13).aspx
    ...but then, in other places (such as blogs and TechNet forums), I've read not to unprep the domain and forest if Lync 2013 is already deployed:
    http://social.technet.microsoft.com/Forums/lync/en-US/6b8cd7ca-fe67-418b-ae66-5be682d8d2d6/unprep-ocs-2007-r2-domain-and-forest-with-existing-lync-installation?forum=ocsplanningdeployment
    http://www.ucprofessional.com/2011/04/decommisioning-ocs-2007-r2-after.html
    Would someone please clarify what to do here and why?

    While I haven't personally done a deep dive on everything it does, my understanding is that's it's more than just a simple mod to the system container.  For example, from the OCS decommission article you referenced: "Running
    Unprep for a domain removes the access control entries (ACEs) granted to Active Directory universal groups".   Lync still uses the same RTCUniversal groups, so touching it at all with Lync in production as well could be bad. 
    Forest prep actually creates these groups: 
    http://technet.microsoft.com/en-us/library/dd441353(v=office.13).aspx  That said, I haven't seen an unprep referenced in the migration from OCS to Lync docs, and the doc you referenced is specifically for completely removing OCS from your environment
    where these groups wouldn't be needed.  So, while I can't tell you exactly what all it does, I really wouldn't mess with it unless you have a strong reason to or are willing to rebuild Lync to get a few old objects out of the system container.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • Receiving error when signing into Lync 2013 Externally "There was a problem verifying the certificate from the server"

    I have gone through multiple forums and just about everyone states install the Root CA on the machine trying to connect.
    I have installed the Root CA on this machine as it is not on the domain and is not inside the domain. It is installed in the Trusted Root CA folder.
    I run the test connectivity microsoft tester and this is what i receive:
    Testing remote connectivity to Microsoft Lync server through the Lync Access Edge server sip.netrixit.com on port 5061 to verify user [email protected] can connect remotely.
    Specified remote connectivity test(s) to Microsoft Lync server failed. See details below for specific failure reasons.
     <label for="testSelectWizard_ctl12_ctl06_ctl03_tmmArrow">Tell
    me more about this issue and how to resolve it</label>
    Additional Details
    Couldn't sign in. Error: Error Message: Unknown error (0x80131500).
    Error Type: TlsFailureException
    Any insight would be helpful.

    Here is certificate you have your edge server external interface for sip.netrixit.com
    Common name: *.netrixit.com
    SANs: *.netrixit.com, netrixit.com
    Valid from January 30, 2014 to January 30, 2015
    Issuer: Go Daddy Secure Certification Authority
    As per Wildcard certificate support in Lync Server 2013
    http://technet.microsoft.com/en-us/library/hh202161.aspx
    Server roles that are not support for WildCard Certificate 
    Internal server roles (including, but not limited to the Mediation Server, Archiving and Monitoring Server, Survivable Branch Appliance, or Survivable Branch Server)
    External Edge Server interfaces
    Internal Edge Server
    Please change the certificate on edge server external interface 
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer"
    Regards Edwin Anthony Joseph

  • Lync 2013 with Windows 8.1 unusably slow

    Hi, I have a Windows 8 Enterprise (VL) laptop with 64-bit Office 2013 installed on it.  A couple of days ago I updated my laptop with Windows 8.1.
    That seems to have upset Lync.  It has slowed dow so much as to be unusable.  For instance, if I open a conversation with someone and type something into the input area, my characters appear there with a 5 to 10 second delay per character.  For
    instance if I type 'hello there', it will take between one and 2 minutes before all the text is in and visible (and that is not because I am a slow typist :)).
    Connecting to a video conference just locks the whole thing up.  Which is a problem since I have just signed up to a training course which is delivered via Lync.
    Only a handful of other people in my office have upgraded, but none of them have the same problem.  Has anyone else come across this?  Or have any suggestions?  I have uninstalled and reinstalled Office but it made no difference.  I have
    also checked that my machine is up-to-date with Microsoft Update (both via WSUS and direct with MS).
    Regards,
    Andrew
    Andrew vR

    Hi Kelvin, thanks for the response.
    Before I saw your comments, I had made some progress towards identifying the cause.  It seems to be related to my sound drivers.  If I uninstall my Dell drivers
    (an IDT driver, dated March 2011), then Lync works perfectly.<o:p></o:p>
    The problem I then have though, is that my system no longer recognises my headphones.  If I go into the Sound settings, it does not seem to
    recognise that my laptop has a single combined audio+mic jack plug – it thinks I should have separate ones.
    Unfortunately, there are no more advanced drivers available on the Dell web site.
    So I have Lync working again, but at the cost of being able to use my headset.
    I will follow your advice and give the Lync 2010 option a try.
    Andrew vR
    I actually stumbled upon the exact same scenario yesterday. Clean installed 8.1 and Office 2013 on a Latitude E4310, and Lync is extremely slow/crashing. Also, the audio device stopped working. Reinstalled the audio drivers, rebooted a hundred times, repaired
    the office installation, but still no go. Then I removed the audio drivers yet again, and immediately rebooted, and then it suddenly started to work again - with Microsoft vanilla audio drivers.
    I have also seen on another E4310 which has been upgraded from 8 to 8.1, that Lync got very, very sluggish. A repair of the Office installation solved the problem there - without touching any audio settings/drivers, so I'm not entirely sure this is just
    related to the IDT drivers.
    We are also seeing similiar problems with Microsoft Visio.... :/

  • Issues with mobility and autodiscovery with Lync 2013 and IIS/ARR

    Hi all,
    this is my last resort after days and days searching a solution for this problem... unsuccessfully.
    All works fine unless the autodiscovery service with external users and the mobility service for both internal and external ones.
    I deployed a Standard Edition Lync Server 2013 with:
    a consolidated Frontend server in LAN
    an Archiving and Monitoring server in LAN
    an Edge server in DMZ with 2 NICs (one in DMZ network and one in LAN)
    a IIS/ARR 2.5 reverse proxy in DMZ with 2 NICs (one in DMZ network and one in LAN)
    All these roles are on Windows Server 2012 R2.
    No split-DNS is deployed since I have different domains for internal and external. In any case I used the pinpoint DNS tip to resolve some records internally (I followed this guide http://tsoorad.blogspot.ch/2012/10/lync-server-dns-pinpoint-zones.html)
    Here DNS records into internal domain:
    A-record for meet.domain-ext.com points to Frontend server local IP
    A-record for dialin.domain-ext.com points to Frontend server local IP
    A-record for lyncdiscoverinternal.domain-ext.com points to Frontend server IP
    A-record for lyncwebexternal.domain-ext.com points to Frontend sever local IP
    A-record for autodiscover.domain-ext.com points to Exchange server local IP
    Here DNS records into external domain:
    CNAME-record for lyncdiscover.domain-ext.com points to lyncwebexternal.domain-ext.com
    CNAME-record for sipexternal.domain-ext.com points to lyncwebexternal.domain-ext.com
    A-record for meet.domain-ext.com points to Reverse Proxy public IP
    A-record for dialin.domain-ext.com points to Reverse Proxy public IP
    A-record for lyncwebexternal.domain-ext.com points to Reverse Proxy public IP
    I installed and configured IIS/ARR 2.5 with KB2732764 and KB2785586 on Reverse Proxy following the NextHop guide. The local IP address of external NIC on Reverse Proxy is NATTED by a Cisco ASA firewall with public IP address and only 80/443
    ports are permitted.
    The problems occurs when I try to connect whit my Lync 2013 APP on iPad using autodiscovery service, both internally and externally. After some seconds the APP shows the message “Cannot connect to the server because it could be busy or
    temporarily unavailable. Retry.” When I used the IIS/ARR 3.0 the problem looked like an authentication issue, then I came back to ISS/ARR 2.5 version with its KB. Now I cannot understand what is the cause about logfail.
    The same behavior occurs with Android Lync 2013 APP and Windows Phone 8 APP.
    Moreover my Lync 2013 client on Windows 7 can connect internally with autodiscovery settings but it cannot do it externally.
    I'm a bit confused because I cannot understand if the problem is about external webservice of Frontend server or about Reverse Proxy configuration or about Lync Control Panel configuration.
    Here is an extracted of iPad Lync 2013 log (sorry if it’s a bit long).
    Any helps are very appreciated, thansk a lot!
    </SentRequest>
    2013-12-20
    11:33:00.781 Lync[563:3a71018c] INFO APPLICATION
    CUrlRedirectAndTrustResolver.cpp/201:CUrlRedirectAndTrustResolver::processUrl
    called with url = http://lyncdiscover.domain-ext.com/, hopCount = 0, maxHops =
    10
    2013-12-20
    11:33:00.781 Lync[563:6d00000] INFO UTILITIES
    CHttpStreamPool.cpp/409:Allocating stream 0x11cbe40 for url -
    https://lyncdiscover.domain-ext.com/ with persistent id as 6
    2013-12-20
    11:33:00.782 Lync[563:3a71018c] INFO TRANSPORT CTransportThread.cpp/131:Added
    Request(UcwaAutoDiscoveryRequest) to Request Processor queue
    2013-12-20
    11:33:00.782 Lync[563:6d00000] VERBOSE TRANSPORT
    CHttpProxyHelper.cpp/436:CHttpProxyHelper::discoverProxy : No proxy found for
    url https://lyncdiscover.domain-ext.com/?sipuri=sip:[email protected].
    Sending over direct connection.
    2013-12-20
    11:33:00.782 Lync[563:3a71018c] INFO APPLICATION
    CTransportRequestRetrialQueue.cpp/385:Submitting new req.
    UrlTrustResolver(0x1201358)
    2013-12-20
    11:33:00.782 Lync[563:3a71018c] INFO APPLICATION
    CUcwaAutoDiscoveryService.cpp/1783:Successfully started the GetUserUrlOperation
    request for http://lyncdiscover.domain-ext.com/?sipuri=sip:[email protected]
    2013-12-20
    11:33:00.796 Lync[563:6d00000] INFO TRANSPORT CTransportThread.cpp/343:Sent
    Request(UcwaAutoDiscoveryRequest) to Request Processor
    2013-12-20
    11:33:00.796 Lync[563:6d00000] WARNING TRANSPORT
    CCredentialManager.cpp/317:CCredentialManager::getSpecificCredential returning
    NULL credential for serviceId (4) type (1)!
    2013-12-20
    11:33:00.797 Lync[563:6d00000] INFO TRANSPORT
    TransportUtilityFunctions.cpp/631:<SentRequest>
    GET
    http://lyncdiscover.domain-ext.com/
    Request Id:
    0x1201358
    HttpHeader:Accept
    application/vnd.microsoft.rtc.autodiscover+xml;v=1
    </SentRequest>
    2013-12-20
    11:33:00.797 Lync[563:6d00000] INFO UTILITIES
    CHttpStreamPool.cpp/409:Allocating stream 0x12028f0 for url -
    http://lyncdiscover.domain-ext.com/ with persistent id as 7
    2013-12-20
    11:33:00.798 Lync[563:6d00000] VERBOSE TRANSPORT
    CHttpProxyHelper.cpp/436:CHttpProxyHelper::discoverProxy : No proxy found for
    url http://lyncdiscover.domain-ext.com/. Sending over direct connection.
    2013-12-20
    11:33:00.798 Lync[563:6d00000] INFO TRANSPORT CHttpStreamPool.cpp/556:Not
    setting TLS as the url(http://lyncdiscover.domain-ext.com/) is not https
    2013-12-20
    11:33:00.812 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:33:00.812 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:33:00.812 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:33:00.813 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:33:00.813 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:33:04.104 Lync[563:6d00000] INFO UTILITIES CHttpConnection.cpp/577:Received
    kCFStreamEventEndEncountered (UcwaAutoDiscoveryRequest)isHeadersAvailable =
    true  responseHeadersHandle = 12c5d70
    2013-12-20
    11:33:04.105 Lync[563:6d00000] INFO UTILITIES CHttpConnection.cpp/628:Response
    status = 200 for request UcwaAutoDiscoveryRequest
    2013-12-20
    11:33:04.105 Lync[563:6d00000] INFO UTILITIES
    CHttpStreamPool.cpp/455:Scheduling stream 0x12028f0 for release.
    2013-12-20
    11:33:04.105 Lync[563:6d00000] INFO TRANSPORT
    CHttpRequestProcessor.cpp/173:Received response of
    request(UcwaAutoDiscoveryRequest) with status = 0x0
    2013-12-20
    11:33:04.106 Lync[563:6d00000] INFO TRANSPORT
    TransportUtilityFunctions.cpp/925:<ReceivedResponse>
    GET
    http://lyncdiscover.domain-ext.com/
    Request Id:
    0x1201358
    HttpHeader:Cache-Control
    no-cache
    HttpHeader:Content-Length
    1076
    HttpHeader:Content-Type
    application/vnd.microsoft.rtc.autodiscover+xml; v=1
    HttpHeader:Date
    Fri, 20 Dec 2013 10:33:02 GMT
    HttpHeader:Expires
    -1
    HttpHeader:Pragma
    no-cache
    HttpHeader:Server
    Microsoft-IIS/8.5
    HttpHeader:StatusCode
    200
    HttpHeader:X-AspNet-Version
    4.0.30319
    HttpHeader:X-Content-Type-Options
    nosniff
    HttpHeader:X-MS-Server-Fqdn
    frontend-lync.domain-int.com
    HttpHeader:X-Powered-By
    ASP.NET, ARR/2.5
    Ôªø<?xml
    version="1.0" encoding="utf-8"?><AutodiscoverResponse
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    AccessLocation="Internal"><Root><Link
    token="Domain" href="https://frontend-lync.domain-int.com/Autodiscover/AutodiscoverService.svc/root/domain?originalDomain=domain-ext.com"
    /><Link token="User" href="https://frontend-lync.domain-int.com/Autodiscover/AutodiscoverService.svc/root/user?originalDomain=domain-ext.com"
    /><Link token="Self" href="https://frontend-lync.domain-int.com/Autodiscover/AutodiscoverService.svc/root?originalDomain=domain-ext.com"
    /><Link token="OAuth" href="https://frontend-lync.domain-int.com/Autodiscover/AutodiscoverService.svc/root/oauth/user?originalDomain=domain-ext.com"
    /><Link token="External/XFrame"
    href="https://lyncwebexternal.domain-ext.com/Autodiscover/XFrame/XFrame.html"
    /><Link token="Internal/XFrame" href="https://frontend-lync.domain-int.com/Autodiscover/XFrame/XFrame.html"
    /><Link token="XFrame" href="https://lyncwebexternal.domain-ext.com/Autodiscover/XFrame/XFrame.html"
    /></Root></AutodiscoverResponse>
    </ReceivedResponse>
    2013-12-20
    11:33:04.108 Lync[563:6d00000] INFO TRANSPORT
    CUcwaAutoDiscoveryResponse.cpp/112:location value is internal
    2013-12-20
    11:33:04.108 Lync[563:6d00000] INFO TRANSPORT
    CUcwaAutoDiscoveryResponse.cpp/195:User url is https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user?originaldomain=domain-ext.com
    2013-12-20
    11:33:04.109 Lync[563:6d00000] INFO TRANSPORT
    CHttpRequestProcessor.cpp/266:Sending event to main thread for
    request(0x1201358)
    2013-12-20
    11:33:04.109 Lync[563:3a71018c] INFO APPLICATION
    CTransportRequestRetrialQueue.cpp/822:Req. completed, Stopping timer.
    2013-12-20
    11:33:04.109 Lync[563:3a71018c] INFO APPLICATION
    CUrlRedirectAndTrustResolver.cpp/610:UrlRedirectAndTrustResolver complete with
    url = http://lyncdiscover.domain-ext.com/, Hops = 1, status = S_OK (S0-0-0)
    2013-12-20
    11:33:04.109 Lync[563:3a71018c] INFO APPLICATION
    CTransportRequestRetrialQueue.cpp/725:Response received for req.
    UrlTrustResolver(0x1201358): S_OK (S0-0-0) (Success); Done with req.; Stopping
    resend timer
    2013-12-20
    11:33:04.110 Lync[563:3a71018c] INFO APPLICATION
    CUcwaAutoDiscoveryGetUserUrlOperation.cpp/393:CUcwaAutoDiscoverGetUserUrlOperation::onEvent
    received.  Status = S_OK (S0-0-0), url =
    http://lyncdiscover.domain-ext.com/
    2013-12-20
    11:33:04.110 Lync[563:3a71018c] INFO APPLICATION
    CUcwaAutoDiscoveryGetUserUrlOperation.cpp/449:Received a root response
    2013-12-20
    11:33:04.110 Lync[563:3a71018c] INFO APPLICATION
    CUcwaAutoDiscoveryGetUserUrlOperation.cpp/456:Running trust check on user url.
    url = https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user?originaldomain=domain-ext.com
    2013-12-20
    11:33:04.110 Lync[563:3a71018c] INFO APPLICATION
    CUrlRedirectAndTrustResolver.cpp/77:Starting CUrlRedirectAndTrustResolver with
    url = https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user?originaldomain=domain-ext.com,
    maxHops = 1
    2013-12-20
    11:33:04.110 Lync[563:3a71018c] INFO APPLICATION
    CUrlRedirectAndTrustResolver.cpp/201:CUrlRedirectAndTrustResolver::processUrl
    called with url = https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user,
    hopCount = 0, maxHops = 1
    2013-12-20
    11:33:04.111 Lync[563:3a71018c] INFO TRANSPORT CTransportThread.cpp/131:Added
    Request(UcwaAutoDiscoveryRequest) to Request Processor queue
    2013-12-20
    11:33:04.111 Lync[563:3a71018c] INFO APPLICATION
    CTransportRequestRetrialQueue.cpp/385:Submitting new req.
    UrlTrustResolver(0x11d4d38)
    2013-12-20
    11:33:04.111 Lync[563:6d00000] INFO TRANSPORT CTransportThread.cpp/343:Sent
    Request(UcwaAutoDiscoveryRequest) to Request Processor
    2013-12-20
    11:33:04.111 Lync[563:6d00000] WARNING TRANSPORT
    CCredentialManager.cpp/317:CCredentialManager::getSpecificCredential returning
    NULL credential for serviceId (4) type (1)!
    2013-12-20
    11:33:04.112 Lync[563:6d00000] INFO TRANSPORT
    TransportUtilityFunctions.cpp/631:<SentRequest>
    GET
    https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user
    Request Id:
    0x11d4d38
    HttpHeader:Accept
    application/vnd.microsoft.rtc.autodiscover+xml;v=1
    </SentRequest>
    2013-12-20
    11:33:04.112 Lync[563:6d00000] INFO UTILITIES
    CHttpStreamPool.cpp/409:Allocating stream 0x125fa90 for url - https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user
    with persistent id as 7
    2013-12-20
    11:33:04.112 Lync[563:6d00000] VERBOSE TRANSPORT
    CHttpProxyHelper.cpp/436:CHttpProxyHelper::discoverProxy : No proxy found for
    url https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user.
    Sending over direct connection.
    2013-12-20
    11:33:04.113 Lync[563:6d00000] INFO UTILITIES CHttpStreamPool.cpp/609:Releasing
    stream 0x12028f0.
    2013-12-20
    11:33:04.261 Lync[563:6d00000] INFO UTILITIES CHttpConnection.cpp/577:Received
    kCFStreamEventEndEncountered (UcwaAutoDiscoveryRequest)isHeadersAvailable =
    true  responseHeadersHandle = 11cfbd0
    2013-12-20
    11:33:04.262 Lync[563:6d00000] INFO UTILITIES CHttpConnection.cpp/628:Response
    status = 200 for request UcwaAutoDiscoveryRequest
    2013-12-20
    11:33:04.262 Lync[563:6d00000] INFO UTILITIES
    CHttpStreamPool.cpp/455:Scheduling stream 0x11cbe40 for release.
    2013-12-20
    11:33:04.263 Lync[563:6d00000] INFO TRANSPORT
    CHttpRequestProcessor.cpp/173:Received response of
    request(UcwaAutoDiscoveryRequest) with status = 0x0
    2013-12-20
    11:33:04.263 Lync[563:6d00000] INFO TRANSPORT
    TransportUtilityFunctions.cpp/925:<ReceivedResponse>
    GET
    https://lyncdiscover.domain-ext.com/?sipuri=sip:[email protected]
    Request Id:
    0x12450d8
    HttpHeader:Cache-Control
    no-cache
    HttpHeader:Content-Length
    1076
    HttpHeader:Content-Type
    application/vnd.microsoft.rtc.autodiscover+xml; v=1
    HttpHeader:Date
    Fri, 20 Dec 2013 10:33:02 GMT
    HttpHeader:Expires
    -1
    HttpHeader:Pragma
    no-cache
    HttpHeader:Server
    Microsoft-IIS/8.5
    HttpHeader:StatusCode
    200
    HttpHeader:X-AspNet-Version
    4.0.30319
    HttpHeader:X-Content-Type-Options
    nosniff
    HttpHeader:X-MS-Server-Fqdn
    frontend-lync.domain-int.com
    HttpHeader:X-Powered-By
    ASP.NET, ARR/2.5
    Ôªø<?xml
    version="1.0" encoding="utf-8"?><AutodiscoverResponse
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    AccessLocation="Internal"><Root><Link
    token="Domain" href="https://frontend-lync.domain-int.com/Autodiscover/AutodiscoverService.svc/root/domain?originalDomain=domain-ext.com"
    /><Link token="User" href="https://frontend-lync.domain-int.com/Autodiscover/AutodiscoverService.svc/root/user?originalDomain=domain-ext.com"
    /><Link token="Self" href="https://frontend-lync.domain-int.com/Autodiscover/AutodiscoverService.svc/root?originalDomain=domain-ext.com"
    /><Link token="OAuth" href="https://frontend-lync.domain-int.com/Autodiscover/AutodiscoverService.svc/root/oauth/user?originalDomain=domain-ext.com"
    /><Link token="External/XFrame"
    href="https://lyncwebexternal.domain-ext.com/Autodiscover/XFrame/XFrame.html"
    /><Link token="Internal/XFrame" href="https://frontend-lync.domain-int.com/Autodiscover/XFrame/XFrame.html"
    /><Link token="XFrame" href="https://lyncwebexternal.domain-ext.com/Autodiscover/XFrame/XFrame.html"
    /></Root></AutodiscoverResponse>
    </ReceivedResponse>
    2013-12-20
    11:33:04.264 Lync[563:6d00000] INFO TRANSPORT
    CUcwaAutoDiscoveryResponse.cpp/112:location value is internal
    2013-12-20
    11:33:04.265 Lync[563:6d00000] INFO TRANSPORT
    CUcwaAutoDiscoveryResponse.cpp/195:User url is https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user?originaldomain=domain-ext.com
    2013-12-20
    11:33:04.265 Lync[563:6d00000] INFO TRANSPORT
    CHttpRequestProcessor.cpp/266:Sending event to main thread for
    request(0x12450d8)
    2013-12-20
    11:33:04.266 Lync[563:3a71018c] INFO APPLICATION CTransportRequestRetrialQueue.cpp/822:Req.
    completed, Stopping timer.
    2013-12-20
    11:33:04.266 Lync[563:3a71018c] INFO APPLICATION
    CUcwaAutoDiscoveryGetUserUrlOperation.cpp/290:Received a root response
    2013-12-20
    11:33:04.266 Lync[563:3a71018c] INFO APPLICATION CUcwaAutoDiscoveryGetUserUrlOperation.cpp/224:UcwaAutoDiscoveryGetUserUrlOperation
    completed with url = https://lyncdiscover.domain-ext.com/?sipuri=sip:[email protected],
    userUrl = https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user?originaldomain=domain-ext.com,
    status = S_OK (S0-0-0)
    2013-12-20
    11:33:04.266 Lync[563:3a71018c] INFO APPLICATION
    CTransportRequestRetrialQueue.cpp/725:Response received for req.
    GET-UnAuthenticatedGet(0x12450d8): S_OK (S0-0-0) (Success); Done with req.; Stopping
    resend timer
    2013-12-20
    11:33:04.267 Lync[563:3a71018c] INFO APPLICATION
    CTransportRequestRetrialQueue.cpp/399:Cancelling all requests
    2013-12-20
    11:33:04.267 Lync[563:3a71018c] INFO APPLICATION
    CTransportRequestRetrialQueue.cpp/409:Cancelling request: 0x11d4d38
    2013-12-20
    11:33:04.267 Lync[563:3a71018c] INFO TRANSPORT CSessionBase.hxx/158:Cancelling
    request: 0x11d4d38
    2013-12-20
    11:33:04.267 Lync[563:3a71018c] INFO TRANSPORT CTransportThread.cpp/163:Added
    Request(UcwaAutoDiscoveryRequest) to Request Processor queue
    2013-12-20
    11:33:04.267 Lync[563:3a71018c] INFO APPLICATION
    CUrlRedirectAndTrustResolver.cpp/610:UrlRedirectAndTrustResolver complete with
    url = https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user,
    Hops = 1, status = W_Cancelled (W0-0-6)
    2013-12-20
    11:33:04.267 Lync[563:3a71018c] INFO APPLICATION
    CUcwaAutoDiscoveryGetUserUrlOperation.cpp/224:UcwaAutoDiscoveryGetUserUrlOperation
    completed with url = http://lyncdiscover.domain-ext.com/?sipuri=sip:[email protected],
    userUrl = , status = W_Cancelled (W0-0-6)
    2013-12-20
    11:33:04.268 Lync[563:6d00000] INFO TRANSPORT CTransportThread.cpp/343:Sent
    Request(UcwaAutoDiscoveryRequest) to Request Processor
    2013-12-20
    11:33:04.268 Lync[563:3a71018c] INFO TRANSPORT CCredentialManager.cpp/176:getSpecificCredential
    for serviceId(1) returning: credType (1) signInName ([email protected])
    domain () username (mattia.spagnoli) password.empty() (0) certificate.isValid()
    (0) privateKey.empty() (1) compatibleServiceIds(1)
    2013-12-20
    11:33:04.268 Lync[563:3a71018c] INFO TRANSPORT
    CMetaDataManager.cpp/403:Received a request to get the meta data of type 0 for
    url https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user?originaldomain=domain-ext.com
    2013-12-20
    11:33:04.269 Lync[563:3a71018c] INFO TRANSPORT CMetaDataManager.cpp/467:Sending
    Unauthenticated get to get the web-ticket url
    2013-12-20
    11:33:04.269 Lync[563:3a71018c] INFO TRANSPORT CTransportThread.cpp/131:Added
    Request() to Request Processor queue
    2013-12-20
    11:33:04.269 Lync[563:3a71018c] INFO TRANSPORT
    CAuthenticationResolver.cpp/109:Waiting on Meta Data from https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user?originaldomain=domain-ext.com
    2013-12-20
    11:33:04.269 Lync[563:62d4000] INFO TRANSPORT CTransportThread.cpp/343:Sent
    Request() to Request Processor
    2013-12-20
    11:33:04.270 Lync[563:3a71018c] INFO APPLICATION
    CTransportRequestRetrialQueue.cpp/385:Submitting new req.
    GET-AuthenticatedUserGetRequest(0x1201ab8)
    2013-12-20
    11:33:04.270 Lync[563:62d4000] WARNING TRANSPORT
    CCredentialManager.cpp/317:CCredentialManager::getSpecificCredential returning
    NULL credential for serviceId (4) type (1)!
    2013-12-20
    11:33:04.270 Lync[563:3a71018c] INFO APPLICATION
    CUcwaAutoDiscoveryService.cpp/1189:Submitting Authenticated AutoDiscovery
    request to https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user?originaldomain=domain-ext.com
    2013-12-20
    11:33:04.270 Lync[563:6d00000] INFO UTILITIES
    CHttpStreamPool.cpp/455:Scheduling stream 0x125fa90 for release.
    2013-12-20
    11:33:04.271 Lync[563:62d4000] INFO TRANSPORT
    TransportUtilityFunctions.cpp/631:<SentRequest>
    GET
    https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user?originaldomain=domain-ext.com
    Request Id:
    0x1206198
    HttpHeader:Accept
    HttpHeader:X-MS-WebTicket
    xxxxxxxxxx
    </SentRequest>
    2013-12-20
    11:33:04.271 Lync[563:3a71018c] INFO APPLICATION
    CUcwaAutoDiscoveryService.cpp/1662:Ignoring GetUserUrlOperation event as
    current state is 6
    2013-12-20
    11:33:04.271 Lync[563:62d4000] INFO UTILITIES
    CHttpStreamPool.cpp/409:Allocating stream 0x11c0a40 for url - https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user
    with persistent id as 15
    2013-12-20
    11:33:04.271 Lync[563:3a71018c] INFO APPLICATION CUcwaAutoDiscoveryService.cpp/1664:Request
    url was http://lyncdiscover.domain-ext.com/?sipuri=sip:[email protected]
    2013-12-20
    11:33:04.272 Lync[563:62d4000] VERBOSE TRANSPORT
    CHttpProxyHelper.cpp/436:CHttpProxyHelper::discoverProxy : No proxy found for
    url https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user?originaldomain=domain-ext.com.
    Sending over direct connection.
    2013-12-20
    11:33:20.621 Lync[563:3a71018c] INFO UTILITIES
    CNetworkMonitor.cpp/217:Reachabilility Flags IsWWAN(0):Reachable(0):TransientConnection(0):ConnectionRequired(0):ConnectionOnTraffic(0):InterventionRequired(0):ConnectionOnDemand(0):IsLocalAddress(0):IsDirect(0)
    2013-12-20
    11:33:20.623 Lync[563:3a71018c] INFO UTILITIES CNetworkMonitor.cpp/186:Updated
    networkAvailableToConnect(CellularDataNetwork) -> NoNetwork,
    isInAirplaneMode(0) -> 1
    2013-12-20
    11:33:20.623 Lync[563:3a71018c] INFO APPLICATION
    CUcmpConversationsManager.cpp/4091:CUcmpConversationsManager::canDoVideoBasedOnNetworkAndPolicy
    returns false because RequestWiFiForAudio or RequestWifiForVideo is true and
    current network : is not WiFi
    2013-12-20
    11:33:20.623 Lync[563:3a71018c] INFO APPLICATION
    CUcmpConversationsManager.cpp/1672:CUcmpConversationsManager::queryCapability
    on StartP2PVideoCall returns false because
    canDoVideoBasedOnNetworkAndPolicy 
    returned false
    2013-12-20
    11:33:20.904 Lync[563:3a71018c] INFO UTILITIES
    CNetworkMonitor.cpp/217:Reachabilility Flags
    IsWWAN(1):Reachable(1):TransientConnection(1):ConnectionRequired(0):ConnectionOnTraffic(0):InterventionRequired(0):ConnectionOnDemand(0):IsLocalAddress(1):IsDirect(0)
    2013-12-20
    11:33:20.905 Lync[563:3a71018c] INFO UTILITIES CNetworkMonitor.cpp/186:Updated
    networkAvailableToConnect(NoNetwork) -> CellularDataNetwork,
    isInAirplaneMode(1) -> 0
    2013-12-20
    11:33:20.905 Lync[563:3a71018c] INFO TRANSPORT CEventChannelManager.cpp/826:Received
    network monitor event so restarting event channel.
    2013-12-20
    11:33:20.906 Lync[563:3a71018c] INFO TRANSPORT
    CEventChannelManager.cpp/520:Moving the event channel aggressive mode.
    2013-12-20
    11:33:20.906 Lync[563:3a71018c] INFO APPLICATION
    CUcmpConversationsManager.cpp/4091:CUcmpConversationsManager::canDoVideoBasedOnNetworkAndPolicy
    returns false because RequestWiFiForAudio or RequestWifiForVideo is true and
    current network : is not WiFi
    2013-12-20
    11:33:20.906 Lync[563:3a71018c] INFO APPLICATION
    CUcmpConversationsManager.cpp/1672:CUcmpConversationsManager::queryCapability
    on StartP2PVideoCall returns false because
    canDoVideoBasedOnNetworkAndPolicy 
    returned false
    2013-12-20
    11:33:20.906 Lync[563:3a71018c] INFO APPLICATION CUcwaAutoDiscoveryService.cpp/2070:adIsEnabled
    = 1, sipUri = sip:[email protected], m_internalADUrlInput =
    m_externalADUrlInput =
    2013-12-20
    11:33:20.906 Lync[563:3a71018c] INFO APPLICATION
    CUcwaAutoDiscoveryService.cpp/255:Discovery is in progress and process state is
    6Ignoring request to start network discovery
    2013-12-20
    11:34:04.274 Lync[563:62d4000] INFO UTILITIES
    CHttpStreamPool.cpp/455:Scheduling stream 0x11c0a40 for release.
    2013-12-20
    11:34:04.275 Lync[563:62d4000] ERROR UTILITIES CHttpConnection.cpp/517:Connection
    timedout for request (0x%u0x12d1ea0) - notifying error E_ConnectionTimeoutError
    2013-12-20
    11:34:04.275 Lync[563:62d4000] INFO TRANSPORT
    CHttpRequestProcessor.cpp/173:Received response of request() with status =
    0x22020005
    2013-12-20
    11:34:04.276 Lync[563:62d4000] INFO TRANSPORT
    CHttpRequestProcessor.cpp/201:Request 
    resulted in E_ConnectionTimeoutError (E2-2-5). The retry counter is: 0
    2013-12-20
    11:34:04.276 Lync[563:62d4000] INFO TRANSPORT
    CHttpRequestProcessor.cpp/266:Sending event to main thread for
    request(0x1206198)
    2013-12-20
    11:34:04.277 Lync[563:3a71018c] INFO TRANSPORT
    CMetaDataManager.cpp/581:Received response for meta data request of type 60
    with status 570556421
    2013-12-20
    11:34:04.277 Lync[563:3a71018c] ERROR TRANSPORT CMetaDataManager.cpp/597:Unable
    to get a response to an unauthenticated get to url https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user?originaldomain=domain-ext.com
    2013-12-20
    11:34:04.278 Lync[563:3a71018c] INFO TRANSPORT CAuthenticationResolver.cpp/210:MetaData
    retrieval for url https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user?originaldomain=domain-ext.com
    completed with status 570556421
    2013-12-20
    11:34:04.278 Lync[563:3a71018c] INFO TRANSPORT CAuthenticationResolver.cpp/239:Deleting
    1 pended Meta data requests for url https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user?originaldomain=domain-ext.com
    2013-12-20
    11:34:04.278 Lync[563:3a71018c] ERROR TRANSPORT CAuthenticationResolver.cpp/288:Unable
    to get the meta data for server url https://frontend-lync.domain-int.com/autodiscover/autodiscoverservice.svc/root/user?originaldomain=domain-ext.com
    2013-12-20
    11:34:04.279 Lync[563:3a71018c] INFO TRANSPORT
    CAuthenticationResolver.cpp/293:Failing request to the request manager
    2013-12-20
    11:34:04.279 Lync[563:3a71018c] INFO TRANSPORT CRequestManager.cpp/273:Failing
    secure request UcwaAutoDiscoveryRequest with status E_ConnectionTimeoutError
    (E2-2-5)
    2013-12-20
    11:34:04.279 Lync[563:3a71018c] INFO APPLICATION
    CTransportRequestRetrialQueue.cpp/822:Req. completed, Stopping timer.
    2013-12-20
    11:34:04.279 Lync[563:3a71018c] INFO APPLICATION
    CUcwaAutoDiscoveryService.cpp/1284:Received autodiscovery response with status
    E_ConnectionTimeoutError (E2-2-5)
    2013-12-20
    11:34:04.279 Lync[563:3a71018c] INFO APPLICATION
    CUcwaAutoDiscoveryService.cpp/1242:Raising Autodiscovery event with status
    E_ConnectionTimeoutError (E2-2-5) for eventType 0
    2013-12-20
    11:34:04.280 Lync[563:3a71018c] INFO APPLICATION CUcwaAutoDiscoveryServiceRetrialWrapper.cpp/417:Received
    event for type 0 with status E_ConnectionTimeoutError (E2-2-5)
    2013-12-20
    11:34:04.280 Lync[563:3a71018c] INFO APPLICATION
    CUcwaAutoDiscoveryServiceRetrialWrapper.cpp/496:Raising Autodiscovery event
    with status E_ConnectionTimeoutError (E2-2-5) for eventType 0
    2013-12-20
    11:34:04.280 Lync[563:3a71018c] ERROR APPLICATION
    CUcwaAppSession.cpp/2066:Auto-discovery failed, aborting sign-in!
    2013-12-20
    11:34:04.280 Lync[563:3a71018c] INFO APPLICATION CUcwaAppSession.cpp/998:CUcwaAppSession::setNewActualState()
    state=0
    2013-12-20
    11:34:04.294 Lync[563:3a71018c] INFO UTILITIES
    CBasePersistableComponent.cpp/230:Storing 7 out-of-sync components took 10ms
    2013-12-20
    11:34:04.295 Lync[563:3a71018c] INFO UTILITIES CiOsAppStateQuery.h/147:Clearing
    keep-alive timer callback
    2013-12-20
    11:34:04.295 Lync[563:6d00000] INFO TRANSPORT
    CHttpRequestProcessor.cpp/134:Clearing request processor for component
    UcwaAutoDiscoverySession on sign-out.
    2013-12-20
    11:34:04.295 Lync[563:62d4000] INFO TRANSPORT
    CHttpRequestProcessor.cpp/134:Clearing request processor for component
    MetaDataManager on sign-out.
    2013-12-20
    11:34:04.295 Lync[563:3a71018c] INFO APPLICATION CAlertReporter.cpp/64:Alert
    received! Category 1, Type 201, level 0, error E_ConnectionTimeoutError
    (E2-2-5), context '', hasAction=false
    2013-12-20
    11:34:04.296 Lync[563:6d00000] INFO UTILITIES CHttpStreamPool.cpp/609:Releasing
    stream 0x11cbe40.
    2013-12-20
    11:34:04.296 Lync[563:62d4000] INFO UTILITIES CHttpStreamPool.cpp/609:Releasing
    stream 0x11c0a40.
    2013-12-20
    11:34:04.296 Lync[563:3a71018c] INFO APPLICATION CAlertReporter.cpp/117:Alert
    cleared of Category 1, Type 201, cleared 0 alerts
    2013-12-20
    11:34:04.297 Lync[563:3a71018c] INFO APPLICATION
    CTransportRequestRetrialQueue.cpp/725:Response received for req.
    GET-AuthenticatedUserGetRequest(0x1201ab8): E_ConnectionTimeoutError (E2-2-5)
    (RemoteNetworkTemporaryError); Done with req.; Stopping resend timer
    2013-12-20
    11:34:04.298 Lync[563:3a71018c] INFO UI CMAudioUtil.mm/322:stopSound
    2013-12-20
    11:34:04.298 Lync[563:3a71018c] INFO UI CMAudioUtil.mm/322:stopSound
    2013-12-20
    11:34:04.298 Lync[563:3a71018c] INFO UI CMAudioUtil.mm/322:stopSound
    2013-12-20
    11:34:04.298 Lync[563:3a71018c] INFO UI CMAudioVideoToastViewController.mm/992:Cancelling
    local notification
    2013-12-20
    11:34:04.299 Lync[563:6d00000] INFO UTILITIES CHttpStreamPool.cpp/609:Releasing
    stream 0x125fa90.
    2013-12-20
    11:34:04.300 Lync[563:3a71018c] INFO UI CMRootViewController.mm/378:ActualState
    = 0 DesiredState = 2  DataAvailable = 0
    2013-12-20
    11:34:04.300 Lync[563:3a71018c] INFO UI
    CMDetailViewController.mm/229:ActualState = 0 DesiredState = 1  DataAvailable = 0
    2013-12-20
    11:34:04.300 Lync[563:3a71018c] INFO UI CMDetailViewController.mm/262:ActualState
    = IsSignedOut DesiredState = BeSignedIn DataAvailable = 0 Showing UI =
    CredentialTableViewController
    2013-12-20
    11:34:04.300 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.301 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.301 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.301 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.301 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.301 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/705:desired
    view is alert, size 1
    2013-12-20
    11:34:04.301 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/745:adding the
    desired view
    2013-12-20
    11:34:04.302 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/480:reposition
    floating views
    2013-12-20
    11:34:04.302 Lync[563:3a71018c] INFO UI CMAlertViewController.mm/110:showalert
    is 1
    2013-12-20
    11:34:04.302 Lync[563:3a71018c] INFO UI CMAlertViewController.mm/114:showalert
    is 0
    2013-12-20
    11:34:04.302 Lync[563:3a71018c] INFO UI CMUIUtil.mm/402:Mapping error code =
    0x22020005, context = , type = 201
    2013-12-20 11:34:04.303 Lync[563:3a71018c] INFO UI
    CMUIUtil.mm/1680:Mapped error message is 'Non riesco a connettermi al server
    perché potrebbe essere occupato o temporaneamente non disponibile. Riprova.
    2013-12-20
    11:34:04.304 Lync[563:3a71018c] ERROR UI
    CMDismissButtonBaseViewController.mm/89:before: view height 1024.000000, width
    45.000000, x 64.000000, y 0.000000
    2013-12-20
    11:34:04.304 Lync[563:3a71018c] INFO UI
    CMNotificationManager.mm/1089:viewFrame: origin x 64.000000, origin y 0.000000,
    height 1024.000000, width 45.000000
    2013-12-20
    11:34:04.304 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/1195:resize
    alert label, origin x 44.000000, origin y 2.000000, height 41.000000, width
    936.000000
    2013-12-20
    11:34:04.305 Lync[563:3a71018c] ERROR UI CMDismissButtonBaseViewController.mm/104:after:
    self.label.frame height 41.000000, width 936.000000, x 44.000000, y 2.000000
    2013-12-20
    11:34:04.305 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.305 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.305 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.305 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.305 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.306 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/705:desired
    view is alert, size 1
    2013-12-20
    11:34:04.306 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/718:desired
    view is same as the current view
    2013-12-20
    11:34:04.306 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/480:reposition
    floating views
    2013-12-20
    11:34:04.306 Lync[563:3a71018c] INFO UI CMAlertViewController.mm/110:showalert
    is 0
    2013-12-20
    11:34:04.306 Lync[563:3a71018c] ERROR UI
    CMDismissButtonBaseViewController.mm/89:before: view height 1024.000000, width
    45.000000, x 64.000000, y 0.000000
    2013-12-20
    11:34:04.307 Lync[563:3a71018c] INFO UI
    CMNotificationManager.mm/1089:viewFrame: origin x 64.000000, origin y 0.000000,
    height 1024.000000, width 45.000000
    2013-12-20
    11:34:04.307 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/1195:resize
    alert label, origin x 44.000000, origin y 2.000000, height 41.000000, width
    936.000000
    2013-12-20
    11:34:04.307 Lync[563:3a71018c] ERROR UI
    CMDismissButtonBaseViewController.mm/104:after: self.label.frame height
    41.000000, width 936.000000, x 44.000000, y 2.000000
    2013-12-20
    11:34:04.337 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.337 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.338 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.338 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.338 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.338 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/705:desired
    view is alert, size 1
    2013-12-20
    11:34:04.338 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/718:desired
    view is same as the current view
    2013-12-20
    11:34:04.338 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/480:reposition
    floating views
    2013-12-20
    11:34:04.339 Lync[563:3a71018c] INFO UI CMAlertViewController.mm/110:showalert is
    0
    2013-12-20
    11:34:04.339 Lync[563:3a71018c] ERROR UI
    CMDismissButtonBaseViewController.mm/89:before: view height 1024.000000, width
    45.000000, x 64.000000, y 0.000000
    2013-12-20
    11:34:04.339 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/1089:viewFrame:
    origin x 64.000000, origin y 0.000000, height 1024.000000, width 45.000000
    2013-12-20
    11:34:04.339 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/1195:resize
    alert label, origin x 44.000000, origin y 2.000000, height 41.000000, width
    936.000000
    2013-12-20
    11:34:04.339 Lync[563:3a71018c] ERROR UI
    CMDismissButtonBaseViewController.mm/104:after: self.label.frame height
    41.000000, width 936.000000, x 44.000000, y 2.000000
    2013-12-20
    11:34:04.340 Lync[563:3a71018c] INFO UI CMSplitViewController.mm/162:Details
    Pane is in Full screen with controller
    2013-12-20
    11:34:04.340 Lync[563:3a71018c] INFO UI CMSplitViewController.mm/204:Split view
    frame orientation UIInterfaceOrientationLandscapeLeft Height = 748.000000 Width
    = 1024.000000 origin.x = 20.000000 origin.y = 0.000000 keyboardHeight =
    0.000000
    2013-12-20
    11:34:04.341 Lync[563:3a71018c] INFO UI CMSplitViewController.mm/162:Details
    Pane is in Full screen with controller
    2013-12-20
    11:34:04.341 Lync[563:3a71018c] INFO UI CMSplitViewController.mm/204:Split view
    frame orientation UIInterfaceOrientationLandscapeLeft Height = 748.000000 Width
    = 1024.000000 origin.x = 20.000000 origin.y = 0.000000 keyboardHeight =
    0.000000
    2013-12-20
    11:34:04.343 Lync[563:3a71018c] INFO UI
    CMToolsViewController.mm/349:ActualState = 0 DesiredState = 1  DataAvailable = 0
    2013-12-20
    11:34:04.344 Lync[563:3a71018c] INFO UI
    CMAlertViewController.mm/93:ObservableListItem Added event received
    2013-12-20
    11:34:04.344 Lync[563:3a71018c] INFO UI CMAlertViewController.mm/103:showalert
    is 1
    2013-12-20
    11:34:04.344 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.344 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.344 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.344 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.345 Lync[563:3a71018c] INFO UI CMConversationCommon.mm/43:not signed
    in
    2013-12-20
    11:34:04.345 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/705:desired
    view is alert, size 1
    2013-12-20
    11:34:04.345 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/718:desired
    view is same as the current view
    2013-12-20
    11:34:04.345 Lync[563:3a71018c] INFO UI CMNotificationManager.mm/480:reposition
    floating views
    2013-12-20
    11:34:04.345 Lync[563:3a71018c] INFO UI CMAlertViewController.mm/110:showalert
    is 1
    2013-12-20
    11:34:04.345 Lync[563:3a71018c] INFO UI CMAlertViewController.mm/114:showalert
    is 0
    2013-12-20
    11:34:04.345 Lync[563:3a71018c] INFO UI CMUIUtil.mm/402:Mapping error code =
    0x22020005, context = , type = 201
    2013-12-20
    11:34:04.346 Lync[563:3a71018c] INFO UI CMUIUtil.mm/1680:Mapped error message
    is ‘Cannot connect to the server because it could be busy or temporarily
    unavailable. Retry.’

    Hi Kent,
    thanks a lot for your reply!
    I created  _sip._tls.domain-ext.com SRV record in the external DNS and now autodiscovery works fine. At the beginning I had not created it because I thought lyncdiscover.domain-ext.com A record was enough for autodiscovery. I still cannot understand
    why lyncdiscover.domain-ext.com points to reverse proxy, while _sip._tls.domain-ext.com points to Edge server. It's strange because both are part of the research order of Lync 2013 desktop clients.
    By the way, mobility still does not work. I tried to insert bot the https URLs as manual configuration but Lync 2013 for iPad was not be able to login. I tried to paste both the URLs in the web browser and:
    with https://<ExtwebFQDN>/Autodiscover/autodiscoverservice.svc/Root appears the "Root.json" file to be downloaded;
    with https://<IntwebFQDN>/AutoDiscover/AutoDiscover.svc/Root
    the message "500-Internal error of server" appears.
    Any suggests from you about how to check the configuration of ISS/ARR 2.5?
    Thanks again!

  • Lync 2013 Edge & Web proxy

    Hi Everyone
    I'm having a little trouble getting my head around the setup for Lync external access.
    I have setup an ADFS server, Lync 2013 server(works internally), 2012 web proxy server(doing nothing) and an edge server(currently doing nothing).
    My understanding is that the Edge and Web proxy server are in "parallel", I.E, they both face the WAN as they perform different tasks.
    The problem I have is that I'm unsure how to map everything correctly, I also don't understand how an external Lync client will get it's config. If my domain setup is:
    something.domain.internal, and I would like to register a DNS entry externally as something.domain.external. How do I map those correctly via the web proxy and edge server? Sending the request via the firewall is easy enough, however I'm unsure how I'm supposed
    to define them on my servers. Is the Lync server supposed to know about the external URL? Or does it not care?

    Hi,
    The Edge Servers run the services that allow external access to IM and presence, conferencing, audio/video, and other media services. You can also configure the Edge Server to federate with other Lync Server and other XMPP deployments.
    Lync Server uses the reverse proxy to publish a number of features, such as conferencing meetings, conference join locations, the address book, distribution list expansion, downloading meeting content, device updates, Mobility services, and more. Any reverse
    proxy that can meet the requirements for publishing the necessary resource locations can be used.
    You just need to define the Edge information in topology builder and publish it. Then configure the server as defined in topology and install local configuration store, setup Lync components and assign certificate. Here is a topology that
    using private IP addresses and NAT.
    http://technet.microsoft.com/en-us/library/gg399001.aspx
    Here are other resource how to publish Lync Server web services
    http://blogs.technet.com/b/dodeitte/archive/2013/10/29/how-to-publish-lync-server-2013-web-services-with-windows-server-2012-r2-web-application-proxy.aspx
    https://social.technet.microsoft.com/wiki/contents/articles/9807.how-to-configure-forefront-tmg-2010-as-reverse-proxy-for-lync-server-2010.aspx
    Kent Huang
    TechNet Community Support

  • Lync 2013 android client fails to login bug when ISP overrides DNS

    Hello all,
    I've noticed an issue occurring in the latest Android client (as of 3/9/2015) with internet networks where the provider resolves all DNS queries to an IP address (e.g. T-Mobile, Cox Cable, and lots of others).
    Essentially, sometimes I have noticed my android client stuck on "Signing in".  The diagnostic logs show that the client is attempting to resolve http://lyncdiscover.contoso.com (which is not resolvable
    externally), but T-Mobile is sending it into a search engine.  The app continues to try to connect despite not realizing that it really did not resolve properly.  See below logs.
    <html><head><meta http-equiv="refresh" content="0;url=http://lookup.t-mobile.com/index.php?origURL=http://lyncdiscoverinternal.contoso.com/"/></head><body><script type="text/javascript">window.location="http://lookup.t-mobile.com/index.php?origURL="+escape(window.location)+"&r="+escape(document.referrer);</script></body></html>
    </ReceivedResponse>
    Mar 9, 2015 8:26:50 AM ERROR LYNC: ERROR TRANSPORT /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/transport/common/private/TransportUtilityFunctions.cpp/1874:Accept-types (application/vnd.microsoft.rtc.autodiscover+xml;v=1) not found in Content-Type response from server (text/html). Not decoding.
    Mar 9, 2015 8:26:50 AM INFO LYNC: INFO TRANSPORT /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/transport/requestprocessor/private/CHttpRequestProcessor.cpp/266:Sending event to main thread for request(0x9a306048)
    Mar 9, 2015 8:26:50 AM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/private/CTransportRequestRetrialQueue.cpp/822:Req. completed, Stopping timer.
    Mar 9, 2015 8:26:50 AM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/private/CUrlRedirectAndTrustResolver.cpp/610:UrlRedirectAndTrustResolver complete with url = http://lyncdiscoverinternal.contoso.com/, Hops = 1, status = E_ResponseUnknown (E2-1-5)
    Mar 9, 2015 8:26:50 AM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/private/CTransportRequestRetrialQueue.cpp/725:Response received for req. UrlTrustResolver(0x9a306048): E_ResponseUnknown (E2-1-5) (RemoteNetworkPermanentError); Done with req.; Stopping resend timer
    Mar 9, 2015 8:26:50 AM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/private/CUcwaAutoDiscoveryGetUserUrlOperation.cpp/393:CUcwaAutoDiscoverGetUserUrlOperation::onEvent received. Status = E_ResponseUnknown (E2-1-5), url = http://lyncdiscoverinternal.contoso.com/
    Mar 9, 2015 8:26:50 AM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/private/CUcwaAutoDiscoveryGetUserUrlOperation.cpp/224:UcwaAutoDiscoveryGetUserUrlOperation completed with url = http://lyncdiscoverinternal.contoso.com/?sipuri=sip:[email protected], userUrl = , status = E_ResponseUnknown (E2-1-5)
    Mar 9, 2015 8:26:50 AM DEBUG SigningInActivity: onStop()
    Mar 9, 2015 8:26:50 AM DEBUG SigninActivity: onStop()
    Mar 9, 2015 8:27:20 AM DEBUG HubActivity: onPause()
    Mar 9, 2015 8:27:20 AM DEBUG MyStatusFragment: onPause()
    Mar 9, 2015 8:27:20 AM DEBUG ContactsFragment: onPause()
    Mar 9, 2015 8:27:20 AM DEBUG HubActivity: onStop()
    Mar 9, 2015 8:27:20 AM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/objectmodel/private/CApplication.cpp/944:CApplication::serialize() called
    Mar 9, 2015 8:27:20 AM VERBOSE LYNC: VERBOSE APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/privateandroid/CCredentialStore.cpp/90:storing credentials for service:0
    Mar 9, 2015 8:27:20 AM VERBOSE LYNC: VERBOSE APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/privateandroid/CCredentialStore.cpp/90:storing credentials for service:1
    Mar 9, 2015 8:27:20 AM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/objectmodel/private/CBasePersistableEntity.cpp/179:Storing 1 out-of-sync Object Models took 32ms
    Mar 9, 2015 8:27:20 AM INFO LYNC: INFO UTILITIES /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/platform/persistentstorage/private/CBasePersistableComponent.cpp/245:Storing 3 out-of-sync components took 1ms
    Mar 9, 2015 8:27:20 AM INFO PreferencesManager: commit is called on
    Mar 9, 2015 8:27:20 AM DEBUG MyStatusFragment: onStop()
    Mar 9, 2015 8:27:20 AM DEBUG ContactsFragment: onStop()
    Mar 9, 2015 8:27:27 AM ERROR HttpConnection: org.apache.http.conn.HttpHostConnectException: Connection to https://lyncdiscoverinternal.contoso.com refused
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183)
    at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
    at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
    at com.microsoft.office.lync.platform.http.HttpEngine.execute(HttpEngine.java:502)
    at com.microsoft.office.lync.platform.http.HttpConnection$1.run(HttpConnection.java:219)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    at java.lang.Thread.run(Thread.java:818)
    Caused by: java.net.ConnectException: failed to connect to /198.105.244.104 (port 443) after 180000ms: isConnected failed: ECONNREFUSED (Connection refused)
    at libcore.io.IoBridge.isConnected(IoBridge.java:238)
    at libcore.io.IoBridge.connectErrno(IoBridge.java:171)
    at libcore.io.IoBridge.connect(IoBridge.java:122)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:456)
    at java.net.Socket.connect(Socket.java:882)
    at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:144)
    ... 12 more
    Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
    at libcore.io.IoBridge.isConnected(IoBridge.java:223)
    ... 19 more
    Since DNS overrides by ISPs are a common occurance, I believe the app should properly handle this situation.  I installed an app to override my DNS and use Google's DNS servers, and the client connects fine.

    Hi,
    Did you login Lync 2013 mobile client internal or external the company?
    Did the issue also happen for IOS/Windows Phones or just happen for Android Phones?
    Please try to check if the issue only happen for your mobile Lync client or also happen for other Android mobile clients.
    If the issue only happen for your Android mobile, please try to uninstall Lync client and install the latest version from Android Market and test the issue again.
    If the issue happen for multiple mobile clients, please double check the Reverse Proxy settings, if you use IIS ARR for Reverse Proxy, you can troubleshooting with the help of the link below:
    http://blogs.technet.com/b/nexthop/archive/2013/02/19/using-iis-arr-as-a-reverse-proxy-for-lync-server-2013.aspx
    Best Regards,
    Eason Huang
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].
    Eason Huang
    TechNet Community Support
    Ok, I figured out that I had a partial misconfiguration, but the existing client behavior still leads to long delays on a variety of networks.  I had the reverse proxy forwarding into port 80 instead of 8080, which seemingly caused problems
    during the second autodiscovery phase after the first timed out.   I have since confirmed that it's not just T-Mobile, but any such provider (e.g. Cox Cable, see below) that resolves all DNS entries.
    Essentially, the following is happening:
    1) Client attempts to resolve lyncdiscoverinternal first.
    2) DNS record resolves to ISP's website, because they resolve everything and will return their own page if the entry really doesn't exist.
    3) Lync client continues to try to connect to the ISP's address, and sits for at least a minute until it eventually falls to the lyncdiscover record.
    From the below log entries, you can see that the login process is delayed a full minute due to the client being stuck on the lyncdiscoverinternal record!  Again, this does not occur on ISPs that do not catch all DNS resolution
    attempts, regardless of validity.
    Mar 9, 2015 8:10:04 PM INFO HttpConnection: originalurl is
    https://lyncdiscoverinternal.contoso.com/?sipuri=sip:[email protected] method Get
    Mar 9, 2015 8:10:04 PM INFO HttpConnection: decodedurl is
    https://lyncdiscoverinternal.contoso.com/?sipuri=sip:[email protected]
    Mar 9, 2015 8:10:04 PM INFO LYNC: INFO TRANSPORT /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/transport/common/private/TransportUtilityFunctions.cpp/689:<SentRequest>
    GET
    https://lyncdiscoverinternal.contoso.com/?sipuri=sip:[email protected] 9, 2015 8:10:05 PM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/private/CUcwaAutoDiscoveryGetUserUrlOperation.cpp/224:UcwaAutoDiscoveryGetUserUrlOperation
    completed with url =
    http://lyncdiscoverinternal.contoso.com/?sipuri=sip:[email protected], userUrl = , status = E_ResponseUnknown (E2-1-5)
    GET http://lyncdiscoverinternal.contoso.com/
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html><head><meta">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta
    http-equiv="refresh" content="0;url=http://finder.cox.net/main?InterceptSource=0&ClientLocation=us&ParticipantID=96e687opkbv4scrood8k84drs6gw5duf&FailureMode=1&SearchQuery=&FailedURI=http%3A%2F%2Flyncdiscoverinternal.contoso.com%2F&AddInType=4&Version=2.1.8-1.90base&Referer=&Implementation=0&method=GET"/><script
    type="text/javascript">url="http://finder.cox.net/main?InterceptSource=0&ClientLocation=us&ParticipantID=96e687opkbv4scrood8k84drs6gw5duf&FailureMode=1&SearchQuery=&FailedURI=http%3A%2F%2Flyncdiscoverinternal.contoso.com%2F&AddInType=4&Version=2.1.8-1.90base&Referer=&Implementation=0&method=GET";if(top.location!=location){var
    w=window,d=document,e=d.documentElement,b=d.body,x=w.innerWidth||e.clientWidth||b.clientWidth,y=w.innerHeight||e.clientHeight||b.clientHeight;url+="&w="+x+"&h="+y;}window.location.replace(url);</script></head><body></body></html>
    </ReceivedResponse>
    Mar 9, 2015 8:10:21 PM INFO LYNC: INFO APPLICATION /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/applicationlayer/infrastructure/private/CUcwaDataSynchronizer.cpp/799:Mode 0
    timed out
    Mar 9, 2015 8:11:08 PM ERROR HttpConnection: org.apache.http.conn.HttpHostConnectException:
    Connection to https://lyncdiscoverinternal.contoso.com refused
     at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183)
    Mar 9, 2015 8:11:08 PM INFO LYNC: INFO TRANSPORT /Volumes/ServerHD2/buildagent/workspace/200604/tps/ucmp/ucmp/transport/common/private/TransportUtilityFunctions.cpp/1032:<ReceivedResponse>
    GET http://lyncdiscover.contoso.com/

  • Lync 2013 client is showing EWS not deployed.

    Hi,
    I am facing issue with lync 2013 client in the configuration information. it is showing EWS not deployed .
    UCS Connectivity State;      Exchange connection Down;           --;
    MAPI Information;              Status OK;MAPI Status OK;
    EWS Information;;             EWS not deployed;
    I am facing this issue both internally and externally.
    I am using Lync 2010 server and exchange 2010.
    Lync  2010 client is showing all EWS information correct. No issue with lync 2010 client.
    Thanks 

    Had the same issue.  Couple of things you can try:
    1.  Verify EWS virtual directory is configured properly on your Exchange CAS or Front-End servers (Get-WebServicesVirtualDirectory)
    But the thing that fixed it for me was:
    2.  Create SRV records for (_autodiscover, _TCP, 443) pointing to your CAS or Front-End server/array.  This has to be done for the forward zone of your public domain name (i.e. contoso.com, not contoso.local).  I did them both just
    to be on the safe side, but was the public domain that did it.

  • Lync 2013-Office Web Access Server-IPAD

    I have configured a Office Web App server onto a Windows Server 2012.  I was able to upload a PowerPoint from a Lync 2013 client both internally and externally.  When I test external access to that PowerPoint from an IPAD using the 2013 clinet,
    I am not able to see the PowerPoint.  If I VPN into the network from the IPAD it works.  There seems to be a problem with my AAR but, like I said my Lync 2013 client works fine though AAR.  I can browse to the external url http:\\externalurl\hosting\discovery
    and I can see the XML page.  I have confirmed that I can ping the internal name on the AAR.
    I am using the following pattern us/|^hosting/|^m/|^o/|^oh/|^op/|^p/|^we/|^wv/|^x/).*) in my AAR
    Any help would be appreciated.

    Are you able to access the PowerPoint externally using the desktop Lync client?
    If not, check that you are able to access your Web Conferencing ports on your Edge infrastructure. (usually TCP 443 on the webconf.domain.com (or whatever you called it) on the Edge server or TCP 444 if you have only a single IP on your Edge)
    The test you've done, shows that you are able to connect to your Office WAC. But if you can't connect to webconf service, this can cause this type of issue - and it's not obvious.
    If this helped you please click "Vote As Helpful" if it answered your question please click "Mark As Answer" | Blog
    www.lynced.com.au | Twitter
    @imlynced

  • Lync 2013 Clients prompting repeatedly for credentials for calendar data from outlook

    Our Exchange server had crashed recently (nothing major) and a reboot of the CAS server resolved the issues. However since then all our domain computers with Lync 2013 clients are prompting for credentials for calendar data from outlook. We would but in
    our domain credentials but it still asks. It would sometime ask once a day or sometimes repeatedly throughout the day.
    I have look on the forums and tried fixes that included: editing IIS Autodiscover and ESW to use NTLM first , rebuilt lyncs cache in app data etc and none seems to resolve the issue. Any help would be appreciated.
    Note: Our Lync 2013 environment is internal only. Only users on domain computers can access the service. We do use a proxy server here for internet but I do not believe Lync is going through the proxy since its internal to our network only. This is NOT happing
    to our users with the Lync 2010 client.

    Please update your Lync client with the latest version.
    You can check the following KB:
    http://support.microsoft.com/kb/2825630/en-us
    November 7, 2013 update for Lync 2013 fix the issue Proxy authentication dialog box appears when you sign in to Lync 2013.
    Lisa Zheng
    TechNet Community Support

Maybe you are looking for