ERR_PROXY_CONNECTION_FAILED on Google Search
See original GitHub issueSteps to reproduce
- Puppeteer version: 1.15.0
- Platform / OS version: CentOS 7.6.1810
- URLs (if applicable): https://www.google.com/search?q=synology+rs819&source=lnms&tbm=isch&tbs=itp:photo
- Node.js version: v9.11.2
What steps will reproduce the problem?
Please include code that reproduces the issue.
const puppeteer = require('puppeteer');
const fs = require('fs');
(async () => {
const browser = await puppeteer.launch({ args: ['--no-sandbox', '--disable-setuid-sandbox', '--proxy-server=xx.xx.xx.xxx:3128'] });
const page = await browser.newPage();
await page.setUserAgent('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36');
await page.goto('https://www.google.com/search?q=synology+rs819&source=lnms&tbm=isch&tbs=itp:photo', {waitUntil: 'networkidle0', timeout: 60000});
const html = await page.content();
//save our html in a file
fs.writeFile('page.html', html, _ => console.log('HTML saved'));
await browser.close();
})();
What is the expected result? Regularly read/save the related HTML page.
What happens instead? ERR_PROXY_CONNECTION_FAILED
(node:9890) UnhandledPromiseRejectionWarning: Error: net::ERR_PROXY_CONNECTION_FAILED at https://www.google.com/search?q=synology+rs819&source=lnms&tbm=isch&tbs=itp:photo
at navigate (/home/myuser/public_html/tmp/pjs/node_modules/puppeteer/lib/FrameManager.js:121:37)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:182:7)
-- ASYNC --
at Frame.<anonymous> (/home/myuser/public_html/tmp/pjs/node_modules/puppeteer/lib/helper.js:110:27)
at Page.goto (/home/myuser/public_html/tmp/pjs/node_modules/puppeteer/lib/Page.js:629:49)
at Page.<anonymous> (/home/myuser/public_html/tmp/pjs/node_modules/puppeteer/lib/helper.js:111:23)
at /home/myuser/public_html/tmp/pjs/usermg.js:10:14
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:182:7)
(node:9890) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:9890) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6
Top Results From Across the Web
How To Fix: ERR_PROXY_CONNECTION_FAILED
This error means your browser is not able to connect to the internet because of the proxy connection. Either you have invalid proxy...
Read more >How to Fix ERR_PROXY_CONNECTION_FAILED Error?
Check Proxy Settings · Click Windows key, type Control Panel and click on the search results. · Select Network and Internet and go...
Read more >How to Fix ERR_PROXY_CONNECTION_FAILED? Try These ...
Way 1: Check Proxy Settings. Step 1: Type control panel in the Search bar and then click the best match one to open...
Read more >How to fix ERR_PROXY_CONNECTION_FAILED on Google ...
Go to the start menu and type command prompt or CMD; · Once it appears in the search results, right-click on it and...
Read more >Chrome Unable to Connect to Proxy Server ...
This error means that the proxy server is refusing the connections, And this could be caused because of the incorrect internet connection settings,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
in theory you are right, I changed my home proxy IP and it worked. The weird is in that case, all other web sites worked and that page didn’t work…I was thinking about a kind of cache? The issue was there…every time the web address was that I got the same error while I didn’t get it on other pages so, what’s the issue here?
https://streamable.com/m6bin
“ERR_PROXY_CONNECTION_FAILED” is a browser error which means that your proxy is dead or has limited bandwidth or is very far away from your location and takes too long to connect. nothing related to project…