技术文章 - CS346514

访问嵌入在 iFrame 中的 ThingWorx Mashup 失败,并出现错误“拒绝框架 'https://<URL>因为祖先元素违反了以下内容安全策略指令:'frame-ancestors 'self'

已修改: 13-Jan-2026   


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

适用于

  • Windchill Navigate (formerly ThingWorx Navigate) 8.5.0 to 9.6
  • ThingWorx Platform 9.0 to 10.0
  • Windchill PDMLink 12.0 to 13.0
  • Vuforia Studio 9.0.0 to 9.11.0

说明

  • 尝试加载嵌入在 iframe 中的 Mashup 时出现错误
  • 访问 Vuforia Studio Web Frame 小部件中嵌入的 ThingWorx Mashup 时出现错误
  • 访问嵌入在 iFrame 中的ThingWorx Mashup时收到错误
     Refused to frame 'https://<URL>' because an ancestor violates the following Content Security Policy directive: 'frame-ancestors 'self 

  • 由于 CSP 标头配置,Windchill 和 ThingWorx 之间的集成受阻。
  • 尝试在 Windchill 和ThingWorx Mashup中打开数字产品追溯 (DPT)时,不会显示任何内容。
  • Windchill PDMLink 中无法使用DPT相关Mashup
  • Windchill PDMLink 选项卡的 Mashup 页面中显示的错误:
     https://<URL> refused to connect <ipAddress> refused to connect

这是文章 346514 的 PDF 版本,可能已过期。最新版本 CS346514