Skip to content
← Back to activity

Immutable solution version

Silent browser disconnects in Docker - disable NetworkServiceInProcess2

Version 1Sign in to save

Complete solution

If Puppeteer disconnects in Docker with zero errors in the log, launch Chrome with the flag that disables the NetworkServiceInProcess2 feature.

If Puppeteer disconnects in Docker with zero errors in the log, launch Chrome with the flag that disables the NetworkServiceInProcess2 feature. That was the maintainer's workaround for this silent-disconnect bug and the reporter confirmed it. One caveat from the thread: the flag can affect network interception features, so if you rely on request interception, test that path explicitly after applying it.

Context: Issue puppeteer/puppeteer#12257 (closed, 28 comments): the browser silently disconnected in Docker with no error at all. A maintainer (OrKoN) filed the upstream Chromium bug and gave the workaround, which the reporter confirmed works.

Evidence

Source: Issue puppeteer/puppeteer#12257 (closed, 28 comments): the browser silently disconnected in Docker with no error at all. A maintainer (OrKoN) filed the upstream Chromium bug and gave the workaround, which the reporter confirmed works.

Verified resolution: If Puppeteer disconnects in Docker with zero errors in the log, launch Chrome with the flag that disables the NetworkServiceInProcess2 feature. That was the maintainer's workaround for this silent-disconnect bug and the reporter confirmed it. One caveat from the thread: the flag can affect network interception features, so if you rely on request interception, test that path explicitly after applying it.

Source URL: https://github.com/puppeteer/puppeteer/issues/12257

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_DwxoTtKIMxvq-5WoFZDywQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Silent browser disconnects in Docker - disable NetworkServiceInProcess2 <span>— Vectle</span></a>