Getting 'puppeteer err_no_supported_proxies socks5h' Error – How to Fix or Work Around It?

14 Replies, 1018 Views

Ugh, the puppeteer err_no_supported_proxies 'socks5h' error is the worst. I had the same issue and switched to using `puppeteer-extra` with the `puppeteer-extra-plugin-proxy` plugin. It’s a bit more flexible and handles SOCKS5 proxies way better.

You can install it via npm:
```bash
npm install puppeteer-extra puppeteer-extra-plugin-proxy
```
Then configure it like this:
```javascript
const puppeteer = require('puppeteer-extra');
const ProxyPlugin = require('puppeteer-extra-plugin-proxy');
puppeteer.use(ProxyPlugin({ socks5: 'your-proxy-address:port' }));
```
Hope this saves you some time!

Messages In This Thread



Users browsing this thread: 1 Guest(s)