CA
foreign-sapphire
ERR_TUNNEL_CONNECTION_FAILED when running puppeteer with proxy chain package
I running this code on Linux VPS:
But getting this error:
Error: net::ERR_TUNNEL_CONNECTION_FAILED at https://www.google.com/
2 Replies
foreign-sapphireOP•3y ago
I also tried with fingerprint packages as well:
but still getting same error:
Error: net::ERR_TUNNEL_CONNECTION_FAILED at https://google.com
not sure if apify proxy servers are not working or I am missing anything in code? Any suggestions?
I changed apify proxy server to different proxy server and I was able to execute above code. Looks like there is some issue with Apify proxy
One follow up question if we are using residential proxies or proxy server with dynamic IPs do we still need to use createTunnnel() closeTunnel() from proxychain package?foreign-sapphire•3y ago
Just use PuppeteerCrawler with apify proxy - https://github.com/apify/actor-templates/blob/master/templates/project_puppeteer_crawler_js/src/main.js
GitHub
actor-templates/main.js at master · apify/actor-templates
This project is the :house: home of Apify actor template projects to help users quickly get started. - actor-templates/main.js at master · apify/actor-templates