Chrome network error · -100 · Connection

ERR_CONNECTION_CLOSED

The connection was closed by the other side in the normal way (a TCP FIN) before Chrome got a complete answer. The server, or something in front of it, hung up.

Chromium's description

A connection was closed (corresponding to a TCP FIN).

Chrome shows it as net::ERR_CONNECTION_CLOSED, error -100. puppeteer and Playwright report the same name when a page fails to load in Chromium.

Common causes

  • The server process closed the connection without answering, for example after an error.
  • A firewall, proxy or VPN closed the connection.
  • Network problems on the way.
  • A security service in front of the site refuses the client and closes the connection.

How to fix ERR_CONNECTION_CLOSED

  1. Reload the page.
  2. Turn off VPN and proxy, and try another network.
  3. Reset the network settings (Windows: netsh winsock reset) and restart.
  4. Site owners: check server and proxy logs for errors or idle timeouts at the time.

ERR_CONNECTION_CLOSED in the screenshot API

When the page itself fails to load with ERR_CONNECTION_CLOSED, the API answers 502 with the message The target website could not be loaded (ERR_CONNECTION_CLOSED). (target_unreachable). Not billed.

Only the page's own load can fail a render. An image, script or frame of the page that fails with a network error does not: the page is captured as the browser shows it without that resource.

Check whether a website loads

Rendered in a real browser with cookie banners hidden. Takes 5–30 seconds.

Frequently asked questions

What does ERR_CONNECTION_CLOSED mean?

The connection was closed by the other side in the normal way (a TCP FIN) before Chrome got a complete answer. The server, or something in front of it, hung up.

How do I fix ERR_CONNECTION_CLOSED?

Reload the page.

Is a screenshot that fails with ERR_CONNECTION_CLOSED billed?

No. Requests the screenshot API answers with an error are not billed.

Other common errors

All 249 Chrome network errors · Screenshot API errors

Screenshot API

Take screenshots from your code

screenshotbase renders any website in a real browser and returns the image: full page or viewport, any device size, retina, from 100+ countries, with cookie banners and ads hidden.

/v1/take documentation Screenshot API All documentation

300 free screenshots every month. No credit card required.

GET https://api.screenshotbase.com/v1/take?url=https://example.com&full_page=true

# Response: the image (PNG, JPG, WebP or GIF)
curl -G "https://api.screenshotbase.com/v1/take" \
  --data-urlencode "url=https://example.com" \
  -d viewport_width=1280 -d viewport_height=800 \
  -d format=png \
  -H "apikey: YOUR-API-KEY" \
  -o screenshot.png

More free tools

Start using our Screenshot API for free today!

Get 300 requests / month for free