Problem sigining in - Lync 2011 on Mac

Hello everybody,

I have a problem signing in to Lync 2011 on Mac. I put correct credentials, it works ok on Windows, I also tried to login-in with iOS app, but on Mac (Yosemite 10.10.2) doesn't work - it just shows a message: "Sign in to Microsoft Lync failed because the service is not available or you may not be connected to the Internet".

Below is the log. Do you have any idea what may be the problem? I tried to reinstall app, clear chache, clear all saved passwords for the account... Can you please help me?

2015/07/13 10:09:46.145  Office Communications Server LOGON STARTED:  USER = {fr\simm.maciej}
2015/07/13 10:09:46.147 SIPService::Logon
2015/07/13 10:09:46.215 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:09:46.256 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:09:46.256 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:09:46.268 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:09:46.268 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:09:46.268 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:09:46.269 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:09:46.270 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x0, oldState: 10, newState: 20, direction: 0
2015/07/13 10:09:47.009 InternalConnect, NLResolveAddress returned: 0
2015/07/13 10:09:47.012 IsLocalAddress, 'sip.adecco.com' is not a local address 
2015/07/13 10:09:47.012 FShouldUseProxy, is returning 1 
2015/07/13 10:09:47.013 Connecting to sip.adecco.com (port 443)
2015/07/13 10:09:47.436 InternalConnect, NLCreateConnection returned: -39,
2015/07/13 10:09:47.436 FUsingHttpsTunnelProxies, returning: 0
2015/07/13 10:09:47.436 Listening thread got exception -39
2015/07/13 10:09:47.438 InternalConnect, NLResolveAddress returned: 0
2015/07/13 10:09:47.440 IsLocalAddress, 'sip.adecco.com' is not a local address 
2015/07/13 10:09:47.440 FShouldUseProxy, is returning 1 
2015/07/13 10:09:47.442 Connecting to sip.adecco.com (port 443)
2015/07/13 10:09:48.297 InternalConnect, NLCreateConnection returned: -39,
2015/07/13 10:09:48.298 FUsingHttpsTunnelProxies, returning: 0
2015/07/13 10:09:48.298 Listening thread got exception -39
2015/07/13 10:09:51.596 InternalConnect, NLResolveAddress returned: -3176
2015/07/13 10:09:51.597 IsLocalAddress, 'sipinternal.adecco.com' is not a local address 
2015/07/13 10:09:51.597 FShouldUseProxy, is returning 1 
2015/07/13 10:09:51.599 Connecting to sipinternal.adecco.com (port 0)
2015/07/13 10:09:51.600 InternalConnect, NLCreateConnection returned: -3176,
2015/07/13 10:09:51.600 FUsingHttpsTunnelProxies, returning: 0
2015/07/13 10:09:51.600 Listening thread got exception -3176
2015/07/13 10:09:53.615 InternalConnect, NLResolveAddress returned: 0
2015/07/13 10:09:53.623 IsLocalAddress, 'sip.adecco.com' is not a local address 
2015/07/13 10:09:53.623 FShouldUseProxy, is returning 1 
2015/07/13 10:09:53.624 Connecting to sip.adecco.com (port 5061)
2015/07/13 10:09:53.825 InternalConnect, NLCreateConnection returned: -39,
2015/07/13 10:09:53.825 FUsingHttpsTunnelProxies, returning: 0
2015/07/13 10:09:53.825 Listening thread got exception -39
2015/07/13 10:09:53.827 InternalConnect, NLResolveAddress returned: 0
2015/07/13 10:09:53.829 IsLocalAddress, 'sip.adecco.com' is not a local address 
2015/07/13 10:09:53.829 FShouldUseProxy, is returning 1 
2015/07/13 10:09:53.830 Connecting to sip.adecco.com (port 5061)
2015/07/13 10:09:54.046 InternalConnect, NLCreateConnection returned: -39,
2015/07/13 10:09:54.047 FUsingHttpsTunnelProxies, returning: 0
2015/07/13 10:09:54.047 Listening thread got exception -39
2015/07/13 10:09:58.010 InternalConnect, NLResolveAddress returned: -3176
2015/07/13 10:09:58.013 IsLocalAddress, 'sipexternal.adecco.com' is not a local address 
2015/07/13 10:09:58.013 FShouldUseProxy, is returning 1 
2015/07/13 10:09:58.014 Connecting to sipexternal.adecco.com (port 443)
2015/07/13 10:09:58.016 InternalConnect, NLCreateConnection returned: -3176,
2015/07/13 10:09:58.016 FUsingHttpsTunnelProxies, returning: 0
2015/07/13 10:09:58.016 Listening thread got exception -3176
2015/07/13 10:10:00.036 InternalConnect, NLResolveAddress returned: -3176
2015/07/13 10:10:00.037 IsLocalAddress, 'sipexternal.adecco.com' is not a local address 
2015/07/13 10:10:00.038 FShouldUseProxy, is returning 1 
2015/07/13 10:10:00.038 Connecting to sipexternal.adecco.com (port 0)
2015/07/13 10:10:00.039 InternalConnect, NLCreateConnection returned: -3176,
2015/07/13 10:10:00.039 FUsingHttpsTunnelProxies, returning: 0
2015/07/13 10:10:00.039 Listening thread got exception -3176
2015/07/13 10:10:02.061 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x80072743, oldState: 20, newState: 10, direction: 1
2015/07/13 10:10:02.061 Login (1) failed with error: (0.-2147014845)
2015/07/13 10:10:02.073 SIPService::OnEvent(IApplicationLayerEvent &), type: 8, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:10:02.074 SIPService::OnEvent(IApplicationLayerEvent &), type: 2, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:10:02.074 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:10:02.074 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:10:02.075 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:10:02.075 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:10:02.076 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:10:02.078 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:10:05.110 SIPService::FDoQuit, starting m_QuitTimer at 166538.632538
2015/07/13 10:10:05.129 SIPService::OnEvent(IApplicationLayerEvent &), type: 4, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:10:05.133 SIPService::OnEvent(IApplicationLayerEvent &), type: 6, HasSignedIn(): 0, HasSignedOut: 0
2015/07/13 10:10:05.139 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x80072743, oldState: 10, newState: 0, direction: 1
2015/07/13 10:10:05.196 SIPService::OnEvent(IApplicationLayerEvent &), type: 9, HasSignedIn(): 0, HasSignedOut: 1
Microsoft Lync 14.0.11 (150403)
MacOS version 10.10.2 (build 14C109)


July 13th, 2015 4:42am

It looks like your DNS may not be set up properly. Lync for Mac will use Lync 2010 DNS keys. If you're inside the network, try adding sipinternal.adeco.com as an A record and point it at your front end. If external try sipexternal.adecco.com. If that helps, read this article and populate your srv records such as _sipinternaltls._tcp as well: https://technet.microsoft.com/en-us/library/gg398758(v=ocs.14).aspx

Another big one you may run into is if you're using internally signed certificates, you'll have to manually install the root and subordinate certificates on the Mac within keychain.
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2015 7:18am

Hi Maciej Simm,

 

Agree with Anthony.

Please check if the following DNS records are configured properly.

 

sip.adecco.com      -------------------     External DNS

sipinternal.adecco.com -------------    Internal DNS

_sipinternaltls._tcp.adeccom ------    Internal DNS

 

 

You can take a look at my logs, especially the red text.

(Brief description: I connected from Internet, the port of Access Edge was 5061)

--------------------------------------------------------------------------------

Microsoft Lync 14.0.11 (150304)

MacOS version 10.10.2 (build 14C109)

2015/03/16 22:08:09.202  Office Communications Server LOGON STARTED:  USER = {MyDomain\LyncDemo2}

2015/03/16 22:08:09.202 SIPService::Logon

2015/03/16 22:08:09.241 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.265 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.265 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.269 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.270 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.271 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.271 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.273 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x0, oldState: 10, newState: 20, direction: 0

