Navigation failed because browser has disconnected

#1

Starting March 15th, our previously passing tests started failing with the message: “Navigation failed because browser has disconnected!”

These tests use the docker image circleci/node:11-browsers. We use the npm package puppeteer-core to run our browser tests. These tests are on a scheduled workflow that is triggered nightly.

I believe this may be related to this major change, since they both seem to have started at the same time.

1 Like
Upgrading the underlying operating system for the Docker executor
#2

Being investigated under Upgrading the underlying operating system for the Docker executor

#3

We have identified a possible cause of this issue. We won’t run any jobs on the upgraded OS before the fix is out. So your affected jobs should now work fine again.

We’ll update here once the fix is rolled out.

2 Likes
#4

Thanks @alexey

Not sure if this information is helpful, but our “nightly” jobs just ran again, and they failed in the same way.

#5

@katelynsills or @alexey we are still seeing this issue. Just started seeing it in a Docker build using circleci/node:8.12.0. This works locally when using docker-compose to run the same service.

#6

Hi @danasto, I haven’t checked recently, but the issue was continuing long enough that we moved from using puppeteer-core to puppeteer. Puppeteer installs chromium, so we didn’t have to rely on the installed browsers. Inefficient to say the least, but it worked for us.

#7

Thanks, unfortunately we already use Puppeteer but don’t use the version of Chromium in node_modules, we pre-download. The odd thing is we use circleci/node:8.12.0, and then run our builds inside a node alpine image. We should not be seeing a “container” run fine locally using docker-compose run and not run in Circle CI.