I’m encountering challenges when configuring Puppeteer to work with an authenticated proxy. I’m using a proxy service provided by Crawlera that offers a host like newhost.example.com:8010 along with a basic auth username (with no password). This setup results in an error during navigation:
Error: net::ERR_PROXY_CONFIGURATION
at openTab (/home/dev/app/lib/PageModule.js:200:15)
at initializeView (mainController.js:27:7)
I solved a similar error by ensuring I passed the proxy settings directly when launching Puppeteer and then handling the authentication at the page level. When using a service that needs only a username, I still set a password value as an empty string in page.authenticate. It is important to ensure that the proxy server’s protocol is correctly specified (http:// or https://) and that all arguments match the proxy configuration. After revisiting my launch arguments and authentication method, the navigation error was resolved.