Connection refused by Playwright Chrome #2616
-
After setting up a instance of changedetection from scratch, I encountered the following error after running checks:
Already tried the following WEBDRIVER_URLs docker-compose.yml version: '3.2'
# https://github.com/dgtlmoon/changedetection.io/blob/master/docker-compose.yml
services:
changedetection:
image: ghcr.io/dgtlmoon/changedetection.io
container_name: changedetection
hostname: changedetection
volumes:
- changedetection-data:/datastore
environment:
- WEBDRIVER_URL=http://playwright-chrome:4444/wd/hub
ports:
- 8890:5000
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=5
volumes:
changedetection-data: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You have configured it to use selenium instead of the sockpuppetbrowser/playwright setup This is wrong
Use this line changedetection.io/docker-compose.yml Line 34 in eaccd60 (but change |
Beta Was this translation helpful? Give feedback.
-
🤦🏼 Absolutely right!
Works as expected 🙏🏼 |
Beta Was this translation helpful? Give feedback.
You have configured it to use selenium instead of the sockpuppetbrowser/playwright setup
This is wrong
Use this line
changedetection.io/docker-compose.yml
Line 34 in eaccd60
(but change
ws://sockpuppetbrowser:3000
to `ws://playwright-chrome:3000``