2015/03/16 22:08:09.421 InternalConnect, NLResolveAddress returned: 0

2015/03/16 22:08:09.423 IsLocalAddress, 'sipinternal.MyDomain.com' is not a local address

2015/03/16 22:08:09.423 FShouldUseProxy, is returning 1

2015/03/16 22:08:09.424 Connecting to sipinternal.MyDomain.com (port 5061)

2015/03/16 22:08:13.502 InternalConnect, NLCreateConnection returned: 0,

2015/03/16 22:08:13.502 InternalConnect, NLCopyConnectionBinding returned: 0,

2015/03/16 22:08:24.009 InternalConnect, NLCreateConnection returned: -3259,

2015/03/16 22:08:24.009 FUsingHttpsTunnelProxies, returning: 0

2015/03/16 22:08:24.011 Listening thread got exception -3259

2015/03/16 22:08:26.072 InternalConnect, NLResolveAddress returned: 0

2015/03/16 22:08:26.073 IsLocalAddress, 'sip.MyDomain.com' is not a local address

2015/03/16 22:08:26.073 FShouldUseProxy, is returning 1

2015/03/16 22:08:26.074 Connecting to sip.MyDomain.com (port 443)

2015/03/16 22:08:26.364 InternalConnect, NLCreateConnection returned: 0,

2015/03/16 22:08:26.364 InternalConnect, NLCopyConnectionBinding returned: 0,

2015/03/16 22:08:28.438 InternalConnect, NLResolveAddress returned: 0

2015/03/16 22:08:28.439 IsLocalAddress, 'sip.MyDomain.com' is not a local address

2015/03/16 22:08:28.439 FShouldUseProxy, is returning 1

2015/03/16 22:08:28.440 Connecting to sip.MyDomain.com (port 5061)

2015/03/16 22:08:28.768 InternalConnect, NLCreateConnection returned: 0,

2015/03/16 22:08:28.768 InternalConnect, NLCopyConnectionBinding returned: 0,

2015/03/16 22:08:29.194 HRESULT GetLinkSpeed(DWORD, DWORD*, WIN_BOOL*): ip 192.168.100.187, link speed 0

2015/03/16 22:08:29.194 HRESULT GetLinkSpeed(DWORD, DWORD*, WIN_BOOL*): Working around 0 link speed

2015/03/16 22:08:29.196 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x0, oldState: 20, newState: 30, direction: 0

2015/03/16 22:08:29.198 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.199 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.222 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.223 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.256 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.256 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.264 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.264 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.286 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.286 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.293 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.293 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.434 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.434 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.437 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 1, HasSignedOut: 0

2015/03/16 22:08:29.437 virtual void SIPService::OnIdleHandleLogonSucceeded()

2015/03/16 22:08:29.440  Office Communications Server LOGON ENDED:  USER = {MyDomain\LyncDemo2}

2015/03/16 22:08:30.101 IsLocalAddress, 'lyncpool01' is not a local address

2015/03/16 22:08:30.101 FShouldUseProxy, is returning 1

2015/03/16 22:08:30.101 IsLocalAddress, 'lyncpool01' is not a local address

2015/03/16 22:08:30.101 FShouldUseProxy, is returning 1

 

 

Best regards,

Eric


July 13th, 2015 8:19am

Hi Maciej Simm,

 

Agree with Anthony.

Please check if the following DNS records are configured properly.

 

sip.adecco.com      -------------------     External DNS

sipinternal.adecco.com -------------    Internal DNS

_sipinternaltls._tcp.adeccom ------    Internal DNS

 

 

You can take a look at my logs, especially the red text.

(Brief description: I connected from Internet, the port of Access Edge was 5061)

--------------------------------------------------------------------------------

Microsoft Lync 14.0.11 (150304)

MacOS version 10.10.2 (build 14C109)

2015/03/16 22:08:09.202  Office Communications Server LOGON STARTED:  USER = {MyDomain\LyncDemo2}

