Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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. Usually more than 30 seconds. 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.

If after the first visit, I clear the cache and cookies, the next page load is quick. 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: Network view

The first connection is a HTTP connection that redirects to a HTTPS connection. 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.

Here is the Timing in the Detail view (sorry, I can't change my company browser language to English): Detail timing view of problematic request

What can it be? How do I debug it? With this problem, it is very hard to execute automated web tests.

like image 404
neves Avatar asked Jul 02 '15 16:07

neves


People also ask

How long does Internet Explorer 11 take to connect to https?

When using Internet Explorer 11 to connect to a HTTPS site of my company, the first connection is very, very slow. Usually more than 30 seconds. After this first connection, I can browse the site with no problem.

Why is Internet Explorer browsing so slow?

This article helps you resolve the problem where an issue causes Internet Explorer to browse more slowly than expected. Internet Explorer is configured to use a Proxy Auto Configuration (PAC) file or WPAD for proxy settings. The PAC file contains several calls to the isInNet () function, which resemble the following:

What is the loading time of SSL website?

The SSL websites are very slow in first view in our server . After the first page loaded, other pages very fast (in same website), but the 1st page loading time ca. 20 seconds. Same page with http:// loading time normally (1-2 sec.).

When will Internet Explorer 11 end support?

The Internet Explorer 11 desktop application will be retired and go out of support on June 15, 2022 (for a list of what's in scope, see the FAQ ). The same IE11 apps and sites you use today can open in Microsoft Edge with Internet Explorer mode. Learn more here.


2 Answers

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.

A workaround that i've applied on LAN would be to update IE settings as described below:

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 Settings

I've only found that workaround after seeing this post, so thanks for sharing :)

like image 59
Moe Avatar answered Nov 09 '22 05:11

Moe


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. 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. Chrome does not check revocation in most cases and Firefox might use a shorter timeout and ignore failures. You should see the attempts to get OCSP/CRL if you do a packet capture.

like image 40
Steffen Ullrich Avatar answered Nov 09 '22 05:11

Steffen Ullrich