Chrome Developer Console中的奇怪错误 - 无法加载资源:net :: ERR_CACHE_MISS [英] Bizarre Error in Chrome Developer Console - Failed to load resource: net::ERR_CACHE_MISS

查看:741
本文介绍了Chrome Developer Console中的奇怪错误 - 无法加载资源:net :: ERR_CACHE_MISS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,这个错误昨天没有在Chrome上抛出,截至今天早上,这是错误的。我没有改变我的任何浏览器设置。我附上了截图(打开/关闭开发工具窗口四次后): .pngalt =无法加载资源:net :: ERR_CACHE_MISS>



这个问题与Stack Overlow post相似 在Chrome浏览器下载资源失败 ,只有当我在Chrome中检查元素时才会发生。以下是我的详细资料:

尽我所能,我解开了自昨晚以来所做的所有事情(当我没有发生此错误时)并且错误仍然存​​在。当我删除所有前< - c $ c>< html> PHP 代码,错误消失。



当我只删除所有的前< html> PHP除了

以外的代码

 <?php session_start(); ?> 

错误返回。



错误似乎涉及PHP,我检查了我的错误日志,但没有通知,警告和错误。当我关闭开发工具窗口,然后打开窗口而无需重新加载页面时,错误次数每次增加一次。



当我保持窗口打开时,然后重新加载页面,页面重新加载而不会抛出错误。但是,只要我再次关闭开发工具窗口,然后打开它(不重新加载页面),就会抛出错误。我使用 Firebug 启用了Firefox上的网站,并且没有发现任何错误。它看起来像一个Chrome问题(版本38)。我的网站似乎正常工作,否则。通过Chrome浏览器上的其他网站(例如,雅虎)也遇到此错误。



另外,自从几个月前我没有手动更改任何浏览器设置。另外需要注意的是,这是我去年在Chrome浏览器遇到的第二个奇怪错误(请参阅Stack Overflow question 无法加载资源:净:: ERR_NETWORK_IO_SUSPENDED 的),到没有人能够找到一个解决方案,甚至提供了一个赏金



有没有办法来防止这个错误,或者这是一个纯浏览器问题?另外,当我在Chrome for Stack Overflow中打开Developer Tools时,不会抛出任何错误,因此Stack&Overbsp;  Overflow不以PHP编码,或者他们有办法阻止这个错误。我认为我的网站没有受到影响,但我不是100%肯定的,这让我感到紧张:)

开发人员,此错误不是真正的失败,但而是误导性的错误报告。此错误已在40版本中得到修复,该版本的可在金丝雀和截至10月25日的开发渠道



补丁


As far as I can tell, this error was not being thrown yesterday on Chrome, and as of this morning, it is. I have not changed any of my browser settings. I have attached a screenshot (after opening/closing Developer Tools window four times):

This issue is tangentially similar to Stack Overlow post Failed to load resource under Chrome except that it only occurs when I "Inspect Element" in Chrome. Here are the details I have:

To the best of my ability I undid everything I did since last night (when I did not have this error) and the error persists. When I remove all pre-<html> PHP code, the error disappears.

When I only remove all the pre-<html> PHP code except

<?php session_start(); ?>

the error returns.

Since the error seems to involve PHP, I checked my error log, but there are no notices, warnings, nor errors. When I close the Developer Tools window and then open up the window without a page reload, the number of errors increments by one each time.

When I keep the window open, and then reload the page, the page reloads without throwing the error. However, as soon as I close the Developer tools window again, then open it (no page reload), the error is thrown. I checked my site on Firefox with Firebug enabled, and no errors are thrown, making it seem like a Chrome issue (version 38). My site seems to function normally otherwise. Other sites on device browsed via Chrome (for example, Yahoo) also experience this error.

Also, I have not manually changed any of my browser settings since months ago. As an additional note, this is the second strange error I have encountered in Chrome in the last year (see Stack Overflow question Failed to load resource: net::ERR_NETWORK_IO_SUSPENDED), to which no one was able to find a solution, even with a bounty offered.

Is there a way to prevent this error, or is this a browser-only issue? On a side note, when I open up Developer Tools in Chrome for Stack Overflow, there is no error thrown, so either Stack Overflow is not coded in PHP or they have a way to prevent this error. I think my site is not affected, but I am not 100% sure, and it makes me nervous :)

解决方案

Per the developers, this error is not an actual failure, but rather "misleading error reports". This bug is fixed in version 40, which is available on the canary and dev channels as of 25 Oct.

Patch

这篇关于Chrome Developer Console中的奇怪错误 - 无法加载资源:net :: ERR_CACHE_MISS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