Mixed Content: The page at 'https://lanzhou-uat.ccccltd.cn/wise-construct-platfo...

2025年09月08日 14:39 响应: 4.69秒 状态: success

🚨 错误信息

Mixed Content: The page at 'https://lanzhou-uat.ccccltd.cn/wise-construct-platform/#/screen/customScreen' was loaded over HTTPS, but requested an insecure frame 'http://10.5.57.53:31891/customize-screen/#/screen/customModule/index'. This request has been blocked; the content must be served over HTTPS.

🤖 AI解决方案

Mixed Content: The page at 'https://lanzhou-uat.ccccltd.cn/wise-construct-platform/#/screen/customScreen' was loaded over HTTPS, but requested an insecure frame 'http://10.5.57.53:31891/customize-screen/#/screen/customModule/index'. This request has been blocked; the content must be served over HTTPS.

混合内容:页面 'https://lanzhou-uat.ccccltd.cn/wise-construct-platform/#/screen/customScreen' 是通过 HTTPS 加载的,但请求了一个不安全的 frame 'http://10.5.57.53:31891/customize-screen/#/screen/customModule/index'。此请求已被阻止;内容必须通过 HTTPS 提供。

原因分析

HTTPS 页面不允许加载 HTTP 协议的资源。

解决方案

将嵌入的 http://10.5.57.53:31891/customize-screen/#/screen/customModule/index 地址更新为 HTTPS 协议,即 https://10.5.57.53:31891/customize-screen/#/screen/customModule/index。如果目标服务器不支持 HTTPS,则需要升级服务器配置。

预防措施

  • 确保所有外部资源(包括 iframe、脚本、样式表等)都使用 HTTPS 协议加载。
  • 在开发过程中,使用浏览器开发者工具检查混合内容警告,并及时修复。