Quantcast
Channel: Microsoft Unified Communications Managed API SDK forum
Viewing all articles
Browse latest Browse all 889

UserEndpoint establish fail

$
0
0

Maybe its becausethe new updates of new lync server ( 2013 ) but sometimes it success to connect to UserEndpoint

 and sometimes not.

Microsoft.Rtc.Signaling.RegisterException was caught
  Message=The operation failed after several attempts.
  Source=Microsoft.Rtc.Collaboration
  DetectionStackTrace=   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at Microsoft.Rtc.Signaling.RealTimeException..ctor(String message, Exception innerException)
   at Microsoft.Rtc.Signaling.FailureResponseException..ctor(String message, Exception innerException, SipResponseData responseData)
   at Microsoft.Rtc.Signaling.Helper.CreateExceptionByType(String message, SipResponseData responseData, Exception innerException, Type exceptionType)
   at Microsoft.Rtc.Signaling.SipTransactionAsyncResult`1.CheckForTooManyTransactions()
   at Microsoft.Rtc.Signaling.SipTransactionAsyncResult`1.ProcessCore()
   at Microsoft.Rtc.Signaling.SipTransactionAsyncResult`1.ProcessAuthenticationRequiredResponse(SipResponse response)
   at Microsoft.Rtc.Signaling.SipTransactionAsyncResult`1.Transaction_ResponseReceived(Object sender, ResponseReceivedEventArgs e)
   at Microsoft.Rtc.Internal.Sip.OutgoingNonInviteTransaction.OnResponseReceived(EventArgs e)
   at Microsoft.Rtc.Internal.Sip.DispatchEventWorkitem.Execute()
   at Microsoft.Rtc.Internal.Sip.SingleThreadedDispatcherQueue.DispatcherCallback(Object queue)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
  StackTrace:
       at Microsoft.Rtc.Signaling.SipAsyncResult`1.ThrowIfFailed()
       at Microsoft.Rtc.Signaling.Helper.EndAsyncOperation[T](Object owner, IAsyncResult result)
       at Microsoft.Rtc.Collaboration.LocalEndpoint.EndEstablish(IAsyncResult result)
       at LyncTester.UCMA.UserEndpointStarter.OnUserEndpointEstablishCompleted(IAsyncResult result) in C:\Users\adam\Documents\Visual Studio 2010\Projects\LyncTester\LyncTester\UCMA\UserEndpointStarter.cs:line 112
  InnerException: 

In the Lync logs I see :

SIP/2.0 401 Unauthorized

Failed to validate user credentials

Why? 



Viewing all articles
Browse latest Browse all 889

Trending Articles