unexpected EOF, launch headless chromium with go
Closed this issue · 2 comments
PierreBrisorgueil commented
PierreBrisorgueil commented
okok after some comments on options and tried older than v1.0.0-50 (why ? newer than 50 chrome don't want to start) :
path += " --headless"
path += " --disable-gpu"
// path += " --window-size=1280x1696"
// path += " --disable-application-cache"
// path += " --disable-infobars"
path += " --no-sandbox"
// path += " --hide-scrollbars"
// path += " --enable-logging"
// path += " --log-level=0"
path += " --single-process"
//path += " --ignore-certificate-errors"
path += " --homedir=/tmp"
path += " --data-path=/tmp/data-path"
path += " --disk-cache-dir=/tmp/cache-dir"
path += " --remote-debugging-port=9222"
some informaion found on different tutorials was not revealing in this case. By sticking to the options suggest here this seems to get better.
I work on a second problem, I would share my code as soon as it is ok.
PierreBrisorgueil commented
no solution found, I switched to cloud run, with docker & live chrome installation on a container controlled and chosen