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

[Bug]: Incognito Proxy doesn't work #7873

Closed
UchihaYuki opened this issue Dec 24, 2021 · 5 comments
Closed

[Bug]: Incognito Proxy doesn't work #7873

UchihaYuki opened this issue Dec 24, 2021 · 5 comments

Comments

@UchihaYuki
Copy link

Bug description

The following work:

const browser = await puppeteer.launch({
    headless: false,
    defaultViewport: null,
    args: ["--proxy-server=http://localhost:8001"],
    userDataDir: "user-data-dirs/rotate-proxy",
  });

But the following doesn't work

const browser = await puppeteer.launch({
    headless: false,
    defaultViewport: null,
    // args: ["--proxy-server=http://localhost:8001"],
    userDataDir: "user-data-dirs/rotate-proxy",
  });
  const context = await browser.createIncognitoBrowserContext({
    proxyServer: "http://localhost:8001",
  });
  const page = await context.newPage();

The traffic doesn't go out through the proxy.

Puppeteer version

13.0.0

Node.js version

v16.13.1

npm version

8.1.2

What operating system are you seeing the problem on?

Windows

Relevant log output

No response

@iJoris
Copy link

iJoris commented Feb 24, 2022

Having the same problem, seems to be going wrong after 10.2

@stale
Copy link

stale bot commented Jun 23, 2022

We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days.

@stale stale bot added the unconfirmed label Jun 23, 2022
@118set
Copy link

118set commented Jul 19, 2022

Not working for me either on 15.4.0

@stale stale bot removed the unconfirmed label Jul 19, 2022
@stale
Copy link

stale bot commented Sep 17, 2022

We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days.

@stale stale bot added the unconfirmed label Sep 17, 2022
@OrKoN
Copy link
Collaborator

OrKoN commented Sep 20, 2022

Unfortunately, this does not work on Windows due to a bug in Chromium. We already have an issue tracking this: #8820 so closing this one in favour of the confirmed issue.

@OrKoN OrKoN closed this as not planned Won't fix, can't repro, duplicate, stale Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants