specific-silverS
Apify & Crawlee3y ago
5 replies
specific-silver

Error net::ERR_NO_SUPPORTED_PROXIES

Hi, I'm trying to use your proxy but getting error net::ERR_NO_SUPPORTED_PROXIES.

I've followed your blog post (article no. 1). https://blog.apify.com/4-ways-to-authenticate-a-proxy-in-puppeteer-with-headless-chrome-in-2022/

import puppeteer from "puppeteer";

const proxy = (() => {
        const credentials = {
            username: "groups-RESIDENTIAL",
            password: "###",
        };
    
        return {
            ...credentials,
            url: `http://${credentials.username}:${credentials.password}@proxy.apify.com:8000`,
        };
    })();

    const browser = await puppeteer.launch({
        args: [`--proxy-server=${proxy.url}`],
    });

    const page = await browser.newPage();

    await page.authenticate({
        username: proxy.username,
        password: proxy.password
    });


Thank you for your help.
Apify
Authenticate your proxy in Puppeteer with Headless Chrome.
4 ways to authenticate a proxy in Puppeteer in 2022
Was this page helpful?