title: Getting "curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)"
body: <p>I have a Django app which returns a large JSON while calling an API.
  The problem is when I'm requesting the data, the data itself is truncated which is crashing the frontend.</p>
  <p>I'm using cloud front for DNS and SSL and other feature provided by them for caching and improved performance.</p>
  <p>I tried curling the API and got the following error from curl:</p>
  <blockquote>
  <p>curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err
  2)</p>
  </blockquote>
  <p>I tried disabling the Cloudflare but didn't work. On my localhost, however, everything works fine.</p>
  <blockquote>
  <p>HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)</p>
  <ul>
  <li>Closing connection 0</li>
  <li>TLSv1.2 (OUT), TLS alert, Client hello (1): curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)</li>
  </ul>
  </blockquote>
  <p>The JSON should be fetched entirely without getting chunked.</p>