2015/03/16 22:08:09.202 SIPService::Logon

2015/03/16 22:08:09.241 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.265 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.265 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.269 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.270 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.271 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.271 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.273 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x0, oldState: 10, newState: 20, direction: 0

2015/03/16 22:08:09.421 InternalConnect, NLResolveAddress returned: 0

2015/03/16 22:08:09.423 IsLocalAddress, 'sipinternal.MyDomain.com' is not a local address

2015/03/16 22:08:09.423 FShouldUseProxy, is returning 1

2015/03/16 22:08:09.424 Connecting to sipinternal.MyDomain.com (port 5061)

2015/03/16 22:08:13.502 InternalConnect, NLCreateConnection returned: 0,

2015/03/16 22:08:13.502 InternalConnect, NLCopyConnectionBinding returned: 0,

2015/03/16 22:08:24.009 InternalConnect, NLCreateConnection returned: -3259,

2015/03/16 22:08:24.009 FUsingHttpsTunnelProxies, returning: 0

2015/03/16 22:08:24.011 Listening thread got exception -3259

2015/03/16 22:08:26.072 InternalConnect, NLResolveAddress returned: 0

2015/03/16 22:08:26.073 IsLocalAddress, 'sip.MyDomain.com' is not a local address

2015/03/16 22:08:26.073 FShouldUseProxy, is returning 1

2015/03/16 22:08:26.074 Connecting to sip.MyDomain.com (port 443)

2015/03/16 22:08:26.364 InternalConnect, NLCreateConnection returned: 0,

2015/03/16 22:08:26.364 InternalConnect, NLCopyConnectionBinding returned: 0,

2015/03/16 22:08:28.438 InternalConnect, NLResolveAddress returned: 0

2015/03/16 22:08:28.439 IsLocalAddress, 'sip.MyDomain.com' is not a local address

2015/03/16 22:08:28.439 FShouldUseProxy, is returning 1

2015/03/16 22:08:28.440 Connecting to sip.MyDomain.com (port 5061)

2015/03/16 22:08:28.768 InternalConnect, NLCreateConnection returned: 0,

2015/03/16 22:08:28.768 InternalConnect, NLCopyConnectionBinding returned: 0,

2015/03/16 22:08:29.194 HRESULT GetLinkSpeed(DWORD, DWORD*, WIN_BOOL*): ip 192.168.100.187, link speed 0

2015/03/16 22:08:29.194 HRESULT GetLinkSpeed(DWORD, DWORD*, WIN_BOOL*): Working around 0 link speed

2015/03/16 22:08:29.196 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x0, oldState: 20, newState: 30, direction: 0

2015/03/16 22:08:29.198 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.199 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.222 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.223 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.256 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.256 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.264 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.264 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.286 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.286 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.293 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.293 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.434 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.434 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.437 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 1, HasSignedOut: 0

2015/03/16 22:08:29.437 virtual void SIPService::OnIdleHandleLogonSucceeded()

2015/03/16 22:08:29.440  Office Communications Server LOGON ENDED:  USER = {MyDomain\LyncDemo2}

2015/03/16 22:08:30.101 IsLocalAddress, 'lyncpool01' is not a local address

2015/03/16 22:08:30.101 FShouldUseProxy, is returning 1

2015/03/16 22:08:30.101 IsLocalAddress, 'lyncpool01' is not a local address

2015/03/16 22:08:30.101 FShouldUseProxy, is returning 1

 

 

Best regards,

Eric


Free Windows Admin Tool Kit Click here and download it now
July 13th, 2015 12:18pm

Hi Maciej Simm,

 

Agree with Anthony.

Please check if the following DNS records are configured properly.

 

sip.adecco.com      -------------------     External DNS

sipinternal.adecco.com -------------    Internal DNS

_sipinternaltls._tcp.adeccom ------    Internal DNS

 

 

You can take a look at my logs, especially the red text.

(Brief description: I connected from Internet, the port of Access Edge was 5061)

