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

dbus errors when running chrome-headless-browser-stable (M2 Mac) #53

Open
efixler opened this issue Feb 26, 2024 · 1 comment
Open

dbus errors when running chrome-headless-browser-stable (M2 Mac) #53

efixler opened this issue Feb 26, 2024 · 1 comment

Comments

@efixler
Copy link

efixler commented Feb 26, 2024

Hi. First off, thank you for making this set of Docker images.

I'm running the Docker image on an M2 mac using the example command line from the README:

docker run --init -it --rm --name headless-chrome -p=127.0.0.1:9222:9222 --shm-size=1024m --cap-add=SYS_ADMIN yukinying/chrome-headless-browser-stable

I get the following errors (and some warnings, which I'm including mainly just to have the complete log trace)

[0226/162323.265879:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[0226/162323.265997:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[0226/162323.266971:INFO:policy_logger.cc(145)] :components/policy/core/common/config_dir_policy_loader.cc(118) Skipping mandatory platform policies because no policy file was found at: /etc/chromium/policies/managed
[0226/162323.266989:INFO:policy_logger.cc(145)] :components/policy/core/common/config_dir_policy_loader.cc(118) Skipping recommended platform policies because no policy file was found at: /etc/chromium/policies/recommended
[0226/162323.269185:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.

DevTools listening on ws://0.0.0.0:9222/devtools/browser/cdd4acfa-2450-4f08-8bab-3a2cc77195d8

Please advise, help is appreciated :) thank you!

@yukinying
Copy link
Owner

The error are not fatal and can be ignored.

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