Hi All,
I have followed half a dozen blogs and triple checked my settings but I still can't login to the mobility service through the mobile app (in this case it is a Windows phone).
I have Forefront TMG with 2 x NICs running on the perimeter network, I have set the web publishing rules and certs as per several blogs & have the correct public DNS entries externally - relevant update packs have also been installed.
When I navigate to lyncdisover.domain.com from IE I do get a response, the file prompted to download contains the following: (I don't know if this is correct or not).
{"AccessLocation":"External","Root":{"Links":[{"href":"https:\/\/lync.domain.com\/Autodiscover\/AutodiscoverService.svc\/root\/domain","token":"Domain"},{"href":"https:\/\/lync.domain.com\/Autodiscover\/AutodiscoverService.svc\/root\/user","token":"User"}]}}
However, when I try and log on with a phone I receive the error:
Can't connect to the server. It might be unavailable. Also please check your network connection, sign-in address, and server addresses
The log from the phone is below (sorry for the volume).
Thanks for your help - can't wait to move on from this job and do something else!!
K
****************************************************
2012-10-26 09:51:07.269+1 : Info : 481167826 : App : Launching 4.1.8092.0
2012-10-26 09:51:07.319+1 : Info : 481167826 : PhotoManager : StartPhotoDownloads()
2012-10-26 09:51:07.320+1 : Info : 481167826 : PresenceSubscriptionManager : Subscription context will be renewed at 0001-01-01 00:00:00Z and expires at 0001-01-01 00:00:00Z.
2012-10-26 09:51:07.352+1 : Info : 481167826 : InternalExternalSelector : Configuring Transport to use EXTERNAL URLs
2012-10-26 09:51:07.368+1 : Info : 481167826 : PushNotificationChannel : Syncing actual=Closed to desiredOpen=False
2012-10-26 09:51:07.376+1 : Info : 481167826 : App : Launching took 500 ms
2012-10-26 09:51:08.367+1 : Info : 481167826 : MainPage : QueryString Value
2012-10-26 09:51:11.438+1 : Info : 481167826 : NavigationManager : Navigating to: /UI/Pages/About.xaml
2012-10-26 09:51:15.688+1 : Info : 481167826 : App : Deactivating
2012-10-26 09:51:16.019+1 : Info : 481167826 : App : Deactivating took 330 ms
2012-10-26 09:51:21.679+1 : Info : 481167826 : App : Activating 4.1.8092.0
2012-10-26 09:51:21.680+1 : Info : 481167826 : InternalExternalSelector : Configuring Transport to use EXTERNAL URLs
2012-10-26 09:51:21.681+1 : Info : 481167826 : PushNotificationChannel : Syncing actual=Closed to desiredOpen=False
2012-10-26 09:51:21.683+1 : Info : 481167826 : App : Activating took 39 ms
2012-10-26 09:51:22.694+1 : Info : 481167826 : MainPage : QueryString Value
2012-10-26 09:51:24.406+1 : Info : 481167826 : LogonSession : UI invoked SignIn
2012-10-26 09:51:24.411+1 : Info : 481167826 : CredentialManager : Got a new user credential from app layer.
2012-10-26 09:51:24.413+1 : Info : 481167826 : TrustManager : Adding domain.com to trusted domain list for Autodiscovery.
2012-10-26 09:51:24.416+1 : Info : 481167826 : DiscoverySession : Uri for request IntDisc_https is
https://lyncdiscoverinternal.domain.com/?sipuri=firstname.lastname@domain.com.
2012-10-26 09:51:24.418+1 : Info : 481167826 : DiscoverySession : Uri for request IntDisc_http is
http://lyncdiscoverinternal.domain.com/?sipuri=firstname.lastname@domain.com.
2012-10-26 09:51:24.479+1 : Info : 481167826 : LogonSession : SignInState: SigningIn
2012-10-26 09:51:24.482+1 : Info : 481167826 : PresenceSubscriptionManager : HandleLogonSessionPropertyChange(SigningIn)
2012-10-26 09:51:24.483+1 : Info : 481167826 : McxDataSynchronizer : Signed out
2012-10-26 09:51:24.515+1 : Info : 481167826 : PresenceSubscriptionManager : HandleLogonSessionPropertyChange(SigningIn)
2012-10-26 09:51:24.515+1 : Info : 481167826 : McxDataSynchronizer : Signed out
2012-10-26 09:51:24.515+1 : Info : 481167826 : LogonSession : New LogonSession internal state = DiscoveringServer
2012-10-26 09:51:26.167+1 : Warning : 480971158 : HttpRequestPump : Got a WebException while reading the response for IntDisc_http.
2012-10-26 09:51:26.171+1 : Error : 480971158 : HttpRequestPump : Got a failure response to request IntDisc_http. Status: UnknownError. Code: 404.
2012-10-26 09:51:26.175+1 : Verbose : 480971158 : HttpRequestPump : Error status description for request IntDisc_http is "Not Found".
2012-10-26 09:51:26.176+1 : Verbose : 480971158 : HttpRequestPump : Error header collection for request IntDisc_http is: Date="Fri, 26 Oct 2012 08:52:47 GMT"; Server="Apache"; Content-Length="38"; Content-Type="text/html"; Connection="keep-alive";
2012-10-26 09:51:26.179+1 : Error : 480971158 : HttpRequestPump : Calling back IntDisc_http with error HttpInvalidServerUrlError [Error, Transport, TransportFramework].
2012-10-26 09:51:26.199+1 : Info : 481167826 : ConfigurationResolver : A discover request has failed. Waiting for parallel request result.
2012-10-26 09:51:27.236+1 : Warning : 480971158 : HttpRequestPump : Got a WebException while reading the response for IntDisc_https.
2012-10-26 09:51:27.236+1 : Error : 480971158 : HttpRequestPump : Request IntDisc_https failed due to an unidentified network error.
2012-10-26 09:51:27.236+1 : Error : 480971158 : HttpRequestPump : Calling back IntDisc_https with error ConnectionError [Error, Transport, TransportFramework].
2012-10-26 09:51:27.241+1 : Info : 481167826 : ConfigurationResolver : Internal autodiscovery requests failed. Trying external.
2012-10-26 09:51:27.241+1 : Info : 481167826 : DiscoverySession : Uri for request ExtDisc_https is
https://lyncdiscover.domain.com/?sipuri=firstname.lastname@domain.com.
2012-10-26 09:51:27.241+1 : Info : 481167826 : DiscoverySession : Uri for request ExtDisc_http is
http://lyncdiscover.domain.com/?sipuri=firstname.lastname@domain.com.
2012-10-26 09:51:27.614+1 : Warning : 480971158 : HttpRequestPump : Got a WebException while reading the response for ExtDisc_http.
2012-10-26 09:51:27.614+1 : Error : 480971158 : HttpRequestPump : Got a failure response to request ExtDisc_http. Status: UnknownError. Code: 403.
2012-10-26 09:51:27.614+1 : Verbose : 480971158 : HttpRequestPump : Error status description for request ExtDisc_http is "Forbidden".
2012-10-26 09:51:27.615+1 : Verbose : 480971158 : HttpRequestPump : Error header collection for request ExtDisc_http is: Content-Length="1864"; Pragma="no-cache"; Cache-Control="no-cache"; Content-Type="text/html"; Connection="keep-alive";
2012-10-26 09:51:27.619+1 : Error : 480971158 : HttpRequestPump : Calling back ExtDisc_http with error HttpClientForbiddenError [Error, Transport, TransportFramework].
2012-10-26 09:51:27.630+1 : Info : 481167826 : ConfigurationResolver : A discover request has failed. Waiting for parallel request result.
2012-10-26 09:51:28.090+1 : Info : 480971158 : HttpRequestPump : Completed request ExtDisc_https.
2012-10-26 09:51:28.103+1 : Info : 481167826 : ConfigurationResolver : Redirect to
https://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user from secure link
https://lyncdiscover.domain.com/?sipuri=firstname.lastname@domain.com does not require a trust decision.
2012-10-26 09:51:28.103+1 : Info : 481167826 : ConfigurationResolver : Redirecting discovery query for
firstname.lastname@domain.com to https://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user.
2012-10-26 09:51:28.104+1 : Info : 481167826 : ConfigurationResolver : Sending authenticated discovery request for
firstname.lastname@domain.com to https://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user.
2012-10-26 09:51:28.107+1 : Verbose : 481167826 : HttpRequestPump : Request AuthDisc to
https://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user requires metadata.
2012-10-26 09:51:28.110+1 : Verbose : 481167826 : MetadataManager : Got a resolve request for
https://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user.
2012-10-26 09:51:28.778+1 : Warning : 480971158 : HttpRequestPump : Got a WebException while reading the response for UnauthGethttps://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user.
2012-10-26 09:51:28.779+1 : Error : 480971158 : MetadataManager : Unauthenticated get did not receive a web ticket issuer header.
2012-10-26 09:51:28.779+1 : Error : 480971158 : HttpRequestPump : Request UnauthGethttps://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user failed due to an unidentified network error.
2012-10-26 09:51:28.779+1 : Error : 480971158 : HttpRequestPump : Calling back UnauthGethttps://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user with error ConnectionError [Error, Transport, TransportFramework].
2012-10-26 09:51:28.780+1 : Error : 480971158 : MetadataManager : Web request to resolve failed. Error: ConnectionError [Error, Transport, TransportFramework].
2012-10-26 09:51:28.784+1 : Error : 480971158 : HttpRequestPump : Failed to resolve metadata for AuthDisc. Status=ConnectionError [Error, Transport, TransportFramework].
2012-10-26 09:51:28.784+1 : Error : 480971158 : HttpRequestPump : Calling back AuthDisc with error ConnectionError [Error, Transport, TransportFramework].
2012-10-26 09:51:28.796+1 : Info : 481167826 : RequestRetryQueue : AuthDisc ConnectionError [Error, Transport, TransportFramework] retry=True
2012-10-26 09:51:28.797+1 : Verbose : 481167826 : HttpRequestPump : Request AuthDisc to
https://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user requires metadata.
2012-10-26 09:51:28.797+1 : Verbose : 481167826 : MetadataManager : Got a resolve request for
https://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user.
2012-10-26 09:51:29.093+1 : Warning : 480971158 : HttpRequestPump : Got a WebException while reading the response for UnauthGethttps://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user.
2012-10-26 09:51:29.093+1 : Error : 480971158 : MetadataManager : Unauthenticated get did not receive a web ticket issuer header.
2012-10-26 09:51:29.094+1 : Error : 480971158 : HttpRequestPump : Request UnauthGethttps://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user failed due to an unidentified network error.
2012-10-26 09:51:29.094+1 : Error : 480971158 : HttpRequestPump : Calling back UnauthGethttps://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user with error ConnectionError [Error, Transport, TransportFramework].
2012-10-26 09:51:29.094+1 : Error : 480971158 : MetadataManager : Web request to resolve failed. Error: ConnectionError [Error, Transport, TransportFramework].
2012-10-26 09:51:29.095+1 : Error : 480971158 : HttpRequestPump : Failed to resolve metadata for AuthDisc. Status=ConnectionError [Error, Transport, TransportFramework].
2012-10-26 09:51:29.095+1 : Error : 480971158 : HttpRequestPump : Calling back AuthDisc with error ConnectionError [Error, Transport, TransportFramework].
2012-10-26 09:51:29.100+1 : Info : 481167826 : RequestRetryQueue : AuthDisc ConnectionError [Error, Transport, TransportFramework] retry=True
2012-10-26 09:51:29.101+1 : Verbose : 481167826 : HttpRequestPump : Request AuthDisc to
https://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user requires metadata.
2012-10-26 09:51:29.101+1 : Verbose : 481167826 : MetadataManager : Got a resolve request for
https://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user.
2012-10-26 09:51:29.383+1 : Warning : 480971158 : HttpRequestPump : Got a WebException while reading the response for UnauthGethttps://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user.
2012-10-26 09:51:29.384+1 : Error : 480971158 : MetadataManager : Unauthenticated get did not receive a web ticket issuer header.
2012-10-26 09:51:29.384+1 : Error : 480971158 : HttpRequestPump : Request UnauthGethttps://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user failed due to an unidentified network error.
2012-10-26 09:51:29.384+1 : Error : 480971158 : HttpRequestPump : Calling back UnauthGethttps://lync.domain.com/Autodiscover/AutodiscoverService.svc/root/user with error ConnectionError [Error, Transport, TransportFramework].
2012-10-26 09:51:29.384+1 : Error : 480971158 : MetadataManager : Web request to resolve failed. Error: ConnectionError [Error, Transport, TransportFramework].
2012-10-26 09:51:29.389+1 : Error : 480971158 : HttpRequestPump : Failed to resolve metadata for AuthDisc. Status=ConnectionError [Error, Transport, TransportFramework].
2012-10-26 09:51:29.389+1 : Error : 480971158 : HttpRequestPump : Calling back AuthDisc with error ConnectionError [Error, Transport, TransportFramework].
2012-10-26 09:51:29.406+1 : Info : 481167826 : InternalExternalSelector : Checking whether to switch from EXTERNAL because of ConnectionError [Error, Transport, TransportFramework]
2012-10-26 09:51:29.407+1 : Info : 481167826 : InternalExternalSelector : Not signed in
2012-10-26 09:51:29.424+1 : Error : 481167826 : ConfigurationResolver : Autodiscovery for
firstname.lastname@domain.com failed with status DiscoveryFailedPastRoot [Error, Application, Discovery].
2012-10-26 09:51:29.440+1 : Info : 481167826 : LogonSession : SignInState: SignedOut
2012-10-26 09:51:29.441+1 : Info : 481167826 : ConversationManager : LogonSession signed in or out
2012-10-26 09:51:29.441+1 : Info : 481167826 : PresenceSubscriptionManager : HandleLogonSessionPropertyChange(SignedOut)
2012-10-26 09:51:29.441+1 : Info : 481167826 : McxDataSynchronizer : Signed out
2012-10-26 09:51:29.443+1 : Info : 481167826 : ConversationManager : LogonSession signed in or out
2012-10-26 09:51:29.443+1 : Info : 481167826 : PresenceSubscriptionManager : HandleLogonSessionPropertyChange(SignedOut)
2012-10-26 09:51:29.444+1 : Info : 481167826 : McxDataSynchronizer : Signed out
2012-10-26 09:51:29.444+1 : Info : 481167826 : LogonSession : New LogonSession internal state = SignedOut
2012-10-26 09:51:29.445+1 : Info : 481167826 : LogonSession : Doing UI callback with DiscoveryFailedPastRoot [Error, Application, Discovery]
2012-10-26 09:51:29.513+1 : Error : 481167826 : AppLayerHelper : Can't connect to the server. It might be unavailable. Also please check your network connection, sign-in address, and server addresses.
DiscoveryFailedPastRoot [Error, Application, Discovery]
2012-10-26 09:51:30.928+1 : Info : 481167826 : AppLayerHelper : SignIn completed with DiscoveryFailedPastRoot [Error, Application, Discovery]
2012-10-26 09:51:33.137+1 : Info : 481167826 : NavigationManager : Navigating to: /UI/Pages/About.xaml
2012-10-26 09:51:35.896+1 : Info : 481167826 : App : Deactivating
2012-10-26 09:51:37.588+1 : Info : 481167826 : App : Deactivating took 1691 ms
2012-10-26 09:51:44.164+1 : Info : 481167826 : App : Activating 4.1.8092.0
2012-10-26 09:51:44.165+1 : Info : 481167826 : InternalExternalSelector : Configuring Transport to use EXTERNAL URLs
2012-10-26 09:51:44.166+1 : Info : 481167826 : PushNotificationChannel : Syncing actual=Closed to desiredOpen=False
2012-10-26 09:51:44.167+1 : Info : 481167826 : App : Activating took 25 ms
*************************************************************