question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

puppeteer stops working with some https URLs

See original GitHub issue
'use strict';

const puppeteer = require('puppeteer');

(async function main() {
  try {
    const browser = await puppeteer.launch({ headless: false });
    const [page] = await browser.pages();

    await page.goto('https://example.org/');
  } catch (err) {
    console.error(err);
  }
})();
Error: net::ERR_CONNECTION_CLOSED at https://example.org/
    at navigate (puppeteer\lib\FrameManager.js:101:37)
    at processTicksAndRejections (internal/process/next_tick.js:81:5)
  -- ASYNC --
    at Frame.<anonymous> (puppeteer\lib\helper.js:108:27)
    at Page.goto (puppeteer\lib\Page.js:662:49)
    at Page.<anonymous> (puppeteer\lib\helper.js:109:23)
    at main (test.js:12:16)
    at processTicksAndRejections (internal/process/next_tick.js:81:5)

Error page in the browser window: ERR_CONNECTION_CLOSED.

The same URLs in the desktop browser are OK. Other URLs (google, Github etc) in the puppeteer browser are also OK.

Can anybody reproduce?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

11reactions
avalarhcommented, Sep 26, 2020

The issue is present for me in the latest version

2reactions
aslushnikovcommented, Feb 5, 2019

@vsemozhetbyt thanks! Pushed v1.12.2 to address this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Image URL Is Not Opening with Puppeteer - node.js
My script works fine when given the initial page URL however after retrieving the desired image URL, it does not work. Here is...
Read more >
Puppeteer | Puppeteer
Create an automated testing environment using the latest JavaScript and browser features. Capture a timeline trace of your site to help diagnose performance ......
Read more >
Puppeteer documentation - DevDocs
Puppeteer is a Node library which provides a high-level API to control Chromium or Chrome over the DevTools Protocol. The Puppeteer API is...
Read more >
Web Scraping With a Headless Browser: Puppeteer - ScrapFly
Finally, we'll take a look at common issues and challenges and wrap ... tell it to go to some URL await page.goto('http://httpbin.org/html', ...
Read more >
Getting Started with Headless Chrome - Chrome Developers
https ://www.chromestatus.com # URL to open. ... In some cases, you may not need to programmatically script Headless Chrome.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found