page.goto() method generates `Error: net::ERR_CONNECTION_RESET` error
See original GitHub issueSteps to reproduce
My environment: (also, I got the same error on https://try-puppeteer.appspot.com/)
- Puppeteer version: v0.13.0
- Platform / OS version: MacOS Sierra 10.12.6
- URLs (if applicable): http://www.personalentwicklungsberatung.de/Arbeitszeugnis/Arbeitszeugnis_-_Bewertungen/arbeitszeugnis_-_bewertungen.html
Reproduce the problem:
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto('http://www.personalentwicklungsberatung.de/Arbeitszeugnis/Arbeitszeugnis_-_Bewertungen/arbeitszeugnis_-_bewertungen.html');
console.log(await page.content());
await page.screenshot({path: 'screenshot.png'});
await browser.close();
After running the code block above, I got Error: net::ERR_CONNECTION_RESET
error.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:8 (3 by maintainers)
Top Results From Across the Web
How to Fix the "ERR_CONNECTION_RESET" Error (5 Ways)
If you run into the “ERR_CONNECTION_RESET” error, it means that your browser can't establish a connection to the remote server. In most cases, ......
Read more >How to get around Error: net::ERR_CONNECTION in Puppeteer
You're using low-quality public proxies and it's only natural that they will generate network errors and/or be blocked by Google.
Read more >How to Fix the ERR_CONNECTION_RESET Error in 7 Ways
7 Methods to Fix the ERR_CONNECTION_RESET Error · 1. Check If the Website Is Working · 2. Disconnect from VPN · 3. Reboot...
Read more >Developers - page.goto() method generates `Error: net
page.goto() method generates `Error: net::ERR_CONNECTION_RESET` error ... (also, I got the same error on https://try-puppeteer.appspot.com/).
Read more >ERR_CONNECTION_RESET: How to fix the Chrome ... - IONOS
Connection errors such as the 101 error can often be fixed by rebooting the network device that connects you to the internet. Most...
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
I fixed this problem! I changed userAgent in the headers. By that, website server assumed it was a request from a browser and everything is OK!
That’s the website server rejecting chrome headless as a client.