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,如需转载请自行联系原作者
目录
相关文章
|
5月前
|
JSON 算法 API
海外电商平台阿里巴巴国际站获取商品详情的API接口
本文介绍如何通过阿里巴巴国际站API获取商品详情,涵盖注册开发者账号、创建应用、认证授权、构建请求及处理响应的完整流程,并提供Python示例代码,助您高效集成跨境电商业务,提升运营自动化水平。(238字)
886 7
|
6月前
|
存储 人工智能 数据中心
138_绿色计算:碳排放优化 - 估算部署的碳足迹与LLM环境友好型部署最佳实践
随着大语言模型(LLM)在各个行业的广泛应用,其计算需求和环境影响正日益受到关注。根据最新研究,训练一个大型LLM模型可能产生数百吨二氧化碳当量的排放,这相当于普通家庭几十年的碳足迹。在全球气候变化和可持续发展的背景下,如何优化LLM部署的碳足迹,实现环境友好型AI应用,已成为行业面临的重要挑战。
395 2
|
3月前
|
存储 弹性计算 安全
阿里云个人型与企业型云服务器对比:性能、SLA与选购参考
阿里云提供个人型及企业型云服务器,满足不同用户需求。个人型云服务器(如经济型e实例、轻量应用服务器)价格低廉,适用于轻量级应用、中小型网站开发测试等场景;企业型云服务器(如通用算力型u1、计算型c9i/c9a)性能强大,独享资源,有严格SLA保证,支撑高负载业务。
505 11
|
3月前
|
人工智能 自然语言处理 安全
中小团队高效研发方案:MonkeyCodeAI一键部署与场景化应用
长亭科技MonkeyCodeAI突破AI编程工具同质化困局,定位“企业级AI研发基础设施”,覆盖需求拆解、设计、开发、Review全流程。开源、安全、多模型兼容,支持私有化部署与全栈自然语言编程,赋能个人开发者与企业团队提效提质。(239字)
|
3月前
|
人工智能 自动驾驶 算法
智能体来了!2026 AI 元年:在全新赛道上重构人类生产力边界
2026年被定义为“智能体元年”:AI从“能说”跃升为“能干”,实现自主决策、跨系统协作与具身执行。产业迎来智能体市场、数字劳动力网络和可信治理三大爆发点,人类角色转向目标设定与智能体调度。技术终指向人的升华。(239字)
367 3
|
3月前
|
弹性计算 Linux 数据安全/隐私保护
阿里云幻兽帕鲁联机服务器搭建全攻略,速来抄作业!2026新版教程
阿里云推出2026年幻兽帕鲁一键开服教程,提供4核16G(89元/月,支持8人)和8核32G(160元/月,支持20人)配置,10M带宽,自动部署游戏服务。用户只需在STEAM购买游戏,输入服务器地址即可联机畅玩,全流程简单便捷。
758 3
|
3月前
|
人工智能 运维 安全
2025-2026年主流自助建站系统有哪些
本文阐释自助建站系统的定义、分类及特性,对比 SaaS 模式与独立 CMS 系统的适配场景,分析 2025-2026 年市场格局与发展趋势,给出用户选型建议,指出行业向降门槛、强适配方向发展。
301 3
|
3月前
|
XML JSON 算法
淘宝商品详情API接口指南
淘宝商品详情API(taobao.item.get)可获取商品标题、价格、图片、库存、销量等核心信息。支持POST/GET请求,返回JSON格式数据。需提供app_key、timestamp、sign等参数,常见响应码包括200(成功)、401(权限不足)、403(签名错误)等,适用于电商数据对接与分析。
|
7月前
|
监控 安全 搜索推荐
使用EventLog Analyzer进行日志取证分析
EventLog Analyzer助力企业通过集中采集、归档与分析系统日志及syslog,快速构建“数字犯罪现场”,精准追溯安全事件根源。其强大搜索功能可秒级定位入侵时间、人员与路径,生成合规与取证报表,确保日志安全防篡改,大幅提升调查效率,为执法提供有力证据支持。
288 0
|
JavaScript
Vue学习之--------插槽【默认插槽、具名插槽、作用域插槽】(2022/8/30)
这篇文章详细介绍了Vue中的插槽(Slots)概念,包括默认插槽、具名插槽和作用域插槽的用法。通过实际的代码示例和项目结构,文章展示了如何在组件中定义和使用插槽,以及如何通过插槽向组件传递内容和数据。
Vue学习之--------插槽【默认插槽、具名插槽、作用域插槽】(2022/8/30)