--------------------------------------------------------------------------------

Microsoft Lync 14.0.11 (150304)

MacOS version 10.10.2 (build 14C109)

2015/03/16 22:08:09.202  Office Communications Server LOGON STARTED:  USER = {MyDomain\LyncDemo2}

2015/03/16 22:08:09.202 SIPService::Logon

2015/03/16 22:08:09.241 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.265 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.265 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.269 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.270 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.271 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.271 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.273 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x0, oldState: 10, newState: 20, direction: 0

2015/03/16 22:08:09.421 InternalConnect, NLResolveAddress returned: 0

2015/03/16 22:08:09.423 IsLocalAddress, 'sipinternal.MyDomain.com' is not a local address

2015/03/16 22:08:09.423 FShouldUseProxy, is returning 1

2015/03/16 22:08:09.424 Connecting to sipinternal.MyDomain.com (port 5061)

2015/03/16 22:08:13.502 InternalConnect, NLCreateConnection returned: 0,

2015/03/16 22:08:13.502 InternalConnect, NLCopyConnectionBinding returned: 0,

2015/03/16 22:08:24.009 InternalConnect, NLCreateConnection returned: -3259,

2015/03/16 22:08:24.009 FUsingHttpsTunnelProxies, returning: 0

2015/03/16 22:08:24.011 Listening thread got exception -3259

2015/03/16 22:08:26.072 InternalConnect, NLResolveAddress returned: 0

2015/03/16 22:08:26.073 IsLocalAddress, 'sip.MyDomain.com' is not a local address

2015/03/16 22:08:26.073 FShouldUseProxy, is returning 1

2015/03/16 22:08:26.074 Connecting to sip.MyDomain.com (port 443)

2015/03/16 22:08:26.364 InternalConnect, NLCreateConnection returned: 0,

2015/03/16 22:08:26.364 InternalConnect, NLCopyConnectionBinding returned: 0,

2015/03/16 22:08:28.438 InternalConnect, NLResolveAddress returned: 0

2015/03/16 22:08:28.439 IsLocalAddress, 'sip.MyDomain.com' is not a local address

2015/03/16 22:08:28.439 FShouldUseProxy, is returning 1

2015/03/16 22:08:28.440 Connecting to sip.MyDomain.com (port 5061)

2015/03/16 22:08:28.768 InternalConnect, NLCreateConnection returned: 0,

2015/03/16 22:08:28.768 InternalConnect, NLCopyConnectionBinding returned: 0,

2015/03/16 22:08:29.194 HRESULT GetLinkSpeed(DWORD, DWORD*, WIN_BOOL*): ip 192.168.100.187, link speed 0

2015/03/16 22:08:29.194 HRESULT GetLinkSpeed(DWORD, DWORD*, WIN_BOOL*): Working around 0 link speed

2015/03/16 22:08:29.196 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x0, oldState: 20, newState: 30, direction: 0

2015/03/16 22:08:29.198 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.199 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.222 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.223 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.256 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.256 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.264 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.264 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.286 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.286 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.293 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.293 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.434 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.434 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.437 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 1, HasSignedOut: 0

2015/03/16 22:08:29.437 virtual void SIPService::OnIdleHandleLogonSucceeded()

2015/03/16 22:08:29.440  Office Communications Server LOGON ENDED:  USER = {MyDomain\LyncDemo2}

2015/03/16 22:08:30.101 IsLocalAddress, 'lyncpool01' is not a local address

2015/03/16 22:08:30.101 FShouldUseProxy, is returning 1

2015/03/16 22:08:30.101 IsLocalAddress, 'lyncpool01' is not a local address

2015/03/16 22:08:30.101 FShouldUseProxy, is returning 1

 

 

Best regards,

Eric


July 13th, 2015 12:18pm

Hi Maciej Simm,

 

Agree with Anthony.

Please check if the following DNS records are configured properly.

 

sip.adecco.com      -------------------     External DNS

