ApplicationEndPoint.BeginEstablish上的错误500 [英] Error 500 on ApplicationEndPoint.BeginEstablish

查看:84
本文介绍了ApplicationEndPoint.BeginEstablish上的错误500的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个简单的控制台应用程序,可以成功建立CollabPLatform,但在尝试建立Application Enpoint时会遇到命中和异常。

I have a simple console application that successfully estabilsh the CollabPLatform but them hits and exception when try to establish the Application Enpoint.

任何可能导致此问题的想法?

Any ideas what could be causing this?

应用程序端点建立失败:Microsoft.Rtc.Signaling.OperationFail

ureException:GetInbandDataAsyncResult操作具有消息失败:"Th $ $ b $是服务器的数据会话订阅失败。"。有关其他信息,请参阅InnerException和Failu

reReason属性以及日志。  ---> FaultC

ode =
$
ResponseCode = 500 ResponseText =服务器遇到意外的内部错误

r

DiagnosticInformation = ErrorCode = 1,Source = VERUS.K2.dev,Reason = Service Unavailable

Application endpoint establishment failed: Microsoft.Rtc.Signaling.OperationFail
ureException:The GetInbandDataAsyncResult operation has failed with message: "Th
e data session subscription to server failed.". See the InnerException and Failu
reReason properties as well as the logs for additional information.  ---> FaultC
ode=
ResponseCode=500 ResponseText=The server encountered an unexpected internal erro
r
DiagnosticInformation=ErrorCode=1,Source=VERUS.K2.dev,Reason=Service Unavailable

Microsoft.Rtc.Signaling.DiagnosticHeader

Microsoft.Rtc.Signaling.DiagnosticHeader

Microsoft.Rtc.Signaling。 PublishSubscribeException:数据会话预订

到服务器失败。 ---> FaultCode =
$
ResponseCode = 500 ResponseText =服务器遇到意外的内部错误因为诊断信息= ErrorCode = 1,Source = VERUS.K2。 dev,Reason = Service Unavailable

Microsoft.Rtc.Signaling.PublishSubscribeException:The data session subscription
to server failed. ---> FaultCode=
ResponseCode=500 ResponseText=The server encountered an unexpected internal erro
r
DiagnosticInformation=ErrorCode=1,Source=VERUS.K2.dev,Reason=Service Unavailable

Microsoft.Rtc.Signaling.DiagnosticHeader

Microsoft.Rtc.Signaling.DiagnosticHeader

Microsoft.Rtc.Signaling.PublishSubscribeException:A 500(服务器遇到

一个意外的内部错误)从网络收到响应,并且操作数
配给失败。有关详细信息,请参阅异常详细信息。
$
在System.Environment.GetStackTrace中检测到(例外e,布尔需要文件信息)

  在System.Environment.get_StackTrace()

  在Microsoft.Rtc.Signaling.Helper.get_StackTrace()

   at Microsoft.Rtc.Signaling.RealTimeException..ctor(String message,Exception

innerException)

   at Microsoft.Rtc.Signaling.FailureResponseException..ctor(String message,Exc

eption innerException,SipResponseData responseData)

   at Microsoft.Rtc.Signaling.PublishSubscribeException..ctor(String message,Ex

ception innerException,SipResponseData responseData)

   at Microsoft.Rtc.Signaling.Helper.CreateExceptionByType(String message,SipRe

sponseData responseData,Exception innerException,Type exceptionType)

  在Microsoft.Rtc.Signaling.SipTransactionAsyncResult`1.ProcessFailureResponse

(SipResponse回复)

   at Microsoft.Rtc.Signaling.SipTransactionAsyncResult`1.Transaction_ResponseRe

ceived(Object sender,ResponseReceivedEventArgs e)

  在Microsoft.Rtc.Internal.Sip.OutgoingNonInviteTransaction.OnResponseReceived

(EventArgs e)

  在Microsoft.Rtc.Internal.Sip.DispatchEventWorkitem.Execute()

  在Microsoft.Rtc.Internal.Sip.SingleThreadedDispatcherQueue.DispatcherCallbac

k(对象队列)

  在System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_Thre

adPoolWaitCallback tpWaitCallBack)

  在System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(对象状态)

Microsoft.Rtc.Signaling.PublishSubscribeException:A 500 (The server encountered
an unexpected internal error) response was received from the network and the ope
ration failed. See the exception details for more information.
Detected at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at Microsoft.Rtc.Signaling.Helper.get_StackTrace()
   at Microsoft.Rtc.Signaling.RealTimeException..ctor(String message, Exception
innerException)
   at Microsoft.Rtc.Signaling.FailureResponseException..ctor(String message, Exc
eption innerException, SipResponseData responseData)
   at Microsoft.Rtc.Signaling.PublishSubscribeException..ctor(String message, Ex
ception innerException, SipResponseData responseData)
   at Microsoft.Rtc.Signaling.Helper.CreateExceptionByType(String message, SipRe
sponseData responseData, Exception innerException, Type exceptionType)
   at Microsoft.Rtc.Signaling.SipTransactionAsyncResult`1.ProcessFailureResponse
(SipResponse response)
   at Microsoft.Rtc.Signaling.SipTransactionAsyncResult`1.Transaction_ResponseRe
ceived(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.DispatcherCallbac
k(Object queue)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_Thre
adPoolWaitCallback tpWaitCallBack)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

 



---内在的结束异常堆栈跟踪---

  在Microsoft.Rtc.Signaling.SipAsyncResult`1.ThrowIfFailed()

  在Microsoft.Rtc.Signaling.Helper.EndAsyncOperation [T](对象所有者,IAsyncRe

结果)

  在Microsoft.Rtc.Signaling.Helper.EndAsyncOperation [T](对象所有者,IAsyncRe

sult结果,字符串operationId)

  在Microsoft.Rtc.Collaboration.Presence.ProvisioningQuery.EndQuery(IAsyncResu

lt result)

  在Microsoft.Rtc.Collaboration.GetInbandDataAsyncResult.InbandQueryCompleted(
$
IAsyncResult结果)

在System.Environment.GetStackTrace检测到(例外e,布尔needFileInfo)

  在System.Environment.get_StackTrace()

  在Microsoft.Rtc.Signaling.Helper.get_StackTrace()

   at Microsoft.Rtc.Signaling.RealTimeException..ctor(String message,Exception

innerException)

   at Microsoft.Rtc.Signaling.FailureResponseException..ctor(String message,Exc

eption innerException,SipResponseData responseData)

   at Microsoft.Rtc.Signaling.PublishSubscribeException..ctor(String message,Ex

ception innerException,SipResponseData responseData)

   at Microsoft.Rtc.Signaling.SipSubscription.ProcessError(异常例外)

  在Microsoft.Rtc.Signaling.SipSubscribeTransactionAsyncResult.ProcessError(重新
alTimeException异常,SipResponseData responseDataIfAny)

  在Microsoft.Rtc.Signaling.SipTransactionAsyncResult`1.ProcessFailureResponse

(SipResponse回复)

   at Microsoft.Rtc.Signaling.SipTransactionAsyncResult`1.Transaction_ResponseRe

ceived(Object sender,ResponseReceivedEventArgs e)

  在Microsoft.Rtc.Internal.Sip.OutgoingNonInviteTransaction.OnResponseReceived

(EventArgs e)

  在Microsoft.Rtc.Internal.Sip.DispatchEventWorkitem.Execute()

  在Microsoft.Rtc.Internal.Sip.SingleThreadedDispatcherQueue.DispatcherCallbac

k(对象队列)

  在System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_Thre

adPoolWaitCallback tpWaitCallBack)

  在System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(对象状态)


--- End of inner exception stack trace ---
   at Microsoft.Rtc.Signaling.SipAsyncResult`1.ThrowIfFailed()
   at Microsoft.Rtc.Signaling.Helper.EndAsyncOperation[T](Object owner, IAsyncRe
sult result)
   at Microsoft.Rtc.Signaling.Helper.EndAsyncOperation[T](Object owner, IAsyncRe
sult result, String operationId)
   at Microsoft.Rtc.Collaboration.Presence.ProvisioningQuery.EndQuery(IAsyncResu
lt result)
   at Microsoft.Rtc.Collaboration.GetInbandDataAsyncResult.InbandQueryCompleted(
IAsyncResult result)
Detected at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at Microsoft.Rtc.Signaling.Helper.get_StackTrace()
   at Microsoft.Rtc.Signaling.RealTimeException..ctor(String message, Exception
innerException)
   at Microsoft.Rtc.Signaling.FailureResponseException..ctor(String message, Exc
eption innerException, SipResponseData responseData)
   at Microsoft.Rtc.Signaling.PublishSubscribeException..ctor(String message, Ex
ception innerException, SipResponseData responseData)
   at Microsoft.Rtc.Signaling.SipSubscription.ProcessError(Exception exception)
   at Microsoft.Rtc.Signaling.SipSubscribeTransactionAsyncResult.ProcessError(Re
alTimeException exception, SipResponseData responseDataIfAny)
   at Microsoft.Rtc.Signaling.SipTransactionAsyncResult`1.ProcessFailureResponse
(SipResponse response)
   at Microsoft.Rtc.Signaling.SipTransactionAsyncResult`1.Transaction_ResponseRe
ceived(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.DispatcherCallbac
k(Object queue)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_Thre
adPoolWaitCallback tpWaitCallBack)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

 



