我想在我的"chrome pc/机器“上检查和调试Chrome Mobile应用程序,所以我遵循了this Google tutorial。
当我访问localhost:9222时,它会列出在我的android chrome上打开的正确站点。但是当我点击"Inspectable pages“时,出现了以下错误。控制台将显示以下消息
Document was loaded from Application Cache with manifest https://chrome-devtools-frontend.appspot.com/serve_rev/@178678/178678.manifest
Application Cache Checking event
[blocked] The page at 'https://chrome-devtools-frontend.appspot.com/serve_rev/@178678/devtools.html?ws=localhost:9222/devtools/page/0' was loaded over HTTPS, but ran insecure content from 'ws://<localhost>:9222/devtools/page/0': this content should also be loaded over HTTPS.
Uncaught SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.发布于 2014-09-29 21:05:18
我也遇到过这个问题。
根据该报告Chromium Issue 398817,您可以在启动Chrome时添加--allow-running-insecure-content。
这对我在Windows7上很有效。
https://stackoverflow.com/questions/25099604
复制相似问题