技术文章 - CS364789

由于浏览器内容安全策略错误“拒绝嵌入 'http://'”,无法编辑 ThingWorx mashup。<servername> /' 因为祖先元素违反了以下内容安全策略指令:“frame-ancestors 'none'”

已修改: 29-May-2026   


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

适用于

  • ThingWorx Platform 8.5 to 10.1

说明

  • 由于浏览器安全错误,ThingWorx 混合应用似乎无法访问。
  • 在设计视图预览中无法看到混搭效果
  • 当 Mashup 运行时在 Composer 之外的单独窗口中加载时,它可以正确显示。
  • Firefox开发者控制台显示错误:
     Content Security Policy: The page's settings blocked the loading of a resource at https://<servername>/Thingworx/Composer/index.html (“frame-ancestors”)"
  • Chrome开发者工具控制台显示错误:
     Refused to frame 'http://<servername>/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".
这是文章 364789 的 PDF 版本,可能已过期。最新版本 CS364789