Azure Front Door CDN issues

We have a meteor app deployed into a Kubernetes cluster, using nginx as an ingress controller, We want to add Azure Front Door as a CDN to speed up the loading times.

Without Front Door the app loads and works as expected. But when we add Front Door a few files load but the JS and CSS bundles hang for a few minutes and then Chrome print the error net::ERR_HTTP2_PROTOCOL_ERROR 200 in the dev console.

Front Door has Cache enabled and Compression disabled.

A coworker is able to load the whole app sometimes, but then the websocket connections fail.

Any suggestions?

I’m not familiar with Azure Front Door but I’ve done this in CloudFront without issues.

Have you reviewed this doc or this blog post?

Maybe there is something you are missing.