There is nothing more frustrating than needing to open an important document right away and getting slapped with a blank screen or a cryptic connection error. You’ll usually run into this roadblock while trying to load a file in Google Drive, firing up an add-on, or clicking into a link someone just shared with you.
Take a breath, though: your files haven’t disappeared into thin air. In almost every case, this isn't a Google server outage at all, but simply your browser tripping over confusing permission settings or getting tangled up between multiple logged-in accounts.
You can sort this out pretty quickly using the walkthrough below, starting with a quick band-aid and moving toward the permanent fixes.
Try Incognito Mode First: If you’re in a rush and just need your file open this second without fiddling with your main setup, pop open a New Incognito Window (hit Ctrl+Shift+N on Windows or Cmd+Shift+N on a Mac). Log into the Google account tied to that file.
If it opens right up, you know for sure the culprit is something cached in your main browser or an extension getting in the way. You can get your work done there for now, then handle the real fix once you have a free moment.

Why Does the “Refused to Connect” Error Even Happen?
Knowing what’s going on behind the scenes makes it way easier to keep it from happening again. Google relies on strict security protocols like X-Frame-Options to keep unauthorized eyes off your data. Whenever you stay logged into several Google accounts at the same time in one browser, Drive often loses track of which account actually holds permission to view the file or execute a background script.
When that mix-up happens, your browser plays it safe and cuts the connection entirely to safeguard your account. It also flares up if your browser is actively blocking third-party cookies, which Drive depends on to confirm who you are across separate tabs and embedded tools.
Method 1: Sign Out of Multiple Accounts (The Real Fix)
By far, the number one reason you see this error is an account collision. If you keep your personal Gmail, your work profile, and maybe a side gig or school account all signed into the same window, Chrome or your browser of choice can easily get confused about which identity needs to approve the script or document.
Head over to Google.com or open up your current Gmail tab.
Click your profile avatar up in the top right-hand corner.
Go ahead and pick Sign out of all accounts.
Completely exit out of your browser, then open it back up fresh.
Sign back into only the single account that actually has access to that specific document.
Open up the link or file again.
Doing this forces your browser to wipe the stale session tokens and grab clean ones, which almost always clears the blockage immediately.
Method 2: Allow Third-Party Cookies
A lot of people skip past this, but it’s a super common piece of the puzzle. Google Drive and many of its workspace extensions actually run inside a frame within your browser window. If your browser security is dialed up to automatically reject third-party cookies across the board, Drive can't talk to Google's servers to verify your identity.
Here is how to get that squared away in Chrome:
Paste this straight into your address bar and hit enter:
chrome://settings/cookiesScroll down until you see the Third-party cookies section.
Toggle on Allow third-party cookies, or at least tweak your settings so they don’t block background Google tools.
If you'd rather not open things up everywhere, just add
[*.]google.comto your list of allowed sites.
Once you’ve saved that change, give your Google Docs tab a quick refresh.
Method 3: Clear Out Browser Cache and Cookies
If your account logins and permissions look totally fine but the page still refuses to load, your browser might just be clinging to old, corrupted website data. Wiping that slate clean forces it to fetch a brand-new, working version of the page straight from Google.
Press Ctrl + Shift + Delete (if you’re on Windows) or Cmd + Shift + Delete (if you’re on a Mac).
Switch the Time range drop-down menu over to All time.
Make sure you check the boxes next to both Cookies and other site data and Cached images and files.
Hit the Clear data button.
Just a heads-up before you do this: clearing everything will log you out of pretty much every website you use, so make sure you have your passwords handy.
Method 4: Turn Off Interfering Extensions
Browser extensions are great, but tools like ad blockers, hardened privacy shields, and even certain dark-mode plugins can be a bit overzealous and kill essential scripts that Google Docs needs to run properly.
Click the little puzzle piece icon near your address bar, or just navigate to
chrome://extensions.Switch off your extensions one at a time.
Refresh your document tab after flipping each one off.
As soon as the document pops open, you've pinned down the troublemaker. You can either leave it disabled for Google Drive specifically or just remove it altogether.
Method 5: Make Sure Your Browser Is Updated
If your browser hasn't been updated in a while, it might be missing newer security certificates or web standards that Google requires under the hood. While this doesn't happen every day, it's definitely worth checking off your troubleshooting list.
If you’re on Chrome, pop open Settings, click on About Chrome near the bottom of the left sidebar, and let it scan for pending updates. If it finds one, let it finish installing and click Relaunch.