sipinternal.adecco.com -------------    Internal DNS

_sipinternaltls._tcp.adeccom ------    Internal DNS

 

 

You can take a look at my logs, especially the red text.

(Brief description: I connected from Internet, the port of Access Edge was 5061)

--------------------------------------------------------------------------------

Microsoft Lync 14.0.11 (150304)

MacOS version 10.10.2 (build 14C109)

2015/03/16 22:08:09.202  Office Communications Server LOGON STARTED:  USER = {MyDomain\LyncDemo2}

2015/03/16 22:08:09.202 SIPService::Logon

2015/03/16 22:08:09.241 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.265 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.265 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.269 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.270 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.271 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.271 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:09.273 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x0, oldState: 10, newState: 20, direction: 0

2015/03/16 22:08:09.421 InternalConnect, NLResolveAddress returned: 0

2015/03/16 22:08:09.423 IsLocalAddress, 'sipinternal.MyDomain.com' is not a local address

2015/03/16 22:08:09.423 FShouldUseProxy, is returning 1

2015/03/16 22:08:09.424 Connecting to sipinternal.MyDomain.com (port 5061)

2015/03/16 22:08:13.502 InternalConnect, NLCreateConnection returned: 0,

2015/03/16 22:08:13.502 InternalConnect, NLCopyConnectionBinding returned: 0,

2015/03/16 22:08:24.009 InternalConnect, NLCreateConnection returned: -3259,

2015/03/16 22:08:24.009 FUsingHttpsTunnelProxies, returning: 0

2015/03/16 22:08:24.011 Listening thread got exception -3259

2015/03/16 22:08:26.072 InternalConnect, NLResolveAddress returned: 0

2015/03/16 22:08:26.073 IsLocalAddress, 'sip.MyDomain.com' is not a local address

2015/03/16 22:08:26.073 FShouldUseProxy, is returning 1

2015/03/16 22:08:26.074 Connecting to sip.MyDomain.com (port 443)

2015/03/16 22:08:26.364 InternalConnect, NLCreateConnection returned: 0,

2015/03/16 22:08:26.364 InternalConnect, NLCopyConnectionBinding returned: 0,

2015/03/16 22:08:28.438 InternalConnect, NLResolveAddress returned: 0

2015/03/16 22:08:28.439 IsLocalAddress, 'sip.MyDomain.com' is not a local address

2015/03/16 22:08:28.439 FShouldUseProxy, is returning 1

2015/03/16 22:08:28.440 Connecting to sip.MyDomain.com (port 5061)

2015/03/16 22:08:28.768 InternalConnect, NLCreateConnection returned: 0,

2015/03/16 22:08:28.768 InternalConnect, NLCopyConnectionBinding returned: 0,

2015/03/16 22:08:29.194 HRESULT GetLinkSpeed(DWORD, DWORD*, WIN_BOOL*): ip 192.168.100.187, link speed 0

2015/03/16 22:08:29.194 HRESULT GetLinkSpeed(DWORD, DWORD*, WIN_BOOL*): Working around 0 link speed

2015/03/16 22:08:29.196 SIPService::OnEvent(NModel::ILogonSessionEvent), hr: 0x0, oldState: 20, newState: 30, direction: 0

2015/03/16 22:08:29.198 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.199 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.204 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.222 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.223 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.256 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.256 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.264 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.264 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.286 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.286 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.293 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.293 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.434 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.434 SIPService::OnEvent(IApplicationLayerEvent &), type: 1, HasSignedIn(): 0, HasSignedOut: 0

2015/03/16 22:08:29.437 SIPService::OnEvent(IApplicationLayerEvent &), type: 3, HasSignedIn(): 1, HasSignedOut: 0

2015/03/16 22:08:29.437 virtual void SIPService::OnIdleHandleLogonSucceeded()

2015/03/16 22:08:29.440  Office Communications Server LOGON ENDED:  USER = {MyDomain\LyncDemo2}

2015/03/16 22:08:30.101 IsLocalAddress, 'lyncpool01' is not a local address

2015/03/16 22:08:30.101 FShouldUseProxy, is returning 1

2015/03/16 22:08:30.101 IsLocalAddress, 'lyncpool01' is not a local address

2015/03/16 22:08:30.101 FShouldUseProxy, is returning 1

 

 

Best regards,

Eric


Free Windows Admin Tool Kit Click here and download it now
July 13th, 2015 12:18pm

Hi Maciej Simm,

I see that the Record sip.adecco.com exist and the port 443 in this is LISTENING status, i think that the internal records also is OK.

Querying target system called:

 sip.adecco.com

Attempting to resolve name to IP address...

Name resolved to 193.203.97.30

querying...

TCP port 443 (https service): LISTENING

You can try with next steps:

  • Export the Root CA cert (for e.g. from the Lync server).

  • Install it by double clicking it.

  • That launches Keychain Access.

  • Select always trust.

  • Right-click the cert Click get-info.

  • Click Trust.

  • Select Always Trust on the first field so that always Trust is listed all the way down.

Regards!

July 14th, 2015 3:16pm

Hugo, thanks for the answer - I also think that DNS entries are okay - because:

- I am connecting fom the outside of corp network

- I can connect on non Mac machine (on windows, using the same credentials, the same external network)

Regarding the root certificate - I was trying to obtain it, but I'm struggling. There is no way for me to log into the server and download the cert, as I'm not within the corp network.

What I tried -> I logged into Lync using Windows PC - there are actually some certificates on this machine. I was thinkig - maybe I can export cert from Windows and install it on Mac but I don't know which one is the one for that server (there are like 30 root certificates). How should I identify the one?

Free Windows Admin Tool Kit Click here and download it now
July 15th, 2015 4:03am

Hi Maciej,


Yo can check in the step 3 of the deployment wizard.
July 15th, 2015 11:21am

Is the Windows client 2010 or 2013?  The DNS records are different and that may still be an issue.  Regardless, the root certificate would only be required if the Mac doesn't trust it, and there may be intermediates as well.  Best to ask the Lync administrator if they're using internally signed certificates anywhere, if so they can supply them to you.  If not, that might not be the issue, but see if you can navigate to meet.yoursipdomain.com without a certificate issue from the mac to test.
Free Windows Admin Tool Kit Click here and download it now
July 15th, 2015 11:24am

Hi Maciej,


Yo can check in the step 3 of the deployment wizard.
  • Edited by Hugo Enrike Wednesday, July 15, 2015 3:29 PM
July 15th, 2015 3:20pm

Hi Maciej,


Yo can check in the step 3 of the deployment wizard.
  • Edited by Hugo Enrike Wednesday, July 15, 2015 3:29 PM
Free Windows Admin Tool Kit Click here and download it now
July 15th, 2015 3:20pm

Hi Maciej,


Yo can check in the step 3 of the deployment wizard.
  • Edited by Hugo Enrike Wednesday, July 15, 2015 3:29 PM
July 15th, 2015 3:20pm

Hi Maciej Simm, 

Im writing to follow up on this thread. Do you have any updates on this issue? Please post back at your convenience.

 

Best regards,

Eric

Free Windows Admin Tool Kit Click here and download it now
July 20th, 2015 10:04am

Hi,

Check it...

1. Open Keychain Access

2. Select Keychain Access->Preferences->Certificates

3. Turn off OCSP & CRL

4. Log in to Lync.

http://community.office365.com/en-us/f/166/t/206998.aspx

July 20th, 2015 10:46am

Hi all,

@Thiago - I tried, but unfortunately it didn't help.

@Eric - unfortunately I still haven't solved the issue - for the time being I installed VM with Windows and running on Lync 2013.

Free Windows Admin Tool Kit Click here and download it now
July 20th, 2015 11:14am

Hi Maciej Simm,

The Lync for Mac 14.1.1 is released. You may try it.

Best regards,

Eric

July 26th, 2015 5:18am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics