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

Recent versions of chromium do not support --remote-debugging-address #327

Open
MaeIsBad opened this issue Aug 27, 2024 · 1 comment
Open

Comments

@MaeIsBad
Copy link
Contributor

Recent chrome versions only listen on 127.0.0.1(https://issues.chromium.org/issues/41487252)

In order to access chrome from another machine you need to proxy your traffic through something like socat.

For container use cases you need to ensure you're running in the same namespace, so using the same k8s pod, or by using the network_mode option in docker-compose

version: "3"

services:
  chromic_pdf:
    build:
      context: .
    depends_on:
      - browser
  browser:
   network_mode: "service:chromic_pdf"
   image: chrome

In order to avoid running into cyclic dependency issues you might want to use a pause container to create a network namespace, replicating how k8s pods work

@maltoe
Copy link
Collaborator

maltoe commented Sep 2, 2024

@MaeIsBad thank you for the info! Any chance you can add this as another callout or section in the docs here?

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