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.

Chunked transfer encoding

See original GitHub issue

Hi,

I use an express middleware that set to chunked the transfer-encoding headers

'transfer-encoding': 'chunked'

In that case, I get the following error :

The request could not be satisfied. CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.

To make my request works, in the forwardResponseToApiGateway function of the aws-serverless-express/index.js file I remove this header.

Do you think you could make chunked transfert encoding pass ?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8

github_iconTop GitHub Comments

3reactions
ckuijjercommented, Jan 27, 2017

@abhigna I think the transfer-encoding: chunked issue still exists. I’ve tried to use aws-serverless-express with graphql-server-express today and I run into the same issue as @denneulin

1reaction
brettstackcommented, Mar 18, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Chunked transfer encoding
Chunked transfer encoding is a streaming data transfer mechanism available in Hypertext Transfer Protocol (HTTP) version 1.1, defined in RFC 9112 §7.1.
Read more >
Transfer-Encoding - HTTP - MDN Web Docs
Chunked encoding is useful when larger amounts of data are sent to the client and the total size of the response may not...
Read more >
HTTP Chunked Encoding
Chunked encoding is useful when a large amount of data is being returned to the client and the total size of the response...
Read more >
What Is HTTP Chunked Encoding? How Is It Used?
HTTP Chunked Encoding involves dividing data into smaller blocks. Breaking up data into smaller pieces allows for near-instant load times.
Read more >
HTTP Chunking
HTTP 1.1 supports chunked encoding, which allows HTTP messages to be broken up into several parts. Chunking is most often used by the...
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