chaitin / rad

1.42k stars 121 forks source link

运行rad报错 #48

Open thum123 opened 2 years ago

thum123 commented 2 years ago

chrome-linux版本为79 [ERRO] 2021-10-28 15:05:48 [rad:radium.go:209] [launcher] Failed to get the debug url: [1028/150547.437603:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

[launcher] Failed to get the debug url: [1028/150547.437603:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

Jarcis-cy commented 2 years ago

解决了:

修改如下文件
vim /usr/bin/google-chrome
将 exec -a "$0" "$HERE/chrome" "$@"  改为
exec -a "$0" "$HERE/chrome" "$@" --user-data-dir --no-sandbox
Zer028 commented 2 years ago

不知道为哈 我用这个还是报错

michaellcader commented 1 year ago

windows10 chrome110.0.5481.178 版本 >.\rad_windows_amd64.exe -t https://www.xxx.com -wait-login -http-proxy 127.0.0.1:8080 无法启动,错误:

[ERRO] 2023-03-03 17:15:47 [rad:radium.go:209] [launcher] Failed to get the debug url: [launcher] Failed to get the debug url:

GGyao commented 2 months ago

已解决 是因为 chrom 无头浏览器升级导致的问题 https://developer.chrome.com/docs/chromium/new-headless?hl=zh-cn

解决方法,使用老版本的 chrom wget https://www.slimjet.com/chrome/download-chrome.php\?file\=files%2F104.0.5112.102%2Fgoogle-chrome-stable_current_amd64.deb sudo dpkg -i download-chrome.php\?file=files%2F104.0.5112.102%2Fgoogle-chrome-stable_current_amd64.deb download-chrome.php\?file=files%2F104.0.5112.102%2Fgoogle-chrome-stable_current_amd64.deb 再修改下沙箱那个东西就可以了 exec -a "$0" "$HERE/chrome" "$@" --user-data-dir --no-sandbox

image