{"id":361,"date":"2026-11-19T21:30:00","date_gmt":"2026-11-19T16:00:00","guid":{"rendered":"https:\/\/proxykite.com\/blog\/?p=361"},"modified":"2026-11-19T21:30:00","modified_gmt":"2026-11-19T16:00:00","slug":"puppeteer-proxy-authentication","status":"publish","type":"post","link":"https:\/\/proxykite.com\/blog\/puppeteer-proxy-authentication\/","title":{"rendered":"Puppeteer Proxy Authentication: HTTP and SOCKS5 Guide"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Puppeteer proxy authentication works reliably when you separate the proxy address from its credentials and answer the HTTP authentication challenge before navigation. This guide shows the working <code>page.authenticate()<\/code> pattern, explains why authenticated SOCKS5 proxies are different in Chrome, and gives you a repeatable way to rotate and verify the exit IP between browser runs.<\/p>\n\n\n\n<aside class=\"ap-card\" aria-label=\"ProxyKite per-dongle licence\">\n<span class=\"ap-card__badge\">Our pick<\/span>\n<div class=\"ap-card__body\"><p class=\"ap-card__name\">ProxyKite per-dongle licence<\/p><p class=\"ap-card__best\">Best for anyone turning their own 4G\/LTE dongles + SIMs into HTTP\/SOCKS5 mobile proxies, from 1 dongle to hundreds<\/p><ul class=\"ap-card__features\"><li>Every dongle becomes an HTTP + SOCKS5 proxy on a public port of our cloud router \u2014 no static IP or port forwarding, works behind CGNAT<\/li><li>IP rotation on demand, by rotation link, or on a timer from 60 s to 7 days (sticky option); returns old + new IP<\/li><li>One-line installer on a Raspberry Pi \/ Linux box; Huawei E3372 HiLink is the reference stick<\/li><li>SIM inbox for carrier messages, bandwidth limits per day\/week\/month, live traffic insights<\/li><li>Sub-users, white-label (your logo\/colours), REST API, webhooks and Telegram alerts included<\/li><li>Flat price, traffic is free \u2014 rides on your own SIM data plans<\/li><\/ul><\/div>\n<div class=\"ap-card__side\"><p class=\"ap-card__price\">$9 per dongle <small>per month<\/small><\/p><a class=\"ap-card__btn\" href=\"https:\/\/proxykite.com\/#pricing\">Talk to us \u2192<\/a><\/div>\n<\/aside>\n\n\n\n<h2 class=\"wp-block-heading\">What you need<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You need a Node.js project with Puppeteer installed, an HTTP or SOCKS5 proxy host and port, and the credentials supplied by your proxy service. Keep the credentials in environment variables or a secret manager. Do not commit them to source control or print the complete proxy URL in logs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For a mobile-proxy setup, the proxy endpoint should already be attached to a 4G\/LTE dongle and its SIM. ProxyKite provides HTTP and SOCKS5 access for your own dongles, with cloud routing so the machine running Puppeteer does not need a static public IP or port forwarding. Its <a href=\"https:\/\/proxykite.com\/docs\/guide\/authentication\">authentication guide<\/a> explains the available username\/password and IP-allowlist approaches.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the host, port, username and password are unfamiliar, first read <a href=\"https:\/\/proxykite.com\/blog\/proxy-format-explained\/\">proxy format explained<\/a>. Those four fields are enough for the examples below.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create a small project if you need a clean test:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir puppeteer-proxy-test\ncd puppeteer-proxy-test\nnpm init -y\nnpm install puppeteer<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Set values for one proxy. Use the actual host and port from your proxy dashboard; the placeholders below are deliberately not real credentials.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>export PROXY_HOST=\"proxy.example.com\"\nexport PROXY_PORT=\"8080\"\nexport PROXY_USER=\"proxy-user\"\nexport PROXY_PASSWORD=\"replace-this-secret\"<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Put the proxy in <code>--proxy-server<\/code><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: Chrome needs the proxy route at browser launch, but it does not use credentials embedded in the launch setting.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pass only the scheme, host and port to Puppeteer. For an HTTP proxy, <code>http:\/\/<\/code> is explicit and easy to recognise when troubleshooting.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import puppeteer from 'puppeteer';\n\nconst proxyServer = `http:\/\/${process.env.PROXY_HOST}:${process.env.PROXY_PORT}`;\n\nconst browser = await puppeteer.launch({\n  headless: true,\n  args: [`--proxy-server=${proxyServer}`],\n});<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Do not turn that into this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>args: ['--proxy-server=http:\/\/proxy-user:replace-this-secret@proxy.example.com:8080']<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Chrome&#8217;s manual proxy settings do not use credentials embedded in the proxy setting. The browser&#8217;s <a href=\"https:\/\/chromium.googlesource.com\/chromium\/src\/+\/HEAD\/net\/docs\/proxy.md\" target=\"_blank\" rel=\"noopener\">proxy documentation<\/a> says proxy authentication follows the ordinary credential flow instead. Puppeteer therefore needs <code>page.authenticate()<\/code> after the page exists.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Success at this stage means Chromium launches without a proxy syntax error. It does not yet prove that the proxy credentials work; that happens after authentication and navigation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Authenticate an HTTP proxy with <code>page.authenticate()<\/code><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: <code>page.authenticate()<\/code> supplies credentials when the page receives an HTTP authentication challenge, including the challenge from an HTTP proxy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create the page, authenticate it, and only then navigate. The order matters.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import puppeteer from 'puppeteer';\n\nconst browser = await puppeteer.launch({\n  headless: true,\n  args: [\n    `--proxy-server=http:\/\/${process.env.PROXY_HOST}:${process.env.PROXY_PORT}`,\n  ],\n});\n\ntry {\n  const page = await browser.newPage();\n\n  await page.authenticate({\n    username: process.env.PROXY_USER,\n    password: process.env.PROXY_PASSWORD,\n  });\n\n  const response = await page.goto('https:\/\/example.com', {\n    waitUntil: 'domcontentloaded',\n    timeout: 30_000,\n  });\n\n  if (!response) {\n    throw new Error('Navigation returned no response');\n  }\n\n  console.log('status:', response.status());\n  console.log('title:', await page.title());\n} finally {\n  await browser.close();\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pptr.dev\/api\/puppeteer.page.authenticate\" target=\"_blank\" rel=\"noopener\">Puppeteer&#8217;s <code>page.authenticate()<\/code> reference<\/a> documents it as the method for HTTP authentication and notes that it enables request interception behind the scenes. That can affect performance, so use it where you need authenticated HTTP access and avoid enabling extra interception handlers unless your application needs them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Success looks like a normal HTTP response and page title. A proxy credential failure usually appears as an authentication error, a proxy connection error, or a page that never gets past the proxy challenge. Check the host, port, username and password separately before changing the browser flags.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your application opens several pages, authenticate each page before its first navigation. A simple rule is to wrap page creation so an unauthenticated page cannot accidentally make a request:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>async function newAuthenticatedPage(browser) {\n  const page = await browser.newPage();\n  await page.authenticate({\n    username: process.env.PROXY_USER,\n    password: process.env.PROXY_PASSWORD,\n  });\n  return page;\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Handle SOCKS5 authentication correctly<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: SOCKS5 credentials are negotiated in the SOCKS protocol, but Chrome&#8217;s SOCKS5 proxy implementation does not support proxy authentication methods.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is the common trap. Changing the scheme from <code>http:\/\/<\/code> to <code>socks5:\/\/<\/code> does not make the HTTP authentication call work:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>const browser = await puppeteer.launch({\n  headless: true,\n  args: ['--proxy-server=socks5:\/\/proxy.example.com:1080'],\n});\n\nconst page = await browser.newPage();\nawait page.authenticate({\n  username: process.env.PROXY_USER,\n  password: process.env.PROXY_PASSWORD,\n});<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>page.authenticate()<\/code> is for HTTP authentication, not a SOCKS5 username\/password handshake. Chromium&#8217;s current network-stack documentation explicitly says that no authentication methods are supported for SOCKS5 in Chrome. The result can be <code>ERR_SOCKS_CONNECTION_FAILED<\/code> even when the credentials are correct for another client.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You have three practical choices:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n\n<li>Use the proxy&#8217;s HTTP endpoint and the <code>page.authenticate()<\/code> pattern in Step 2. This is the simplest option for Puppeteer.<\/li>\n\n\n<li>Use a SOCKS5 endpoint protected by IP allowlisting, if your proxy service supports it. Chrome then connects without a SOCKS5 password, while the service restricts access to the allowlisted machine.<\/li>\n\n\n<li>Put a local adapter between Chrome and the upstream authenticated SOCKS5 service. The adapter handles the upstream SOCKS5 credentials and exposes a loopback endpoint that Chrome can use without SOCKS5 credentials. Bind that local listener to <code>127.0.0.1<\/code>, restrict its access, and treat it as a separate process to monitor.<\/li>\n\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">For a ProxyKite endpoint, HTTP is usually the cleanest Puppeteer choice because the service also supports HTTP access and either username\/password or IP-whitelist authentication. If your application specifically needs SOCKS5, configure the compatible authentication mode before testing the browser.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For an unauthenticated SOCKS5 endpoint, Chrome&#8217;s launch setting is simply:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>args: [\n  '--proxy-server=socks5:\/\/127.0.0.1:1080',\n  '--host-resolver-rules=MAP * ~NOTFOUND, EXCLUDE 127.0.0.1',\n]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The resolver rule is useful when you want hostname resolution to happen through SOCKS5 rather than through the local network. Test it with an endpoint you control, because Chrome has other components that can issue DNS requests outside ordinary URL loading.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Use one browser per proxy<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: <code>--proxy-server<\/code> is a browser launch setting, not a page-level setting, so separate browser processes make proxy assignment and session boundaries predictable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use a function that launches, authenticates, does the work, and closes one browser. Do not try to change <code>--proxy-server<\/code> after launch or assume that creating a second page changes the browser&#8217;s route.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import puppeteer from 'puppeteer';\n\nasync function runThroughHttpProxy(url) {\n  const browser = await puppeteer.launch({\n    headless: true,\n    args: [\n      `--proxy-server=http:\/\/${process.env.PROXY_HOST}:${process.env.PROXY_PORT}`,\n    ],\n  });\n\n  try {\n    const page = await browser.newPage();\n    await page.authenticate({\n      username: process.env.PROXY_USER,\n      password: process.env.PROXY_PASSWORD,\n    });\n    await page.goto(url, { waitUntil: 'networkidle2', timeout: 30_000 });\n    return await page.title();\n  } finally {\n    await browser.close();\n  }\n}\n\nconsole.log(await runThroughHttpProxy('https:\/\/example.com'));<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For concurrent work, launch one browser per proxy assignment and keep each browser&#8217;s cookies, local storage and credentials separate. This makes it easier to tell whether a failure belongs to the target page, the proxy route or the browser session. It also prevents a later task from inheriting state that an earlier task left behind.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Rotate the mobile IP between runs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: rotating between complete browser runs gives the next run a fresh route while keeping each run&#8217;s proxy and session state easy to audit.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A rotation link is an action, not a new proxy host. Call the link assigned to the dongle, wait until the route is ready, then create a new browser. Read ProxyKite&#8217;s <a href=\"https:\/\/proxykite.com\/docs\/guide\/rotation-links\">rotation-link documentation<\/a> and <a href=\"https:\/\/proxykite.com\/docs\/api\/rotation\">rotation API reference<\/a> for the exact link or API operation available to your account.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following pattern keeps the link in an environment variable and does not invent an endpoint path:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>async function rotateMobileIp() {\n  const response = await fetch(process.env.ROTATION_URL);\n  if (!response.ok) {\n    throw new Error(`Rotation request failed: ${response.status}`);\n  }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Use it between two calls to <code>runThroughHttpProxy()<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>const firstIp = await readExitIp();\n\nawait rotateMobileIp();\n\nlet secondIp;\nfor (let attempt = 0; attempt &lt; 10; attempt += 1) {\n  secondIp = await readExitIp();\n  if (secondIp !== firstIp) break;\n  await new Promise(resolve =&gt; setTimeout(resolve, 1_000));\n}\n\nconsole.log({ firstIp, secondIp });<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Do not reuse the same browser if your goal is a clean run. Close it, invoke the rotation action, verify the new route, and launch again. If the IP has not changed after the polling window, record that result and investigate the rotation response rather than silently assuming the route changed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6: Verify the exit IP<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Why: a page loading successfully proves that navigation worked; it does not prove that traffic left through the intended mobile route.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Check the public IP through the same authenticated page. Replace the example IP service with an endpoint you operate if the data is sensitive or if you need a durable audit trail.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>async function readExitIp() {\n  const browser = await puppeteer.launch({\n    headless: true,\n    args: [\n      `--proxy-server=http:\/\/${process.env.PROXY_HOST}:${process.env.PROXY_PORT}`,\n    ],\n  });\n\n  try {\n    const page = await browser.newPage();\n    await page.authenticate({\n      username: process.env.PROXY_USER,\n      password: process.env.PROXY_PASSWORD,\n    });\n\n    const response = await page.goto('https:\/\/api.ipify.org?format=json', {\n      waitUntil: 'domcontentloaded',\n      timeout: 30_000,\n    });\n\n    if (!response) throw new Error('IP check returned no response');\n    const body = await response.json();\n    if (!body.ip) throw new Error('IP check did not return an address');\n    return body.ip;\n  } finally {\n    await browser.close();\n  }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Run the check at least once before rotation and once after it. Log the selected proxy identifier, response status, timestamp and observed exit IP, but redact the username and password. For a broader check, compare the result with the IP shown by the dongle&#8217;s carrier connection and confirm that the request is not bypassing the proxy because of a bypass list or a second proxy configuration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The guide <a href=\"https:\/\/proxykite.com\/blog\/how-4g-ip-rotation-works\/\">how 4G IP rotation works<\/a> covers the network side of this process. Puppeteer only controls the browser route; the carrier and dongle determine whether a rotation action produces a different public address.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting Puppeteer proxy authentication<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><code>ERR_NO_SUPPORTED_PROXIES<\/code> or immediate launch failure<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Check the scheme and formatting first. Use <code>http:\/\/host:port<\/code> for an HTTP proxy and <code>socks5:\/\/host:port<\/code> for an unauthenticated SOCKS5 route. Do not include <code>user:password@<\/code> in <code>--proxy-server<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The page asks for credentials or returns a 407 response<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm that <code>page.authenticate()<\/code> runs before <code>page.goto()<\/code>, that the credentials are strings, and that the page is using the same browser launched with the proxy flag. A 407 is an HTTP proxy authentication response, so verify the HTTP endpoint rather than switching to SOCKS5 as a guess.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">HTTP works but SOCKS5 fails<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">That difference is expected when the SOCKS5 service requires credentials. Test the SOCKS5 host and port with a client that supports SOCKS5 authentication, or choose the HTTP endpoint for Puppeteer. Chrome&#8217;s SOCKS5 path does not accept the username\/password supplied to <code>page.authenticate()<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The check shows the local IP<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Inspect the effective launch arguments, remove an unintended <code>--proxy-bypass-list<\/code>, and ensure the page was not created in a different browser. Also check the IP-check URL outside Puppeteer so you know the service is returning the address you expect.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Rotation returns success but the IP is unchanged<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Treat the rotation response and the observed exit IP as separate checks. Confirm that the rotation link belongs to the right dongle, poll for the new result, and make sure an existing browser was closed before the next run. If the route remains the same, retain the old IP in your logs and follow the account&#8217;s rotation documentation instead of guessing at a delay.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">FAQ<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Can Puppeteer use a proxy username and password?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, for an HTTP proxy, launch Chrome with the proxy host and port and then call <code>page.authenticate({ username, password })<\/code> before navigation. Credentials embedded in <code>--proxy-server<\/code> are not the reliable configuration path for Chrome.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Does <code>page.authenticate()<\/code> work with a SOCKS5 proxy?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. Puppeteer&#8217;s method is for HTTP authentication, while Chrome does not support SOCKS5 proxy authentication methods in its network stack. Use an HTTP endpoint, IP allowlisting, or a local adapter that handles the upstream SOCKS5 login.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Should I launch a new browser for every proxy?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, when the proxy is selected with <code>--proxy-server<\/code>. The setting applies to the browser process, so one browser per proxy keeps routing, cookies and authentication state clear.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I rotate a proxy IP in Puppeteer?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Call the rotation link or API for the assigned mobile route, close the current browser, then launch a new browser through the same proxy endpoint. Verify the public exit IP before starting the next workload; see the <a href=\"https:\/\/proxykite.com\/docs\/api\/rotation\">ProxyKite rotation API<\/a> for the account-specific operation.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is the simplest authenticated setup for a 4G proxy farm?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use an HTTP endpoint with <code>--proxy-server<\/code> and <code>page.authenticate()<\/code>, and keep one browser process per dongle or proxy assignment. ProxyKite&#8217;s per-dongle licence is $9 per dongle per month, with traffic using your own SIM data plan and no per-GB charge; <a href=\"https:\/\/proxykite.com\/contact\">contact ProxyKite<\/a> if you need help planning a larger fleet.<\/p>\n\n\n\n<aside class=\"ap-cta\" aria-label=\"Put Puppeteer on a real 4G route\"><div class=\"ap-cta__content\"><p class=\"ap-cta__eyebrow\">Build with your dongles<\/p><p class=\"ap-cta__title\">Put Puppeteer on a real 4G route<\/p><p class=\"ap-cta__text\">Get HTTP and SOCKS5 proxy access, rotation controls and routing for the dongles you own.<\/p><\/div><a class=\"ap-cta__btn\" href=\"https:\/\/proxykite.com\/contact\">Contact us<\/a><\/aside>\n\n\n\n<script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"Can Puppeteer use a proxy username and password?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes, for an HTTP proxy, launch Chrome with the proxy host and port and then call page.authenticate({ username, password }) before navigation. Credentials embedded in --proxy-server are not the reliable configuration path for Chrome.\"}}, {\"@type\": \"Question\", \"name\": \"Does `page.authenticate()` work with a SOCKS5 proxy?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"No. Puppeteer's method is for HTTP authentication, while Chrome does not support SOCKS5 proxy authentication methods in its network stack. Use an HTTP endpoint, IP allowlisting, or a local adapter that handles the upstream SOCKS5 login.\"}}, {\"@type\": \"Question\", \"name\": \"Should I launch a new browser for every proxy?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes, when the proxy is selected with --proxy-server. The setting applies to the browser process, so one browser per proxy keeps routing, cookies and authentication state clear.\"}}, {\"@type\": \"Question\", \"name\": \"How do I rotate a proxy IP in Puppeteer?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Call the rotation link or API for the assigned mobile route, close the current browser, then launch a new browser through the same proxy endpoint. Verify the public exit IP before starting the next workload; see the ProxyKite rotation API for the account-specific operation.\"}}, {\"@type\": \"Question\", \"name\": \"What is the simplest authenticated setup for a 4G proxy farm?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Use an HTTP endpoint with --proxy-server and page.authenticate(), and keep one browser process per dongle or proxy assignment. ProxyKite's per-dongle licence is $9 per dongle per month, with traffic using your own SIM data plan and no per-GB charge; contact ProxyKite if you need help planning a larger fleet.\"}}]}<\/script>\n\n","protected":false},"excerpt":{"rendered":"Learn Puppeteer proxy authentication with working HTTP code, the SOCKS5 credential limitation, IP rotation between runs, and exit-IP checks.","protected":false},"author":1,"featured_media":363,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"csco_singular_sidebar":"","csco_page_header_type":"","csco_page_load_nextpost":"","footnotes":""},"categories":[5],"tags":[84,30,82,251,83],"class_list":["post-361","post","type-post","status-publish","format-standard","has-post-thumbnail","category-use-cases","tag-http-proxy","tag-ip-rotation","tag-proxy-authentication","tag-puppeteer","tag-socks5-proxy","cs-entry"],"_links":{"self":[{"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/posts\/361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/comments?post=361"}],"version-history":[{"count":1,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/posts\/361\/revisions"}],"predecessor-version":[{"id":644,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/posts\/361\/revisions\/644"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/media\/363"}],"wp:attachment":[{"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/media?parent=361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/categories?post=361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/proxykite.com\/blog\/wp-json\/wp\/v2\/tags?post=361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}