ISP proxies with puppeteer - config is melting my brain

ISP proxies with puppeteer - config is melting my brain

Instant

New member
so i'm trying to run puppeteer headless for some social scraping (no specifics but you know). using ISP proxies cause they're supposed to be that sweet middle ground between datacenter speed and residential trust. but my setup just keeps failing. afaik i've got the proxy string right (user:pass@host:port) but it either timeouts or throws a weird 'ERRTUNNELCONNECTION_FAILED'. tbh i think it's the proxy provider's authentication method maybe not matching puppeteer's default? anyone who actually has a working snippet for this? like not theory, actual code that runs. please.
 
ngl did a buddy of mine spend ages banging his head trying to get ISP proxies working with puppeteer, only to realize they had some weird custom auth method. kinda like you're saying, the default settings just didn't match. once he changed the auth method or used a different approach, everything clicked.
 
Did he try switching to a different auth method like setting up a custom proxy auth header? ymmv but sometimes ISP proxies need a special header or a token, not just username and pass.
 
Honestly, sometimes ISP proxies are just a pain in the ass cuz of weird auth quirks. Try injecting a custom proxy auth header directly in puppeteer, like setting 'Proxy-Authorization' to 'Basic ' + Buffer
 
if your proxies need a custom auth header, try setting the 'Proxy-Authorization' header manually in puppeteer instead of relying on the default auth params, that might solve the 'ERRTUNNELCONNECTION_FAILED' issue.
 
been doing this 3 years and yeah, injecting the 'Proxy-Authorization' header manually can be a lifesaver when default auth stuff fails. just add it in the request interception phase before you goto the page, like: await page.setRequestInterception(true);
page.on('request', req => { req.continue({ headers: {.req.headers(), 'Proxy-Authorization': 'Basic ' + Buffer.from('user:pass').toString('base64') } });
});
that way puppeteer sends the right auth header even if the proxy provider uses some funky method.
 
ngl yeah, that's what most ppl do but tbh, sometimes even that don't cut it with ISP proxies. try using a proxy rotator service like Luminati or Smartproxy, they handle all the auth mess for ya and keep the IPs rotating smooth. saves a ton of headaches when proxies are flaky or auth methods are weird
 
just my 2 cents: try setting the proxy auth in puppeteer like this - use page.authenticate() with your user pass after creating the page but before goto. sometimes the proxy auth headers don't stick when you rely on the proxy string alone.
 
honestly i think that's exactly the issue fr. proxy string auth can be flaky, gotta manually set page.authenticate or tweak headers. otherwise you just keep chasing ghosts
 
careful with just page.authenticate tho, some proxies require header auth too. better to test both if one doesn't work. sometimes proxy providers got weird auth methods you gotta tweak.
 
Why does it feel like ISP proxy configs are secretly designed to destroy brain cells? Been there, lmao. Maybe just take a breather, or you're gonna need a PhD in proxy tech just to run a simple script.
 
different angle: maybe it's not just the config but the lack of clear docs or examples. I saw a study where 70% of issues with ISP proxies come from misconfig, not the tech itself. so maybe spend some time breaking it down step by step instead of trying to brute-force it all lol
 
spot on, ISP proxies with puppeteer do make your brain want to melt. just a heads up, maybe fix that typo in "config is melting my brain" - should be "config IS melting my brain" or "config is
 
Last month I spent hours fighting with ISP proxies and puppeteer, same brain melting vibes. And hey, that typo in your post, should be "config is melting my brain" not "config is melting my brain" lol. Anyway, maybe check your docs again, sometimes it's just a
 
bruh I swear I spent way more time on ISP proxies with puppeteer than I shoulda. but honestly, once you get the right setup it's kinda smooth, at least for me. the brain melting part? just part of the process lol.
 
ngl haha I feel you, I once spent an entire weekend messing with ISP proxies and puppeteer and I swear I aged a year that weekend. It's like every little config tweak feels like rocket science until you finally stumble on the right combo. But once it clicks, it's kinda satisfying, even if your brain's still melting a bit.
 
different angle: I think the real pain is the inconsistent ISP proxy quality, not just the config. spent days tweaking puppeteer only to realize the proxies keep dropping. once I switched providers, everything got way easier, even if configs are still annoying.
 
yep, totally feel that. I swear I spent more hours tinkering with proxies than actually running my scripts. finally got a decent setup and now it's just a grind of tweaking, never ends lol.
 
Back
Top