Dear All,
i've followed standard guidelines but unfortunatelly it didn't work.
I was trying to find a solution on various forums, but none of them worked for me.
Finally with below configuration, i've found out, that most probably my setup is not working because selenium is not working properly.
when i'm accessing selenium:4444/wd/hub and try to create a session (which is the way that i think changedetection is using selenium) i'm getting the following error.
could you please advise me what else i can do?
ERROR:
Unable to create new session.
UnknownError: unknown error: Chrome failed to start: crashed.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'browser-chrome', ip: '172.18.0.7', os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.0-58-generic', java.version: '1.8.0_292'
Driver info: driver.version: unknown
CONFIGURATION in docker-compose. (those commented were options which i've tried to use, but without success. the headless option was even failing starting up the container).
browser-chrome:
hostname: browser-chrome
image: selenium/standalone-chrome-debug:latest
volumes:
- /home/Containers/Selenium/dev/shm:/dev/shm
privileged: true
shm_size: 2g
environment:
- VNC_NO_PASSWORD=1
ports:
- 4444:4444
- 7900:7900
restart: unless-stopped
# ulimits:
# core:
# soft: -1
# hard: -1
# cap_add:
# - SYS_ADMIN
# entrypoint:
# - chromedriver
# - "--headless"
# - "--no-sandbox"
# - "--log-path=/tmp/chromedriver.log"
# - "--verbose"
# - "--whitelisted-ips="