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

2025年09月08日 14:35 响应: 2.36秒 状态: 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,则需要升级目标服务器配置。

预防措施

  • 在开发和部署过程中,始终优先使用 HTTPS 协议加载所有资源。
  • 审查所有第三方嵌入资源,确保其使用安全的协议。