Skip to content

Failing to load extensions on Linux #4

@bazmattaz

Description

@bazmattaz

Hi there. I want to setup Zendriver with proxies. I created a folder called extensions where I store a manifest.json and background.js which contain information of the proxy server I want to use. I then pass the following browser argument in the main script when starting the browser;

f"--load-extension={extension_path}"

This works locally on my Mac and uses the proxies perfectly but when deployed in Docker on Ubuntu Server 22.04 I keep getting this vague error. Passing no_sandbox=True doesn't do anything.

app-1  |                 ---------------------
app-1  |                 Failed to connect to browser
app-1  |                 ---------------------
app-1  |                 One of the causes could be when you are running as root.
app-1  |                 In that case you need to pass no_sandbox=True

My script works fine without the browser argument, it's then I can use proxies.

Do you have any idea how to fix or debug this? Thanks in advance 🙏🏻

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions