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

Error connecting to GroupChat with Lync 2010 UCMA 3.0 Application

$
0
0

Hi,

I'm having difficulties with a UCMA 3.0 application that posts messages to GroupChat rooms for one of our customers.  We have verified that all ports are open and that the GroupChat lookup URI is correct.  We are able to establish a UserEndpoint with the Lync server, but fail when trying to establish the GroupChat endpoint.  This is only occurring on the customer's network; on our internal testing environment we are not having any problems.  The exception reported is:

2013-02-20 06:35:06,556 - ERROR InstantUtils.GroupChat Exception in EndInvoke
ResponseCode=504 ResponseText=Server time-out
DiagnosticInformation=ErrorCode=1014,Source=USHOULNCFE01VT.corpdev.dev,Reason=Unable to resolve DNS A record
Microsoft.Rtc.Signaling.DiagnosticHeader

Microsoft.Rtc.Signaling.FailureResponseException:A 504 (Server time-out) response was received from the network and the operation failed. See the exception details for more information.
   at Microsoft.Rtc.Collaboration.GroupChat.Internal.AsyncResultNoResult.EndInvoke(Int32 millisecondsTimeout)
   at Microsoft.Rtc.Collaboration.GroupChat.Internal.AsyncResultNoResult.EndInvoke()
   at Microsoft.Rtc.Collaboration.GroupChat.GroupChatEndpoint.EndEstablish(IAsyncResult asyncResult)
   at InstantUtils.GroupChat.GetGroupChatEndpoint(UserEndpoint endpoint)
Detected at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at Microsoft.Rtc.Signaling.FailureResponseException..ctor(String message, Exception innerException, SipResponseData responseData)
   at Microsoft.Rtc.Signaling.RealTimeException.GetWrappedRealTimeException(String message, SipResponseData responseData, Exception exceptionToWrap)
   at Microsoft.Rtc.Signaling.Helper.CreateExceptionByType(String message, SipResponseData responseData, Exception innerException, Type exceptionType)
   at Microsoft.Rtc.Signaling.SipTransactionAsyncResult`1.ProcessFailureResponse(SipResponse response)
   at Microsoft.Rtc.Signaling.SipInviteAsyncResult.ProcessFailureResponse(Object state)
   at Microsoft.Rtc.Signaling.QueueWorkItemState.ExecuteWrappedMethod(WaitCallback method, Object state)
   at Microsoft.Rtc.Signaling.QueueWorkItemState.WrappedQueueUserWorkItem(Object state)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

The code that generates this error is:

private static GroupChatEndpoint GetGroupChatEndpoint(UserEndpoint endpoint) {            var lookupUri = ConfigurationManager.AppSettings["GroupChatLookupUri"];    var gpEndpoint = new GroupChatEndpoint(new Uri(lookupUri), endpoint);    Log.Info("Connecting to Lync GroupChat Server as " + endpoint.OwnerUri);    try {        gpEndpoint.EndEstablish(gpEndpoint.BeginEstablish(nullnull));        return gpEndpoint;    } catch (Exception ex) {        Log.Error("Exception in " + ex.TargetSite.Name, ex);        return null;    }
}

This feels like a network-related error with the customer's environment, although I haven't been able to uncover any similar errors that other people have run into.  From my research, this 1014 error usually crops up for people that are doing Lync A/V applications, rather than Group Chat calls.

Any help would be appreciated


Viewing all articles
Browse latest Browse all 889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>