From afd8d01018ce6279fee6cb824925cd377619b2bc Mon Sep 17 00:00:00 2001 From: MjSeven Date: Sun, 17 Mar 2019 15:47:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BF=BB=E8=AF=91=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...work Protocol Error- On Mozilla Firefox.md | 67 ------------------- ...work Protocol Error- On Mozilla Firefox.md | 66 ++++++++++++++++++ 2 files changed, 66 insertions(+), 67 deletions(-) delete mode 100644 sources/tech/20190309 How To Fix -Network Protocol Error- On Mozilla Firefox.md create mode 100644 translated/tech/20190309 How To Fix -Network Protocol Error- On Mozilla Firefox.md diff --git a/sources/tech/20190309 How To Fix -Network Protocol Error- On Mozilla Firefox.md b/sources/tech/20190309 How To Fix -Network Protocol Error- On Mozilla Firefox.md deleted file mode 100644 index 17df6db81a..0000000000 --- a/sources/tech/20190309 How To Fix -Network Protocol Error- On Mozilla Firefox.md +++ /dev/null @@ -1,67 +0,0 @@ -[#]: collector: (lujun9972) -[#]: translator: (MjSeven) -[#]: reviewer: ( ) -[#]: publisher: ( ) -[#]: url: ( ) -[#]: subject: (How To Fix “Network Protocol Error” On Mozilla Firefox) -[#]: via: (https://www.ostechnix.com/how-to-fix-network-protocol-error-on-mozilla-firefox/) -[#]: author: (SK https://www.ostechnix.com/author/sk/) - -How To Fix “Network Protocol Error” On Mozilla Firefox -====== -![](https://www.ostechnix.com/wp-content/uploads/2019/03/firefox-logo-1-720x340.png) - -Mozilla Firefox is my default web browser for years. I have been using it for my day to day web activities, such as accessing my mails, browsing favorite websites etc. Today, I experienced a strange error while using Firefox. I tried to share one of our guide on Reddit platform and got the following error message. - -``` -Network Protocol Error - -Firefox has experienced a network protocol violation that cannot be repaired. - -The page you are trying to view cannot be shown because an error in the network protocol was detected. - -Please contact the website owners to inform them of this problem. -``` - -![](https://www.ostechnix.com/wp-content/uploads/2019/03/firefox.png) - -To be honest, I panicked a bit and thought my system might be affected with some kind of malware. LOL! I was wrong! I am using latest Firefox version on my Arch Linux desktop. I opened the same link in Chromium browser. It’s working fine! I guessed it is Firefox related error. After Googling a bit, I fixed this issue as described below. - -This kind of problems occurs mostly because of the **browser’s cache**. If you’ve encountered these kind of errors, such as “Network Protocol Error” or “Corrupted Content Error”, follow any one of these methods. - -**Method 1:** - -To fix “Network Protocol Error” or “Corrupted Content Error”, you need to reload the webpage while bypassing the cache. To do so, Press **Ctrl + F5** or **Ctrl + Shift + R** keys. It will reload the webpage fresh from the server, not from the Firefox cache. Now the web page should work just fine. - -**Method 2:** - -If the method1 doesn’t work, please try this method. - -Go to **Edit - > Preferences**. From the Preferences window, navigate to **Privacy & Security** tab on the left pane. Now clear the Firefox cache by clicking on **“Clear Data”** option. -![](https://www.ostechnix.com/wp-content/uploads/2019/03/firefox-1.png) - -Make sure you have checked both “Cookies and Site Data” and “Cached Web Content” options and click **“Clear”**. - -![](https://www.ostechnix.com/wp-content/uploads/2019/03/firefox-2.png) - -Done! Now the cookies and offline content will be removed. Please note that Firefox may sign you out of the logged-in websites. You can re-login to those websites later. Finally, close the Firefox browser and restart your system. Now the webpage will load without any issues. - -Hope this was useful. More good stuffs to come. Stay tuned! - -Cheers! - - - --------------------------------------------------------------------------------- - -via: https://www.ostechnix.com/how-to-fix-network-protocol-error-on-mozilla-firefox/ - -作者:[SK][a] -选题:[lujun9972][b] -译者:[译者ID](https://github.com/译者ID) -校对:[校对者ID](https://github.com/校对者ID) - -本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 - -[a]: https://www.ostechnix.com/author/sk/ -[b]: https://github.com/lujun9972 diff --git a/translated/tech/20190309 How To Fix -Network Protocol Error- On Mozilla Firefox.md b/translated/tech/20190309 How To Fix -Network Protocol Error- On Mozilla Firefox.md new file mode 100644 index 0000000000..f60e0969e3 --- /dev/null +++ b/translated/tech/20190309 How To Fix -Network Protocol Error- On Mozilla Firefox.md @@ -0,0 +1,66 @@ +[#]: collector: (lujun9972) +[#]: translator: (MjSeven) +[#]: reviewer: ( ) +[#]: publisher: ( ) +[#]: url: ( ) +[#]: subject: (How To Fix “Network Protocol Error” On Mozilla Firefox) +[#]: via: (https://www.ostechnix.com/how-to-fix-network-protocol-error-on-mozilla-firefox/) +[#]: author: (SK https://www.ostechnix.com/author/sk/) + +如何修复 Mozilla Firefox 中出现的 “Network Protocol Error” +====== +![](https://www.ostechnix.com/wp-content/uploads/2019/03/firefox-logo-1-720x340.png) + +Mozilla Firefox 多年来一直是我的默认 Web 浏览器,我每天用它来进行日常网络活动,例如访问邮件,浏览喜欢的网站等。今天,我在使用 Firefox 时遇到了一个奇怪的错误。我试图在 Reddit 平台上分享我们的一个指南时,在 Firefox 上出现了以下错误消息: + +``` +Network Protocol Error + +Firefox has experienced a network protocol violation that cannot be repaired. + +The page you are trying to view cannot be shown because an error in the network protocol was detected. + +Please contact the website owners to inform them of this problem. +``` + +![](https://www.ostechnix.com/wp-content/uploads/2019/03/firefox.png) + +老实说,我有点慌,我以为可能是我的系统受到了某种恶意软件的影响。哈哈!但是我发现我错了。我在 Arch Linux 桌面上使用的是最新的 Firefox 版本,我在 Chromium 浏览器中打开了相同的链接,它正确显示了,我猜这是 Firefox 相关的错误。在谷歌上搜索后,我解决了这个问题,如下所述。 + +出现这种问题主要是因为“**浏览器缓存**”,如果你遇到此类错误,例如 "Network Protocol Error" 或 "Corrupted Content Error",遵循以下任何一种方法。 + +**方法 1:** + +要修复 "Network Protocol Error" 或 "Corrupted Content Error",你需要在绕过缓存时重新加载网页。为此,按下 **Ctrl + F5** 或 **Ctrl + Shift + R** 快捷键,它将从服务器重新加载页面,而不是从 Firefox 缓存加载。这样网页就应该可以正常工作了。 + +**方法 2:** + +如果方法 1 不起作用,尝试以下方法。 + +打开 **Edit - > Preferences**,在 "Preferences" 窗口中,打开左窗格中的 **Privacy & Security** 选项卡,单击 **“Clear Data”** 选项清除 Firefox 缓存。 + +![](https://www.ostechnix.com/wp-content/uploads/2019/03/firefox-1.png) + +确保你选中了 Cookies and Site Data” 和 "Cached Web Content" 选项,然后单击 **"Clear"**。 + +![](https://www.ostechnix.com/wp-content/uploads/2019/03/firefox-2.png) + +完成!现在 Cookie 和离线内容将被删除。注意,Firefox 可能会将你从登录的网站中注销,稍后你可以重新登录这些网站。最后,关闭 Firefox 浏览器并重新启动系统。现在网页加载没有任何问题。 + +希望这对你有帮助。更多好东西要来了,敬请关注! + +干杯! + +-------------------------------------------------------------------------------- + +via: https://www.ostechnix.com/how-to-fix-network-protocol-error-on-mozilla-firefox/ + +作者:[SK][a] +选题:[lujun9972][b] +译者:[MjSeven](https://github.com/MjSeven) +校对:[校对者ID](https://github.com/校对者ID) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 + +[a]: https://www.ostechnix.com/author/sk/ +[b]: https://github.com/lujun9972