Getting 'err_no_supported_proxies' in Puppeteer with SOCKS5h – Any Fixes? or Puppeteer 'err_no_suppor

14 Replies, 1277 Views

Ugh, puppeteer and socks5h proxies can be such a pain.

One workaround: Use `proxy-chain` npm package to convert your SOCKS5h to HTTP. Puppeteer handles HTTP proxies way better.

Just wrap your proxy URL like this:
```
const proxyChain = require('proxy-chain');
const newProxyUrl = await proxyChain.anonymizeProxy('socks5h://user:pass@ip:port');
```
Then pass `newProxyUrl` to puppeteer. Works like a charm for me.

Messages In This Thread



Users browsing this thread: 1 Guest(s)