Your session was ended… Error code:0-0-18100-2-0

简介:
Joachim Farla
The last couple of days I was working at a customer side to deploy OCS R2 EE Consolidated Topology, CWA R2 server and OCS R2 Edge. Starting of with OCS R2 EE without any problems. The OCS R2 Documentation is btw very nice to read and makes your OCS R2 deployment much more easier than ever before.
When installing the CWA R2 server the real problems begun. Strange enough this specific error was never seen before. And also search via  bing on this specific error nothing useful returned. Not “bings” fault but the error is not seen quite often. Some Spanish and Russian site did write feedback in the OCS R2 forums but nothing useful and still not helping me resolving this issue.
Issue:
When setting up the CWA R2 server and installing the bits for CWA R2 and after that requesting my certificate with the following paramaters:
LcsCmd.exe /Cert /Action:Request /sn:im.contoso.com /san: im.contoso.com,download.im.contoso.com,as.im.contoso.com /ca:ca-server.contoso.com /OU:OCSServers /org:Contoso /country:US /city:Redmond
/state:WA /friendlyName:CWA_Certificate /exportable:TRUE
the webuser was still unable to connect to the pool (pool01.contoso.com). Error message:
Error code:0-0-18100-2-0
So I verified:
  • Can the CWA R2 server connect to the OCS R2 EE pool server? Start: cmd, nslookup, set type=srv, _sipinternaltls._tcp.contoso.com
  • Can I telnet to port 5061 on the pool server. telnet pool01.contoso.com 5061 (blank page returned)
  • Does it make sense when I change the default port 5061 back to 5060?
  • Does it make sense to enabling Server to Server compression on the Pool/Front End properties on the Compression tab?
  • Does it make sense to run the Logging Tool on the CWA R2 server?
  • Does the CWA R2 and OCS R2 server both share the correct Root Certificate Chain?
