When proxy auto-configuration scripts break page loading
A blank browser tab usually gets blamed on the website that failed to appear. Sometimes that blame lands correctly, but many loading failures come from an invisible layer between the device and the public internet: an automatic proxy configuration script. This small text file, usually called a PAC file, is fetched quietly before anything else happens and tells the machine which proxy should carry the request.
When that file cannot be found, cannot be parsed, or points at a server that no longer answers, the browser waits, retries and gives up while the page sits half-rendered. Nothing announces a misconfiguration, so the tab simply spins and returns a generic message such as "This site can't be reached". The same symptom appears for an offline site, a blocked domain and a broken script, which is why people refresh or blame their provider rather than look closer.
Where the automatic script comes from
Proxy settings reach a device through several routes. The browser's auto-detect option, enabled by default in Chrome, Edge, Firefox and Safari, asks DNS for a host named wpad, then a wpad entry for the local domain, and may read a DHCP option carrying a proxy address. Others arrive as a URL typed into the operating system panel, a policy pushed through Intune or a Chrome enterprise profile, or a gateway address guessed from the default web port.
In Australia those routes matter most in managed environments. A school in Newcastle, a council office in Cairns or an accounting practice in Geelong may sit behind a Fortinet or Palo Alto gateway that publishes a PAC file for staff and students. The file is a few lines of JavaScript returning DIRECT for internal addresses and a proxy on port 3128 for everything else.
Consumer routers from Netgear or TP-Link rarely publish one, which is why the trouble concentrates on work laptops, school-issued laptops and phones joining a workplace network. Devices can also carry competing layers, such as an operating system script plus a browser extension, and two conflicting rules can produce a proxy that points nowhere.
How a stalled script becomes a loading problem
A normal request resolves the hostname of the PAC file, downloads it over HTTP, evaluates the rules, opens a connection to the selected proxy and completes the TLS handshake with the destination. Each stage can stall. Browsers often wait 30 to 60 seconds before abandoning a proxy handshake, and a single page can trigger several checks at once, so one missing script stretches a one-second load into a minute of waiting.
The failures are mundane rather than exotic. The script URL returns a 404 after a network migration, or it needs credentials nobody configured. The named proxy no longer resolves because a server was decommissioned. A captive portal intercepts the download and returns an HTML sign-in page where a script was expected, so the browser discards it and stalls.
Symptoms follow the pattern. Some visitors see ERR_PROXY_CONNECTION_FAILED or an empty response error. Others get text with no styling, or images that never arrive, because the HTML was proxied while supporting files were rejected. Video calls and dashboards often fail first since they open several long-lived connections, and that mix of success and failure points to a proxy rather than a downed website.
Australian network conditions that amplify delays
Australian broadband varies more than the marketing suggests. On the NBN, some addresses have fibre to the premises, others have fibre to the node with copper for the final stretch, and regional premises are often served by fixed wireless or satellite. Fixed wireless around Bendigo, Toowoomba or Mackay carries higher latency than metro fibre, so a PAC file hosted on a company server takes seconds to retrieve.
The provider mix matters too. Telstra, Optus, TPG, Vodafone, iiNet and Aussie Broadband hand out most home connections, with specialists such as Australian Broadband serving regional towns. Some modems enable auto-detection and advertise a proxy through DHCP even when no usable proxy exists. A phone tethered to an Optus or Telstra 5G plan passes through carrier-grade NAT, so a script naming an internal DNS host can never resolve.
Everyday habits add friction. A café in Melbourne or a pub in Sydney with a captive portal demands a sign-in before any address resolves, and hotel and airport Wi-Fi behaves the same way. Capped mobile plans make people reluctant to keep retrying, while households that moved to Starlink in an outback property can lose a long-lived proxy session when the satellite handoff changes the route.
Finding the script on your own device
The settings sit closer than most people expect. On Windows, open Settings, then Network and Internet, then Proxy, and read the "Use setup script" box; running the winhttp proxy command in a Command Prompt reveals the system-wide setting, and Chrome's internal net-internals proxy page shows the effective list. On a Mac or iPhone, check System Settings, then Network, then Proxies, where the automatic proxy configuration URL appears.
When a PAC file is active, the diagnostics page lists it as PROXY_CONFIG and displays the exact address being fetched. Running a HEAD request against that script address is a fast test: a 404, a redirect to a login page or a timeout identifies which end is broken. Disabling the script briefly and reloading is a useful comparison.
A word of caution before changing managed settings. A corporate proxy records the addresses and timings of traffic passing through it, and the Privacy Act 1988 and the Australian Privacy Principles bind the organisation operating it. Workplaces that run proxies for compliance reasons, including financial institutions meeting AUSTRAC obligations, will treat their removal as a security incident.
Stale DNS entries and the cached resolver
A PAC file is fetched by name, so the answer to where the proxy lives gets cached by the operating system, the browser and often the router. When a provider changes, a modem is swapped or a phone moves between home and cellular networks, the cached address may point at a retired gateway. Everything worked yesterday, nothing works today, and no visible setting has moved.
That is why clearing the DNS cache can solve loading problems, because a stale answer keeps the browser talking to an address that has gone. On Windows, the flushdns command in an elevated Command Prompt clears the resolver table, and Chrome offers a Clear host cache button in its net-internals DNS page. A Mac needs the dscacheutil flush utility, and on iOS or Android toggling aeroplane mode forces a fresh lookup.
Flushing only helps when resolution is wrong, not when the script itself is missing. If the PAC file returns a 404 or names a proxy that no longer exists, no cache clearing will restore the page, and the fix belongs to whoever operates the network. Testing a second site on the same connection remains the quickest way to separate the two situations.
Schools, workplaces and public Wi-Fi
Australian schools filter the web heavily, with state systems in New South Wales, Victoria and Queensland running Fortinet, Smoothwall and Stormshield products behind a PAC file. Students taking a personal laptop home hit a wall: the script points at a proxy host on the school's internal domain, unreachable from home broadband without a school VPN, and the family concludes the internet has broken.
The legal framework explains the tightness. The Telecommunications Act 1997 sets obligations on carriage service providers and gives the Australian Communications and Media Authority standing to act on availability complaints, while the Telecommunications (Interception and Access) Act 1979 governs lawful access to traffic data. Commonwealth agencies follow the Australian Signals Directorate's Essential Eight and the Information Security Manual, which favour managed proxies and logging.
Public venues produce a variant of the same fault. In a hotel lobby, an airport lounge or a council library, the portal intercepts the request for the PAC file and returns a sign-in page the browser cannot read as script. Completing the sign-in in a separate tab and reloading usually clears it. On untrusted networks, switching off automatic proxy detection stops a stray gateway advertisement hijacking traffic.
Loading failures look alike whether they begin in the browser, on the network edge or at the hosting end of the connection. Working through the causes in order, retrying, checking the connection, trying another device or network, and clearing the resolver, resolves most of them, and a plain summary of the usual suspects, from network interruptions and filtering through caching and domain or hosting issues, sits in the site's loading notes.
If a page you rely on is still missing, reload it once, open it on a second device and try it on mobile data away from the Wi-Fi that usually carries it. Note the exact error text and the time it happened, because that detail is what an administrator needs when the fault sits with a DNS record, a hosting account or a proxy that has been switched off.