Getting ERR::HTTP2_PROTOCOL_ERROR on Azure CDN using React App
Hi,
I have a Next app hosted on an azure app service in Linux, using a container, and an Azure CDN in front of it.
In fact, I have 2, but the setup is the same. Intermittently, I receive an error when trying to load the next assets.
This only happens on the next assets, both js and css.
For 1 minute, the status of the assets is stuck in pending after which, we get a failed message and the assets are not loaded
This happens on two separate sites, and upon taking chrome logs, it says server reset connection.
Using the site from app service works perfectly every time.
We've only just now started putting a CDN in front of a react app, so unsure if that has any bearing on it, but all resources are prefixed with the custom domain assigned to the CDN, and we're going to be exposing the site to the public through the custom domain.
Is there something wrong that we are doing? I saw this:
But there is no solution? Is it not possible to use Azure CDN in this way? Should we use a different service?
Azure Front Door
Azure App Service
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more