
Fix Outlook 504 Gateway Timeout by Clearing Cache
If you're seeing a "504 Gateway Timeout" error in Outlook—especially when connecting to Exchange ...

If you're seeing a "504 Gateway Timeout" error in Outlook—especially when connecting to Exchange ...

You click a file in File Explorer expecting it to download from OneDrive, but nothing happens—or ...

You run a PowerShell script that calls a web API, and after a while you get a 504 Gateway...

You open Windows Security, trigger an update, and the progress bar sits at 0% for minutes or hour...

You open Windows Security, click to update virus definitions, and after a long pause see "Connect...

If you're seeing a 502 Bad Gateway error when running curl commands in PowerShell, it usually mea...