iustin24 / chameleon

372 stars 45 forks source link

Chrome launched, but didn't give us a WebSocket URL before we timed out #8

Open kleozzy opened 2 years ago

kleozzy commented 2 years ago

Running this on Ubuntu on WSL i get this error:

thread 'main' panicked at 'called Result::unwrap() on an Err value: Chrome launched, but didn't give us a WebSocket URL before we timed out', /cargo/git/checkouts/wappalyzer-e32a3fb79f4ccad3/2c102ca/src/lib.rs:98:10 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

iustin24 commented 2 years ago

Hi,

Can you try running this and launching chameleon again? sudo apt-get install libxss1

kleozzy commented 2 years ago

Same result.

iustin24 commented 2 years ago

That error usually means the chrome binary errors out. Can you try running the binary and check if there’s any errors? It should be installed under this directory:

~/.local/share/headless-chrome/

BugAnnihilator commented 2 years ago

Adding http:// or https:// at the beginning will solve the problem (like https://example.com).

presianbg commented 2 years ago

Hi,

same problem on Kali Linux. I have no ~/.local/share/headless-chrome/ and can't find a package which provides it. Any info in the README how to obtain the needed headless browser would be great.

Cheers! PY