Created
January 30, 2021 05:42
-
-
Save mgutz/da51e2abc84f06efdf996228074aa360 to your computer and use it in GitHub Desktop.
ERR_INCOMPLETE_CHUNKED_ENCODING fix for envoy + next.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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