Getting 'err_no_supported_proxies' with Puppeteer and socks5h Proxy – Any Fixes or Workarounds?

16 Replies, 967 Views

Hey there! I ran into the same `err_no_supported_proxies` issue a while back. After some digging, I found that puppeteer’s proxy support is limited, especially for socks5h.

I ended up switching to a headless browser setup with Playwright instead. It has better proxy support out of the box, including socks5h. If you’re open to trying a different tool, it might be worth a shot.

Here’s a quick example:
```javascript
const { chromium } = require('playwright');

(async () => {
const browser = await chromium.launch({
proxy: { server: 'socks5h://your-proxy-ip:port' }
});
const page = await browser.newPage();
await page.goto('https://example.com');
await browser.close();
})();
```
Hope this helps!

Messages In This Thread



Users browsing this thread: 1 Guest(s)