The last two options will be the best choice for investigating to resolve this issue. After some drill down’s in the CWA R2 Diagnostic Logging I saw some error saying:
<&lt;&lt;&lt;&lt; [UCWeb.exception] (endpoint)----- &lt;epid=15( sip:usera@contoso.com
UCWEB Failure: Code=OcsFailureResponse, SubCode=OcsOperationTimeout, Reason= 
Microsoft.Rtc.Internal.UCWeb.Utilities.UCWException: This operation has timed out. ---> Microsoft.Rt 
c.Signaling.OperationTimeoutException: This operation has timed out. 
   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 Microsoft.Rtc.Internal.UCWeb.UCWAuthenticatedEndpoint.OotyUserEndpointEstablish_callback(IAsyn 
cResult asyncResult)
and:
( 0000000002DCBCA1 )Endpoint unbound: <endpointId=15>, <SipUri=sip:usera@contoso.com>TL_WARN (TF_COMPONENT) UCWeb (UCWEndpointManager.UnBind:endpointmanager.cs(200))        [0]0DBC.0C44 
::05/28/2009-14:21:57.704.00000004 
    ( 0000000002DCBCA1 )Unbind: Endpoint not found: <endpointId=15>, <SipUri=sip:usera@contoso.co 
m>
For me this error was indicating that there was something wrong on the certificate side. When setting up the CWA R2 server, two different certificates are used. One certificate for MTLS usage and one certificate for public SSL web access. The first certificate is used for server-to-server encryption (server to server communication) and the second certificate is used as web server certificate used on your internal or external Virtual CWA R2 website.
In my specific case the CWA R2 server was used for  public remote information workers connecting all over the world so we decided to request an third party certificate.
Resolution or workaround:
(Step 1)
Make sure the request a Web Server certificate from a Windows Server CA procedure is going well. So replace the lcscmd.exe command line to your specific configuration:
LcsCmd.exe /Cert /Action:Request /sn:im.contoso.com /san: im.contoso.com,download.im.contoso.com,as.im.contoso.com /ca:ca-server.contoso.com /OU:OCSServers /org:Contoso /country:US /city:Redmond
/state:WA /friendlyName:CWA_Certificate /exportable:TRUE
(Step 2)
Depending on your type of Windows CA (hopefully Windows Server 2008)  issue the certificate if needed. Open the Certificate Authority MMC on the CA server en double click the certificate who is now under the folder “ issued certificates” and export the entire certificate to a P7B extension.
(Step 3)
On the Communicator Web Access server, click  Start, and then click  Run. In the  Run dialog box, type  mmc, and then click  OK.On the  File menu, click  Add/Remove Snap-in.In the  Add/Remove Snap-in dialog box, click  Add.In the list of  Available Standalone Snap-ins, click  Certificates.  Click  Add.In the  Certificates Snap-in dialog box click  Computer account, and then click  Next.In the  Select Computer dialog box, ensure that the  Local computer: (the computer this console is running on) check box is selected, and then click  Finish.Click  Close, and then click  OK. In the left pane of the  Certificates console, expand  Certificates (Local Computer), expand  Trusted Root Certification Authorities, and then click  Certificates. Right click the  Trusted Root Certification Authorities and import the response file (P7B issued by your CA server). And confirm that the certificate is located in this folder.
(Step 4)
Make sure you also copy the certificate to your personal store in the same interface like step 3. Make sure the issuing CA root certificate is also there.
(Step 5)
Double clock the certificate you copied and make sure that the certification path is showing you  both the CA server and the issued certificate used for MTLS.
Test your connection again by hitting the CWA URL and you will see that the problem is solved. Any questions please contact me if you want.









本文转自 tigerkillu 51CTO博客,原文链接:http://blog.51cto.com/chenyitai/344950,如需转载请自行联系原作者
目录
相关文章
|
机器学习/深度学习 传感器 算法
强化学习(RL)在机器人领域的应用
强化学习(RL)在机器人领域的应用
441 0
|
Swift iOS开发 C++
设置Swift开发环境
设置Swift开发环境
493 1
|
JavaScript
Vue学习之--------插槽【默认插槽、具名插槽、作用域插槽】(2022/8/30)
这篇文章详细介绍了Vue中的插槽(Slots)概念,包括默认插槽、具名插槽和作用域插槽的用法。通过实际的代码示例和项目结构,文章展示了如何在组件中定义和使用插槽,以及如何通过插槽向组件传递内容和数据。
Vue学习之--------插槽【默认插槽、具名插槽、作用域插槽】(2022/8/30)
|
机器学习/深度学习 大数据 数据挖掘
|
7月前
|
数据采集 安全 数据管理
2026年企业数据系统建设方案设计与实践指南
随着数据成为核心生产要素,新型企业数据系统已升级为全链路价值中枢。本文围绕技术、场景与合规三大维度,评估瓴羊Dataphin等主流方案,助力企业高效选型与落地,推动数字化转型。
|
7月前
|
存储 弹性计算 安全
阿里云个人型与企业型云服务器对比:性能、SLA与选购参考
阿里云提供个人型及企业型云服务器,满足不同用户需求。个人型云服务器(如经济型e实例、轻量应用服务器)价格低廉,适用于轻量级应用、中小型网站开发测试等场景;企业型云服务器(如通用算力型u1、计算型c9i/c9a)性能强大,独享资源,有严格SLA保证,支撑高负载业务。
719 11
|
7月前
|
人工智能 自动驾驶 算法
智能体来了!2026 AI 元年:在全新赛道上重构人类生产力边界
2026年被定义为“智能体元年”:AI从“能说”跃升为“能干”,实现自主决策、跨系统协作与具身执行。产业迎来智能体市场、数字劳动力网络和可信治理三大爆发点,人类角色转向目标设定与智能体调度。技术终指向人的升华。(239字)
583 3
|
7月前
|
存储 缓存 监控
Python装饰器实战:从入门到封装通用工具
Python装饰器是“函数外套”,不改原代码即可动态增强功能。本文详解其原理(@语法糖、wrapper封装)、进阶技巧(保留元信息、带参装饰器、多层叠加)及企业级应用(性能监控、缓存、权限校验),涵盖类装饰器、工厂模式与最佳实践,助你写出优雅可维护的代码。(239字)
382 1
|
7月前
|
人工智能 运维 安全
2025-2026年主流自助建站系统有哪些
本文阐释自助建站系统的定义、分类及特性,对比 SaaS 模式与独立 CMS 系统的适配场景,分析 2025-2026 年市场格局与发展趋势,给出用户选型建议,指出行业向降门槛、强适配方向发展。
493 3

热门文章

最新文章