Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run a Google Chrome browser #41

Open
jcubic opened this issue Feb 20, 2025 · 3 comments
Open

How to run a Google Chrome browser #41

jcubic opened this issue Feb 20, 2025 · 3 comments

Comments

@jcubic
Copy link

jcubic commented Feb 20, 2025

I've tried to run Chrome browser but got an error:

$ httptap --head -- /usr/bin/google-chrome-stable
[783726:783726:0220/203820.487181:ERROR:zygote_host_impl_linux.cc(100)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
subprocess exited with code 1
@alexflint
Copy link
Member

If you happen to have the bandwidth for this, it would be very helpful if you could try this out on the branch from #32. I need to test that branch more before merging but you could try it like this:

git checkout match-original-uid
go build
./httptap --head -- /usr/bin/google-chrome-stable

The underlying issue here is that httptap creates a user namespace, and currently it runs the subprocess as the root user within that namespace. The branch above improves upon this.

@jcubic
Copy link
Author

jcubic commented Feb 22, 2025

I would add how to build from source to the README. Including git clone and info about installation of golang.

@jcubic
Copy link
Author

jcubic commented Feb 22, 2025

Got SSL/TLS about invalid cert errors even on new tab. You need to add CA cert to the repository and use that CA to sign the self signed cert that is used by the tool. Or instruction how to do this yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants