Skip to content

Instantly share code, notes, and snippets.

@mgutz
Created January 30, 2021 05:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgutz/da51e2abc84f06efdf996228074aa360 to your computer and use it in GitHub Desktop.
Save mgutz/da51e2abc84f06efdf996228074aa360 to your computer and use it in GitHub Desktop.
ERR_INCOMPLETE_CHUNKED_ENCODING fix for envoy + next.js
# Using nextjs in development behind an envoy proxy? You will likely encounter `ERR_INCOMPLETE_CHUNKED_ENCODING`
# errors in the console. The firefox debugger goes bonkers and the panel doesn't render at all (Chrome browser works).
#
# HMR uses a streaming response and the envoy timeout must be disabled.
# add to .filter_chains[].filters[].typed_config.route_config.virtual_hosts[].routes[]
routes:
— match:
prefix: “/”
route:
cluster: client
timeout: 0s # <--------- Add this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment