title: Puppetter times out when opening a URL
body: <p><strong>Background</strong></p>
  
  <p>I am running Puppeteer in an application locally that works fine. When I move it to a production debian server, it times out at the </p>
  
  <p><code>page.goto(url)</code> function.</p>
  
  <p><strong>Example</strong></p>
  
  <p>I have tried a bunch of different suggestions online. In the example below you will see a few options I have tried that were suggested on line. I have tried these all alone and in different combinations with each other. Yes I am that desperate at this point.  </p>
  
  <pre><code>const browser = await puppeteer.launch({
        args: [
          '--no-sandbox',
          '--disable-setuid-sandbox',
          '--ignore-certificate-errors',
          '--ignore-certificate-errors-spki-list',
          '--user-data-dir']});
      const page = await browser.newPage();
      await page.goto(
        `https://example.com/${template}?data=${JSON.stringify(req.body)}`, {waitUntil: 'networkidle0'}
      );
  </code></pre>
  
  <p>page.goto(url) works locally, but fails when running on server. </p>
  
  <p><strong>Question</strong></p>
  
  <p>Why is <code>page.goto()</code> failing on the server and is there any work around? </p>