---内在的结束异常堆栈跟踪---

  在Microsoft.Rtc.Signaling.SipAsyncResult`1.ThrowIfFailed()

  在Microsoft.Rtc.Signaling.Helper.EndAsyncOperation [T](对象所有者,IAsyncRe

结果)

  在Microsoft.Rtc.Collaboration.LocalEndpoint.EndEstablish(IAsyncResult结果



   at SourceCode.Messaging.LyncServer.ApplicationEndPointStarter.OnApplicationEn

中的dPointEstablishCompleted(IAsyncResult结果):
g \ LyncServer \ ApplicationEndPointStarter.cs :第82行:
在System.Environment.GetStackTrace中检测到(例外e,布尔需要文件信息)

  在System.Environment.get_StackTrace()

  在Microsoft.Rtc.Signaling.Helper.get_StackTrace()

   at Microsoft.Rtc.Signaling.RealTimeException..ctor(String message,Exception

innerException)

   at Microsoft.Rtc.Signaling.OperationFailureException..ctor(String message,Ex

ception innerException)

  在Microsoft.Rtc.Collaboration.GetInbandDataAsyncResult.InbandQueryCompleted(

IAsyncResult结果)

  在Microsoft.Rtc.Signaling.SipAsyncResult`1.MakeCallback(对象状态)

   at Microsoft.Rtc.Signaling.SipAsyncResult`1.Complete(TEx ex,Boolean synchron

ousCompletion)

  在Microsoft.Rtc.Signaling.SipAsyncResult`1.Complete(TEx ex)

  在Microsoft.Rtc.Collaboration.Presence.ProvisioningQueryAsyncResult.Subscrib

eCompleted(IAsyncResult result)

  在Microsoft.Rtc.Signaling.CompletionCallbackWorkItem.Microsoft.Rtc.Signaling

.IWorkitem.Process()

  在Microsoft.Rtc.Signaling.WorkitemQueue.ProcessItems()

  在Microsoft.Rtc.Signaling.SerializationQueue`1.ResumeProcessing()

  在Microsoft.Rtc.Signaling.SerializationQueue`1.ResumeProcessingCallback(Obje

ct state)

   at Microsoft.Rtc.Signaling.QueueWorkItemState.ExecuteWrappedMethod(WaitCallba

ck method,Object state)

   at Microsoft.Rtc.Signaling.QueueWorkItemState.WrappedQueueUserWorkItemNullSta

te(对象状态)

  在System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(对象状态



  在System.Threading.ExecutionContext.Run(ExecutionContext executionContext,C

ontextCallback回调,对象状态)

  在System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_Thre

adPoolWaitCallback tpWaitCallBack)

   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)


--- End of inner exception stack trace ---
   at Microsoft.Rtc.Signaling.SipAsyncResult`1.ThrowIfFailed()
   at Microsoft.Rtc.Signaling.Helper.EndAsyncOperation[T](Object owner, IAsyncRe
sult result)
   at Microsoft.Rtc.Collaboration.LocalEndpoint.EndEstablish(IAsyncResult result
)
   at SourceCode.Messaging.LyncServer.ApplicationEndPointStarter.OnApplicationEn
dPointEstablishCompleted(IAsyncResult result) in C:\Projects\SourceCode.Messagin
g\LyncServer\ApplicationEndPointStarter.cs:line 82
Detected at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at Microsoft.Rtc.Signaling.Helper.get_StackTrace()
   at Microsoft.Rtc.Signaling.RealTimeException..ctor(String message, Exception
innerException)
   at Microsoft.Rtc.Signaling.OperationFailureException..ctor(String message, Ex
ception innerException)
   at Microsoft.Rtc.Collaboration.GetInbandDataAsyncResult.InbandQueryCompleted(
IAsyncResult result)
   at Microsoft.Rtc.Signaling.SipAsyncResult`1.MakeCallback(Object state)
   at Microsoft.Rtc.Signaling.SipAsyncResult`1.Complete(TEx ex, Boolean synchron
ousCompletion)
   at Microsoft.Rtc.Signaling.SipAsyncResult`1.Complete(TEx ex)
   at Microsoft.Rtc.Collaboration.Presence.ProvisioningQueryAsyncResult.Subscrib
eCompleted(IAsyncResult result)
   at Microsoft.Rtc.Signaling.CompletionCallbackWorkItem.Microsoft.Rtc.Signaling
.IWorkitem.Process()
   at Microsoft.Rtc.Signaling.WorkitemQueue.ProcessItems()
   at Microsoft.Rtc.Signaling.SerializationQueue`1.ResumeProcessing()
   at Microsoft.Rtc.Signaling.SerializationQueue`1.ResumeProcessingCallback(Obje
ct state)
   at Microsoft.Rtc.Signaling.QueueWorkItemState.ExecuteWrappedMethod(WaitCallba
ck method, Object state)
   at Microsoft.Rtc.Signaling.QueueWorkItemState.WrappedQueueUserWorkItemNullSta
te(Object state)
   at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state
)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_Thre
adPoolWaitCallback tpWaitCallBack)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

FailureReason = Unknown

FailureReason = Unknown

推荐答案

嗨Kay Too ...

Hi Kay Too...

您是否已经完成了在Lync池上创建CsTrustedApplicationPool和CsTrustedApplication的步骤?要创建有效的应用程序端点,您需要在与端点建立连接之前预先定义这些内容。如果
,请告诉我。

Have you walked through the steps to create a CsTrustedApplicationPool and CsTrustedApplication on the Lync Pool? To create a valid application endpoint you'll need to have these things predefined prior to establishing a connection with the endpoint. If you have let me know.


这篇关于ApplicationEndPoint.BeginEstablish上的错误500的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