Browsers on my iMac are taking several minutes to connect to https sites

Starting around 20 August 2023, browsers on iMac are taking several minutes to connect to https sites. Once connected, data transfer is normal. Happens with Safari, Chrome, and Firefox. Other devices using the same wifi in the same location do not have this problem, including iPad, iPhone, Android phone, two Linux machines. Changing dns setting did not help, using same dns as other devices. Restarting machine did not help.


[Re-Titled by Moderator]

iMac (2017 – 2020)

Posted on Aug 25, 2023 6:41 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 26, 2023 1:49 PM

Hi jec-acc,


You've done some great troubleshooting so far. We have another step which can help with this issue. What we want to do is try starting up in safe mode, as safe mode does some system checks, and can sometimes resolve issues. Use safe mode on your Mac - Apple Support

It may take longer to finish the start up, and you'll also see some differences in the display. This is expected with safe mode, and when you restart normally, they'll be gone.

Test, and then restart normally and test again.


If still having the issue, anything change around that August 20th date? Such as a VPN or security software added?


Let us know how safe mode goes, and the answers the last questions, if still an issue.


Take care!

Similar questions

12 replies
Question marked as Top-ranking reply

Aug 26, 2023 1:49 PM in response to jec-acc

Hi jec-acc,


You've done some great troubleshooting so far. We have another step which can help with this issue. What we want to do is try starting up in safe mode, as safe mode does some system checks, and can sometimes resolve issues. Use safe mode on your Mac - Apple Support

It may take longer to finish the start up, and you'll also see some differences in the display. This is expected with safe mode, and when you restart normally, they'll be gone.

Test, and then restart normally and test again.


If still having the issue, anything change around that August 20th date? Such as a VPN or security software added?


Let us know how safe mode goes, and the answers the last questions, if still an issue.


Take care!

Aug 26, 2023 2:25 PM in response to jec-acc

Please download and run EtreCheck and share the resulting report to the clipboard. Then open a new reply here, and press the Additional Text button (that looks like a printed page) to get a text input box big enough to paste the hardware and software configuration report here, and paste and post that report here.


An add-on first-few-hops VPN client package is a good potential culprit as was mentioned above. Other options for culprits can include add-on anti-malware packages, and add-on security apps. Hardware problems are also a possibility.


Firefox has its own certificate chain and its own certificate store and AFAIK its own SSL/TLS/HTTPS implementation and does not depend on (most of) macOS for that, which means this probably isn’t involving the local certificate store.


And DNS is typically not slow for just HTTPS.


Is the iMac connected to the internet via Wi-Fi, or wired Ethernet, or both?


If this is happening your own network, also check the Wi-Fi router firmware and update that to the most current, and restart that device. That’s probably not the issue here, but I’ve also seen (buggy, confused) Wi-Fi routers get recalcitrant with specific Wi-Fi clients.

Aug 26, 2023 8:00 PM in response to jec-acc

If the primary (1st) DNS server is malfunctioning (or having difficulties with just your Mac), then the Mac will wait for the DNS request to timeout before it will try the secondary DNS server.


Try using System Settings -> Network -> Click on you Network Interface (most likely WiFi or Ethernet) -> Details -> DNS (tab) -> [+] and add DNS server addresses.


Some suggestions for Experimentation:


1.1.1.1 (Cloud Flare)

8.8.8.8 (google)

208.67.222.222 (OpenDNS)


All of the above should have fast reliable DNS lookups.


You can always use the [-] button to remove the DNS servers after you have experimented with them.

Aug 26, 2023 2:15 PM in response to jec-acc

Although troubleshooting DNS is a great start, based on what you provided in your post, and your own findings, that is not the likely culprit here.


When you attempt to connect to a secured website, does your browser show, for example, a slash thru the address bar padlock? This could mean either the site you are accessing OR your Mac could be exhibiting mismatched or outdated security certificates/protocols.


With that said, here are some potential reasons:

  • As you are aware, https uses the TLS cryptographic protocol to make a secure connection. Could it be possible that the version of TLS is outdated on your Mac? Not likely, but maybe possible. I believe the current version is TLS 1.3.
  • Associated with these protocols are certificates. One or more of these may be missing or corrupted. AFAIK, these are typically updated when Apple releases a security update.


So what may be causing this delay. Trying to not go into too much boring mumbo-jumbo that following it the basic communication that goes on when you attempt to access a secured website:


At the beginning of the connection, a process called a handshake occurs. During this process, the your Mac authenticates the website's server’s TLS certificate and the two decide on a mutually supported cipher suite. Cipher suites are a collection of algorithms that all work together to securely encrypt your connection with that website. When that suite is negotiated, that’s when the version of the TLS protocol and the supporting algorithms are determined. The certificate just facilitates the process ... so you can see where this can go astray and take more time than necessary.

Aug 27, 2023 9:18 PM in response to jec-acc

jec-acc wrote:

I think I started in safe mode, it's not obvious that it's in safe mode. It's going to take some time to find the installation media; I don't recall seeing a dvd or other media containing Ventura. We must have updated online?


See the section entitled “Verify your Mac started up in safe mode“ to verify the Mac is booted into Safe Mode:

Start up your Mac in safe mode - Apple Support


Here is the Intel iMac Recovery usage: Use macOS Recovery on an Intel-based Mac - Apple Support


Sep 1, 2023 1:23 PM in response to mingoslkd

Safe mode had no impact. Installing a wifi range extender a couple feet from the iMac made no difference. But switching the wifi connection to a mobile phone hotspot fixes the problem. I have a Linux desktop connected to the router by ethernet, and a Linux laptop using wifi. Both work fine, including with the laptop sitting next to the iMac. Two mobile phones, an Android and an iPhone, both use wifi without problems. Still very poor performance on the iMac. The router is a year-old NetGear device, set up to use DHCP. I tried renewing the DHCP lease, no change.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Browsers on my iMac are taking several minutes to connect to https sites

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.