JS build file error ERR_HTTP2_PROTOCOL_ERROR

Hello, I have a Vue js application that’s hosted on GCP and served through CloudFlare.

I notice a strange issue where the build.js file of VueJS seems to be truncated before it’s fully downloaded. The console says net::ERR_HTTP2_PROTOCOL_ERROR 200

When I disabled HTTP/2 support in the Network tab, the error becomes net::ERR_INCOMPLETE_CHUNKED_ENCODING

This only happens from certain locations that I tested using VPN.

Upon inspecting the header, I found there’s only a difference in cf-ray ID.

Has anyone faced a similar issue? I know it might be not CF issue, but the website is served okay on several countries, so I’m guessing this is CF issue.

Thanks for any help!

When this happens it typically is because of broken headers from the server-side. The chunked encoding message already seems to indicate what the issue is and you need to investigate and fix this on your server.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.