title: In what cases does Google Cloud Run respond with "The request failed because the HTTP connection to the instance had an error."?
body: <p>We've been running Google Cloud Run for a little over a month now and noticed that we periodically have cloud run instances that simply fail with:</p>
  
  <blockquote>
    <p>The request failed because the HTTP connection to the instance had an error.</p>
  </blockquote>
  
  <p>This message is nearly always<code>*</code> proceeded by the following message (those are the only messages in the log):</p>
  
  <blockquote>
    <p>This request caused a new container instance to be started and may thus take longer and use more CPU than a typical request.</p>
  </blockquote>
  
  <p><code>*</code> I cannot find, nor recall, a case where that isn't true, but I have not done an exhaustive search.</p>
  
  <p>A few things that may be of importance:</p>
  
  <ul>
  <li>Our concurrency level is set to 1 because our requests can take up to the maximum amount of memory available, 2GB.</li>
  <li>We have received errors that we've exceeded the maximum memory, but we've dialed back our usage to obviate that issue.</li>
  <li>This message appears to occur shortly after 30 seconds (e.g., 32, 35) and our timeout is set to 75 seconds.</li>
  </ul>