技术文章 - CS321993

“无法连接到服务器。”尝试使用 Windchill RV&S(以前称为 Integrity Lifecycle Manager)和 Windchill PDMLink 之间的 OSLC Digital Product Traceability (DPT) 启动“添加跟踪”对话框时出现

已修改: 17-Sep-2022   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill PDMLink 11.2.1.0 to 12.1
  • ThingWorx Platform 8.5 SP1 to 9.3
  • PTC RV&S (formerly Integrity Lifecycle Manager) 12.3.0.0 to 13.1

说明

  • 尝试在 Windchill PDMLink 和 Windchill RV&S (Integrity Lifecycle Manager) 之间添加跟踪会导致错误
  • 无法使用数字产品可追溯性 (DPT) 在 Windchill 系统之间添加跟踪
  • 尝试在 Windchill PDMLink 中添加跟踪DPT不工作
  • 尝试添加DPT 跟踪时,Windchill PDMLink 在 UI 中显示以下错误,任何系统中均未记录错误:
    • 无法连接到服务器。
  • 打开“添加跟踪”对话框时,在 Web 浏览器的F12/开发人员工具 > 网络选项卡中可以看到以下内容
    • 在 https://<ThingWorx 主机>:<ThingWorx 端口>/Thingworx/OslcDataServicesThing/services/... 访问 XMLHttpRequest '不通过访问控制检查:请求的资源上不存在'Access-Control-Allow-Origin'标头。
      POST https://<ThingWorx 主机>:<ThingWorx 端口>/Thingworx/OslcDataServicesThing/services/GetServerResourceDetails net::ERR_FAILED
  • <ThingworxStorage>\logs中的 ThingWorx Platform 日志在打开“添加跟踪”对话框后显示以下内容:
    • 应用程序日志
      • [L: ERROR] [O: ctssfFlowUtilities] [I: ] [U: SuperUser] [S: ] [P: ] [T: pool-16-thread-1] URL 无效:无协议:
        [L: WARN] [O: ctssfFlowMetricHelper] [I: ] [U: SuperUser] [S: ] [P: ] [T: pool-16-thread-1] 获取每个执行的 PTC.DPT 工作流触发器计数时出现异常连接器:无法获取 Flow.Connector-ExecutedActionsCount 的指标数据:无效的 URL
    • 错误日志
      • [L: ERROR] [O: EcqlcLogger] [I: ] [U: SuperUser] [S: ] [P: ] [T: pool-16-thread-1] URL 无效:无协议:java.net.MalformedURLException:无协议:
        在 java.net.URL.<init>(未知来源)
        在 java.net.URL.<init>(未知来源)
        在 java.net.URL.<init>(未知来源)
        在 com.thingworx.system.subsystems.flow.FlowUtilities.validateUrl(FlowUtilities.java:253)
        在 com.thingworx.system.subsystems.flow.FlowUtilities.buildFlowServiceURL(FlowUtilities.java:223)
  • ThingWorx Flow 的RabbitMQ.log文件显示以下内容:
    • =错误报告==== <时间戳> ===
      连接 <0.317.0>,通道 1 - 软错误:{amqp_error,not_found,""vhost 'orchestration' 中没有队列 'flow-exec-reply-<Reply ID>'"",'queue.declare'}"
这是文章 321993 的 PDF 版本,可能已过期。最新版本 CS321993