简体   繁体   English

Internet Explorer 11中的第一个HTTPS连接速度非常慢,它可以是什么?

[英]First HTTPS connection is very slow in Internet Explorer 11, what can it be?

When using Internet Explorer 11 to connect to a HTTPS site of my company, the first connection is very, very slow. 使用Internet Explorer 11连接到我公司的HTTPS站点时,第一个连接非常非常慢。 Usually more than 30 seconds. 通常超过30秒。 After this first connection, I can browse the site with no problem. 在第一次连接后,我可以毫无问题地浏览网站。 The problem just happens in Internet Explorer, it works fine in Chrome and Firefox. 问题恰好出现在Internet Explorer中,它在Chrome和Firefox中运行良好。

If after the first visit, I clear the cache and cookies, the next page load is quick. 如果在第一次访问后,我清除缓存和cookie,下一页加载很快。 I have to close the browser and reopen it to reproduce the problem. 我必须关闭浏览器并重新打开它以重现问题。 Even if I let the browser idle for a couple of hours, the next visit is still quick. 即使我让浏览器闲置了几个小时,下次访问仍然很快。 The problem is just in the first visit of a browser to this site. 问题出在浏览器首次访问此站点时。

Below you can see the network view of the developer toolbar: 您可以在下面看到开发人员工具栏的网络视图: 网络视图

The first connection is a HTTP connection that redirects to a HTTPS connection. 第一个连接是重定向到HTTPS连接的HTTP连接。 This connection is very slow. 这种联系非常缓慢。 The two following connections are quick. 以下两个连接很快。 If I close my browser and visit directly the third URL via HTTPS, it will also load slowly. 如果我关闭浏览器并通过HTTPS直接访问第三个URL,它也会慢慢加载。

Here is the Timing in the Detail view (sorry, I can't change my company browser language to English): 这是详细信息视图中的时间(抱歉,我无法将公司的浏览器语言更改为英语): 有问题的请求的详细时间视图

What can it be? 它能是什么? How do I debug it? 我该如何调试? With this problem, it is very hard to execute automated web tests. 有了这个问题,执行自动化Web测试非常困难。

I've had the same problem as well. 我也有同样的问题。 It happens only when the HTTPS site is being accessed on a machine without internet access and only using IE. 只有在没有Internet访问且仅使用IE的计算机上访问HTTPS站点时才会发生这种情况。

A workaround that i've applied on LAN would be to update IE settings as described below: 我在局域网上应用的解决方法是更新IE设置,如下所述:

Go to IE Options, advanced tab then locate security category and uncheck “Check for publisher's certificate revocation” and “Check for server certificate revocation”. 转到IE选项,高级选项卡,然后找到安全类别并取消选中“检查发布者的证书吊销”和“检查服务器证书吊销”。 IE设置

I've only found that workaround after seeing this post, so thanks for sharing :) 我看到这篇文章后才发现解决方法,谢谢分享:)

Since the problem happens only with HTTPS (right?) I guess that IE tries to check the revocation status of the site on the first visit. 由于问题只发生在HTTPS(对吗?),我猜IE试图在第一次访问时检查网站的撤销状态。 It probably caches the result, but only for the current browser session. 它可能会缓存结果,但仅适用于当前的浏览器会话。 There might be problems to reach the server responsible for the revocation (see OCSP/CRL settings inside the certificate) and thus the connection might time out. 到达负责撤销的服务器可能会出现问题(请参阅证书中的OCSP / CRL设置),因此连接可能会超时。 Chrome does not check revocation in most cases and Firefox might use a shorter timeout and ignore failures. 在大多数情况下,Chrome不会检查吊销,Firefox可能会使用较短的超时并忽略失败。 You should see the attempts to get OCSP/CRL if you do a packet capture. 如果进行数据包捕获,您应该会看到尝试获取OCSP / CRL。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM