Safari and Notification Center Temporarily Disconnect Internet

Discussion in 'macOS' started by Fidget324, Jul 12, 2017.

  1. Fidget324 macrumors newbie

    May 28, 2011

    Whenever I enter a search query or URL in Safari, my computer completely disconnects from the internet for 5-15 seconds. I also notice this behavior whenever I open the Notification panel, and it tries to refresh weather, stocks, etc. The wifi stays on and appears to remain connected, but all of my other open applications simultaneously lose their internet connection. For example, here's what happens when I ping in the background, and then open the Notification Center panel:

    64 bytes from icmp_seq=38 ttl=55 time=36.503 ms
    64 bytes from icmp_seq=39 ttl=55 time=35.648 ms
    64 bytes from icmp_seq=40 ttl=55 time=40.192 ms
    64 bytes from icmp_seq=41 ttl=55 time=36.268 ms
    64 bytes from icmp_seq=42 ttl=55 time=35.133 ms <- Open Notification Center here
    Request timeout for icmp_seq 43 <- Lose connection
    Request timeout for icmp_seq 44
    Request timeout for icmp_seq 45
    Request timeout for icmp_seq 46
    Request timeout for icmp_seq 47
    Request timeout for icmp_seq 48
    Request timeout for icmp_seq 49
    64 bytes from icmp_seq=45 ttl=55 time=5618.431 ms <- Connection resumes here
    64 bytes from icmp_seq=50 ttl=55 time=600.286 ms
    64 bytes from icmp_seq=52 ttl=55 time=660.670 ms
    64 bytes from icmp_seq=53 ttl=55 time=342.075 ms
    64 bytes from icmp_seq=54 ttl=55 time=34.993 ms

    This issue does not occur when I enter a query in Chrome or Firefox, and it does not occur when I use some other system applications, like iTunes. I've been experiencing this issue since El Capitan, and I have tried all of the solutions here without any luck. Rebooting my machine temporarily solves the problem, but then it always returns after several hours.

    I'm currently using MacOS Sierra 10.12.5.
  2. neeklamy macrumors newbie

    Jul 6, 2012
    You didn’t mention, did you look through the comments to that OS X Daily article? Kevin suggests disabling AirDrop, he links to this article, Disabling AirDrop from the command line.

    And in the comments to the AirDrop article, Lucky suggests you don’t need to log out to effect the change, just relaunch Finder (do a killall Finder in the Terminal, or ⌥-right-click the Finder Dock icon to reveal the Relaunch command, or even ⌥⌘⎋ to open the Force Quit Applications window).

    Failing that, is there any relevant output in the Console (found in /Applications/Utilities)? If there is some interesting looking Console ouptput, just one tip for pasting it in here, place it inside a couple of code blocks: [CODE] your console output here [/CODE]

    Or using the Insert ▸ Code menu:

  3. Fidget324 thread starter macrumors newbie

    May 28, 2011
  4. neeklamy macrumors newbie

    Jul 6, 2012
    There’s a few other discussions that seem to touch upon the problem you’re experiencing with your Mac, but there’s a lot of noise too so I won’t link to any of them. But here are some things you can try.

    In Safari, Disable Accelerated Compositing

    This could be a problem between Safari and the drivers for your computer’s GPU, temporarily disabling the GPU in Safari would isolate this.

    First you will need to enable the Debug menu in Safari:
    1. Launch Terminal
    2. Enter the following: defaults write IncludeInternalDebugMenu 1
    3. Relaunch Safari

    Now you can disable accelerated drawing. In Safari, go to Debug ▸ Drawing/Compositing Flags and toggle on both Disable Accelerated Compositing and Disable Full Page Accelerated Drawing.

    Log in as a Guest User

    If you’ve disabled guest users (a good security practice to harden your OS, do it afterwards if you haven’t), then temporarily re-enable it in System Preferences ▸ Users & Groups.

    Log in to a guest account, can you reproduce the problem?

    Use EtreCheck to diagnose any issues

    EtreCheck is a free diagnostic application that will check a number of things, highlighting any potential problems. The EtreCheck website.

    Boot your Mac in Safe Mode

    Safe Mode will launch a minimal OS, with many drivers left unloaded. You may not even have Wi-Fi drivers loaded, if your Mac has an ethernet, time to plug it in. Check out Apple’s article Use safe mode to isolate issues with your Mac.

    Near an Apple Store?

    Failing all of that, if there’s one near you, it might be worth taking your Mac into your nearest Apple Store.

Share This Page