Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Stuck when I use --proxy-server option #337

Open
Evan-Baekdu opened this issue Jun 4, 2023 · 1 comment
Open

Stuck when I use --proxy-server option #337

Evan-Baekdu opened this issue Jun 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Evan-Baekdu
Copy link

Describe the bug
A clear and concise description of what the bug is.

How can I use proxy in this library??

I'm stuck when I use --proxy-server option like below

import * as dappeteer from "@chainsafe/dappeteer";

const main = async () => {
  const { browser } = await dappeteer.bootstrap({
    headless: false,
    puppeteerOptions: {
      args: ["--proxy-server=https://104.18.44.93:80"],
    },
  });

  const page = await browser.newPage();

  await page.goto("https://www.google.com/");

  const newVar = await browser.pages();
  await page.screenshot("screenshot.png");
};

main();

when I use --proxy-server option, It is stucked like below screenshot, and When I don't use, it is fine.
image

I don't know why this happen.

Any help??? or Any other developer use oxylabs proxy in dappeteer library??

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Logs

Some Logs from console

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

System:

  • OS: [e.g. iOS]
  • OS version [e.g. 22]
  • NodeJs version [e.g v15.8.0]
  • dappeteer version [e.g. 2.2.0]
  • testing framework [e.g jest]
  • testing framework version [e.g 26.0]
  • puppeteer version [e.g 15.0.0]
  • playwright version [e.g 1.29.2]

Additional context
Add any other context about the problem here.

@Evan-Baekdu Evan-Baekdu added the bug Something isn't working label Jun 4, 2023
@BeroBurny
Copy link
Contributor

Seems like is issue on your proxy server

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants