dgtlmoon/changedetection.io

Watch Checks run into error Timeout "BrowserType.connect_over_cdp: Timeout 60000ms exceeded. Call log: <ws connecting> ws://playwright-chrome:3000/ "

Closed this issue · 0 comments

Describe the bug
When i reboot my host system, and then my docker compose for changedetection starts up, some checks are stuck in a specific error:

"Exception: BrowserType.connect_over_cdp: Timeout 60000ms exceeded. Call log: ws://playwright-chrome:3000/ "

image

If i have lets say 10 Checks, it is a random amount always after reboot. It can be 3, 5 or even 9 out of 10 being in the error above

Version
v0.47.06

How did you install?
docker compose:

version: '3.2'

services:
  changedetection:
    image: ghcr.io/dgtlmoon/changedetection.io:dev
    container_name: changedetection
    hostname: changedetection
    volumes:
      - ChangeDetection:/datastore
    ports:
      - "5000:5000"
    environment:
      - LOGGER_LEVEL=TRACE
      - PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000
      - BASE_URL=https://change.furrkan.de
    restart: unless-stopped
    depends_on:
      playwright-chrome:
        condition: service_started

  playwright-chrome:
    hostname: playwright-chrome
    image: dgtlmoon/sockpuppetbrowser:latest
    cap_add:
      - SYS_ADMIN
    restart: unless-stopped
    environment:
      - SCREEN_WIDTH=1920
      - SCREEN_HEIGHT=1024
      - SCREEN_DEPTH=16
      - MAX_CONCURRENT_CHROME_PROCESSES=10

volumes:
  ChangeDetection:
    external: true

To Reproduce

I dont think this is the case for everybody, it may be something with my host system. But like i said, if i reboot my host, and then the docker container start, it is in the error. If i manully restart the docker containers AFTER they were running already after reboot, then the error dont come back anymore.

Expected behavior
Checks should not run into error, even if i reboot my host. Im doing this same procedure for months where i reboot the host weekly and i had never the issue.

Desktop (please complete the following information):

  • OS: Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-49-generic x86_64)
  • Browser Playwright-Chrome (see Docker Compose)

Additional context
I can provide any logs if told wherre to get them.

Thanks!