AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 1142460
Accepted
MeSo2
MeSo2
Asked: 2023-08-27 03:43:36 +0800 CST2023-08-27 03:43:36 +0800 CST 2023-08-27 03:43:36 +0800 CST

单击加载的页面时,FireFox 会收到 ns_error_net_interrupt

  • 772

FireFox 正在连接到我的网站,但访问已访问过的页面将随机无法连接,从而导致

安全连接失败

Chrome 和 Microsoft Edge 没有这个问题。

奇怪的是,重新加载页面也不起作用。我需要通过使用 Shift 和重新加载来强制重新加载页面 - 然后我恢复页面,并且在使用 Shift 和重新加载时将始终加载。

我怎样才能防止这种情况发生?

html 页面是由 Apache 2.4.57 服务器提供服务的预压缩 Brotli 文件。

<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault                  "access plus 1 day"
    ExpiresByType text/asp          "now"
    ExpiresByType text/html         "now"
    ExpiresByType text/css          "access plus 1 day"
    ExpiresByType video/x-m4v       "access plus 15 days"
    ExpiresByType image/jpg         "access plus 5 days"
    ExpiresByType image/jpeg        "access plus 5 days"
    ExpiresByType image/gif         "access plus 5 days"
    ExpiresByType image/png         "access plus 5 days"
    ExpiresByType application/pdf   "access plus 1 month"
    ExpiresByType text/x-javascript "access plus 1 month"
    ExpiresByType application/x-shockwave-flash "access plus 1 month"
    ExpiresByType image/x-icon      "access plus 1 month"
</IfModule>
<FilesMatch "\.(html)$">
    FileETag None
    <IfModule mod_headers.c>
        Header unset ETag
        Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
        Header set Pragma "no-cache"
        Header set Expires "access plus 3 hours"
    </IfModule>
</FilesMatch>

我在 FireFox 中使用这些默认连接设置:

使用系统代理设置

未建立连接时的 SSL 信息并且出现错误ns_error_net_interrupt:

验证:未指定

重新加载同一页面(使用 Shift 和重新加载)后的 SSL 信息 - 它再次工作:

验证:让我们加密

ssl
  • 1 1 个回答
  • 47 Views

1 个回答

  • Voted
  1. Best Answer
    MeSo2
    2023-08-27T03:43:36+08:002023-08-27T03:43:36+08:00

    FireFox 似乎不喜欢重新连接到过期的页面。

        ExpiresByType text/asp          "now"
        ExpiresByType text/html         "now"
    

    当将其更改为

        ExpiresByType text/asp          "access plus 3 seconds"
        ExpiresByType text/html         "access plus 3 hours"
    

    事情开始起作用了。

    • 1

相关问题

  • 如何使用 Tomcat 5.5 更新 SSL 证书

  • 为 IIS6 自行生成 SSL 证书?

  • plesk 上的域和子域 ssl 访问

  • 如何设置 SSL 邮件服务器?

  • 如何通过 SVN 命令行接受 SSL 证书?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve