Hey! I had the same issue with puppeteer proxyserver socks5h. The key is to ensure your proxy supports DNS resolution over socks5h. If it doesn’t, you’ll run into issues.
For auth, I used the `proxy-chain` library. It’s super flexible and works well with puppeteer proxyserver socks5h. Here’s a snippet:
```javascript
const ProxyChain = require('proxy-chain');
const proxyUrl = 'socks5h://user:pass@proxyIP:port';
const newProxyUrl = await ProxyChain.anonymizeProxy(proxyUrl);
```
This handles auth and makes it easier to manage. Good luck!
For auth, I used the `proxy-chain` library. It’s super flexible and works well with puppeteer proxyserver socks5h. Here’s a snippet:
```javascript
const ProxyChain = require('proxy-chain');
const proxyUrl = 'socks5h://user:pass@proxyIP:port';
const newProxyUrl = await ProxyChain.anonymizeProxy(proxyUrl);
```
This handles auth and makes it easier to manage. Good luck!
